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 : 3306396 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 (2708878) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2708878) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21760969 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2708878'] with mtr_portfolio_ids : ['21760969'] and first list_photo_ids : [] new path : /proc/3306396/ Name: python3 Umask: 0002 State: R (running) Tgid: 3306396 Ngid: 0 Pid: 3306396 PPid: 3306395 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3306396 NSpid: 3306396 NSpgid: 3304009 NSsid: 3304009 VmPeak: 1106928 kB VmSize: 1106928 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97660 kB VmRSS: 97660 kB RssAnon: 59800 kB RssFile: 37860 kB RssShmem: 0 kB VmData: 865676 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: 54 nonvoluntary_ctxt_switches: 100 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3306396', 'Ngid': '0', 'Pid': '3306396', 'PPid': '3306395', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3306396', 'NSpid': '3306396', 'NSpgid': '3304009', 'NSsid': '3304009', 'VmPeak': '1106928 kB', 'VmSize': '1106928 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97660 kB', 'VmRSS': '97660 kB', 'RssAnon': '59800 kB', 'RssFile': '37860 kB', 'RssShmem': '0 kB', 'VmData': '865676 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': '54', 'nonvoluntary_ctxt_switches': '100'} ('datou_batch_current', '3306396', '1106928', '0', '1106928', '865676', '97660', b'', 'marlene', '2708878') 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 (21760969) 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 (2708878 ) ) 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 (21760969) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1347460824, 'portfolio_id': 21760969}, {'photo_id': 1347460686, 'portfolio_id': 21760969}, {'photo_id': 1347460682, 'portfolio_id': 21760969}, {'photo_id': 1347460678, 'portfolio_id': 21760969}, {'photo_id': 1347460676, 'portfolio_id': 21760969}, {'photo_id': 1347460673, 'portfolio_id': 21760969}, {'photo_id': 1347460652, 'portfolio_id': 21760969}, {'photo_id': 1347460645, 'portfolio_id': 21760969}, {'photo_id': 1347460640, 'portfolio_id': 21760969}, {'photo_id': 1347460632, 'portfolio_id': 21760969}, {'photo_id': 1347460631, 'portfolio_id': 21760969}, {'photo_id': 1347460629, 'portfolio_id': 21760969}, {'photo_id': 1347460591, 'portfolio_id': 21760969}, {'photo_id': 1347460588, 'portfolio_id': 21760969}, {'photo_id': 1347460584, 'portfolio_id': 21760969}, {'photo_id': 1347460581, 'portfolio_id': 21760969}, {'photo_id': 1347460579, 'portfolio_id': 21760969}, {'photo_id': 1347460547, 'portfolio_id': 21760969}, {'photo_id': 1347460544, 'portfolio_id': 21760969}, {'photo_id': 1347460541, 'portfolio_id': 21760969}, {'photo_id': 1347460513, 'portfolio_id': 21760969}, {'photo_id': 1347460510, 'portfolio_id': 21760969}, {'photo_id': 1347460507, 'portfolio_id': 21760969}, {'photo_id': 1347460506, 'portfolio_id': 21760969}, {'photo_id': 1347460504, 'portfolio_id': 21760969}, {'photo_id': 1347460472, 'portfolio_id': 21760969}, {'photo_id': 1347460468, 'portfolio_id': 21760969}, {'photo_id': 1347460465, 'portfolio_id': 21760969}, {'photo_id': 1347460461, 'portfolio_id': 21760969}, {'photo_id': 1347460432, 'portfolio_id': 21760969}, {'photo_id': 1347460429, 'portfolio_id': 21760969}, {'photo_id': 1347460426, 'portfolio_id': 21760969}, {'photo_id': 1347460422, 'portfolio_id': 21760969}, {'photo_id': 1347460386, 'portfolio_id': 21760969}, {'photo_id': 1347460384, 'portfolio_id': 21760969}, {'photo_id': 1347460380, 'portfolio_id': 21760969}, {'photo_id': 1347460376, 'portfolio_id': 21760969}, {'photo_id': 1347460254, 'portfolio_id': 21760969}, {'photo_id': 1347460251, 'portfolio_id': 21760969}, {'photo_id': 1347460248, 'portfolio_id': 21760969}, {'photo_id': 1347460221, 'portfolio_id': 21760969}, {'photo_id': 1347460218, 'portfolio_id': 21760969}, {'photo_id': 1347460214, 'portfolio_id': 21760969}, {'photo_id': 1347460208, 'portfolio_id': 21760969}] map_portfolio_id_photo_id: {21760969: [1347460824, 1347460686, 1347460682, 1347460678, 1347460676, 1347460673, 1347460652, 1347460645, 1347460640, 1347460632, 1347460631, 1347460629, 1347460591, 1347460588, 1347460584, 1347460581, 1347460579, 1347460547, 1347460544, 1347460541, 1347460513, 1347460510, 1347460507, 1347460506, 1347460504, 1347460472, 1347460468, 1347460465, 1347460461, 1347460432, 1347460429, 1347460426, 1347460422, 1347460386, 1347460384, 1347460380, 1347460376, 1347460254, 1347460251, 1347460248, 1347460221, 1347460218, 1347460214, 1347460208]} ##### 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.08454704284667969 #### 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 Mon Mar 31 13:09:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21760969) 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 : 21760969 get user id for portfolio 21760969 get sub ptf for main ptf 21760969, type 3726 and hashtags ['flou', 'Teint_Dans_La_Masse', 'kraft', 'autre_refus', 'plastique', 'mal_croppe', 'cartonnette', 'Carton_gris', 'papier', 'metal', 'Carton_brun', 'environnement'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21760969 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Teint_Dans_La_Masse','kraft','autre_refus','plastique','mal_croppe','cartonnette','Carton_gris','papier','metal','Carton_brun','environnement')) 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`=21760969 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Teint_Dans_La_Masse','kraft','autre_refus','plastique','mal_croppe','cartonnette','Carton_gris','papier','metal','Carton_brun','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 21760969, 'sub_port_id': 21761241, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284665, 'last_updated_at': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 5, 58)}, 'kraft': {'main_port_id': 21760969, 'sub_port_id': 21761242, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284666, 'last_updated_at': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 5, 58)}, 'Carton_brun': {'main_port_id': 21760969, 'sub_port_id': 21761243, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284667, 'last_updated_at': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 5, 58)}, 'environnement': {'main_port_id': 21760969, 'sub_port_id': 21761244, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284668, 'last_updated_at': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 5, 58)}, 'Carton_gris': {'main_port_id': 21760969, 'sub_port_id': 21761245, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284669, 'last_updated_at': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 5, 58)}, 'autre_refus': {'main_port_id': 21760969, 'sub_port_id': 21761246, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284670, 'last_updated_at': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 5, 58)}, 'flou': {'main_port_id': 21760969, 'sub_port_id': 21761247, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284671, 'last_updated_at': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 5, 58)}, 'mal_croppe': {'main_port_id': 21760969, 'sub_port_id': 21761248, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284672, 'last_updated_at': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 5, 58)}, 'cartonnette': {'main_port_id': 21760969, 'sub_port_id': 21761249, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284673, 'last_updated_at': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 5, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 21760969, 'sub_port_id': 21761250, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284674, 'last_updated_at': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 5, 58)}, 'plastique': {'main_port_id': 21760969, 'sub_port_id': 21761251, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284675, 'last_updated_at': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 5, 58)}, 'papier': {'main_port_id': 21760969, 'sub_port_id': 21761252, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284676, 'last_updated_at': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 5, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21761241 , 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=21760969 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 (21761241) result : ((1348221909,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21760969) result : ((1347460208,), (1347460214,), (1347460218,), (1347460221,), (1347460248,), (1347460251,), (1347460254,), (1347460376,), (1347460380,), (1347460384,), (1347460386,), (1347460422,), (1347460426,), (1347460429,), (1347460432,), (1347460461,), (1347460465,), (1347460468,), (1347460472,), (1347460504,), (1347460506,), (1347460507,), (1347460510,), (1347460513,), (1347460541,), (1347460544,), (1347460547,), (1347460579,), (1347460581,), (1347460584,), (1347460588,), (1347460591,), (1347460629,), (1347460631,), (1347460632,), (1347460640,), (1347460645,), (1347460652,), (1347460673,), (1347460676,), (1347460678,), (1347460682,), (1347460686,), (1347460824,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21761242 , 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=21760969 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 (21761242) result : ((1348235544,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21760969) result : ((1347460208,), (1347460214,), (1347460218,), (1347460221,), (1347460248,), (1347460251,), (1347460254,), (1347460376,), (1347460380,), (1347460384,), (1347460386,), (1347460422,), (1347460426,), (1347460429,), (1347460432,), (1347460461,), (1347460465,), (1347460468,), (1347460472,), (1347460504,), (1347460506,), (1347460507,), (1347460510,), (1347460513,), (1347460541,), (1347460544,), (1347460547,), (1347460579,), (1347460581,), (1347460584,), (1347460588,), (1347460591,), (1347460629,), (1347460631,), (1347460632,), (1347460640,), (1347460645,), (1347460652,), (1347460673,), (1347460676,), (1347460678,), (1347460682,), (1347460686,), (1347460824,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21761243 , 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=21760969 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 (21761243) result : ((1348221903,), (1348221904,), (1348235534,), (1348235536,), (1348235537,), (1348235538,), (1348235539,), (1348235540,), (1348235541,), (1348235542,), (1348235874,), (1348235875,), (1348235876,), (1348235877,), (1348235878,), (1348235879,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21760969) result : ((1347460208,), (1347460214,), (1347460218,), (1347460221,), (1347460248,), (1347460251,), (1347460254,), (1347460376,), (1347460380,), (1347460384,), (1347460386,), (1347460422,), (1347460426,), (1347460429,), (1347460432,), (1347460461,), (1347460465,), (1347460468,), (1347460472,), (1347460504,), (1347460506,), (1347460507,), (1347460510,), (1347460513,), (1347460541,), (1347460544,), (1347460547,), (1347460579,), (1347460581,), (1347460584,), (1347460588,), (1347460591,), (1347460629,), (1347460631,), (1347460632,), (1347460640,), (1347460645,), (1347460652,), (1347460673,), (1347460676,), (1347460678,), (1347460682,), (1347460686,), (1347460824,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21761244 , 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=21760969 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 (21761244) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21760969) result : ((1347460208,), (1347460214,), (1347460218,), (1347460221,), (1347460248,), (1347460251,), (1347460254,), (1347460376,), (1347460380,), (1347460384,), (1347460386,), (1347460422,), (1347460426,), (1347460429,), (1347460432,), (1347460461,), (1347460465,), (1347460468,), (1347460472,), (1347460504,), (1347460506,), (1347460507,), (1347460510,), (1347460513,), (1347460541,), (1347460544,), (1347460547,), (1347460579,), (1347460581,), (1347460584,), (1347460588,), (1347460591,), (1347460629,), (1347460631,), (1347460632,), (1347460640,), (1347460645,), (1347460652,), (1347460673,), (1347460676,), (1347460678,), (1347460682,), (1347460686,), (1347460824,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21761245 , 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=21760969 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 (21761245) result : ((1348221896,), (1348235510,), (1348235511,), (1348235856,), (1348235857,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21760969) result : ((1347460208,), (1347460214,), (1347460218,), (1347460221,), (1347460248,), (1347460251,), (1347460254,), (1347460376,), (1347460380,), (1347460384,), (1347460386,), (1347460422,), (1347460426,), (1347460429,), (1347460432,), (1347460461,), (1347460465,), (1347460468,), (1347460472,), (1347460504,), (1347460506,), (1347460507,), (1347460510,), (1347460513,), (1347460541,), (1347460544,), (1347460547,), (1347460579,), (1347460581,), (1347460584,), (1347460588,), (1347460591,), (1347460629,), (1347460631,), (1347460632,), (1347460640,), (1347460645,), (1347460652,), (1347460673,), (1347460676,), (1347460678,), (1347460682,), (1347460686,), (1347460824,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21761246 , 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=21760969 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 (21761246) result : ((1348221890,), (1348221891,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21760969) result : ((1347460208,), (1347460214,), (1347460218,), (1347460221,), (1347460248,), (1347460251,), (1347460254,), (1347460376,), (1347460380,), (1347460384,), (1347460386,), (1347460422,), (1347460426,), (1347460429,), (1347460432,), (1347460461,), (1347460465,), (1347460468,), (1347460472,), (1347460504,), (1347460506,), (1347460507,), (1347460510,), (1347460513,), (1347460541,), (1347460544,), (1347460547,), (1347460579,), (1347460581,), (1347460584,), (1347460588,), (1347460591,), (1347460629,), (1347460631,), (1347460632,), (1347460640,), (1347460645,), (1347460652,), (1347460673,), (1347460676,), (1347460678,), (1347460682,), (1347460686,), (1347460824,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21761247 , 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=21760969 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 (21761247) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21760969) result : ((1347460208,), (1347460214,), (1347460218,), (1347460221,), (1347460248,), (1347460251,), (1347460254,), (1347460376,), (1347460380,), (1347460384,), (1347460386,), (1347460422,), (1347460426,), (1347460429,), (1347460432,), (1347460461,), (1347460465,), (1347460468,), (1347460472,), (1347460504,), (1347460506,), (1347460507,), (1347460510,), (1347460513,), (1347460541,), (1347460544,), (1347460547,), (1347460579,), (1347460581,), (1347460584,), (1347460588,), (1347460591,), (1347460629,), (1347460631,), (1347460632,), (1347460640,), (1347460645,), (1347460652,), (1347460673,), (1347460676,), (1347460678,), (1347460682,), (1347460686,), (1347460824,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21761248 , 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=21760969 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 (21761248) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21760969) result : ((1347460208,), (1347460214,), (1347460218,), (1347460221,), (1347460248,), (1347460251,), (1347460254,), (1347460376,), (1347460380,), (1347460384,), (1347460386,), (1347460422,), (1347460426,), (1347460429,), (1347460432,), (1347460461,), (1347460465,), (1347460468,), (1347460472,), (1347460504,), (1347460506,), (1347460507,), (1347460510,), (1347460513,), (1347460541,), (1347460544,), (1347460547,), (1347460579,), (1347460581,), (1347460584,), (1347460588,), (1347460591,), (1347460629,), (1347460631,), (1347460632,), (1347460640,), (1347460645,), (1347460652,), (1347460673,), (1347460676,), (1347460678,), (1347460682,), (1347460686,), (1347460824,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21761249 , 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=21760969 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 (21761249) result : ((1348221898,), (1348221899,), (1348221900,), (1348235515,), (1348235516,), (1348235517,), (1348235518,), (1348235519,), (1348235866,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21760969) result : ((1347460208,), (1347460214,), (1347460218,), (1347460221,), (1347460248,), (1347460251,), (1347460254,), (1347460376,), (1347460380,), (1347460384,), (1347460386,), (1347460422,), (1347460426,), (1347460429,), (1347460432,), (1347460461,), (1347460465,), (1347460468,), (1347460472,), (1347460504,), (1347460506,), (1347460507,), (1347460510,), (1347460513,), (1347460541,), (1347460544,), (1347460547,), (1347460579,), (1347460581,), (1347460584,), (1347460588,), (1347460591,), (1347460629,), (1347460631,), (1347460632,), (1347460640,), (1347460645,), (1347460652,), (1347460673,), (1347460676,), (1347460678,), (1347460682,), (1347460686,), (1347460824,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21761250 , 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=21760969 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 (21761250) result : ((1348221880,), (1348221881,), (1348221882,), (1348221883,), (1348221885,), (1348221886,), (1348235495,), (1348235496,), (1348235497,), (1348235498,), (1348235499,), (1348235500,), (1348235501,), (1348235502,), (1348235846,), (1348235847,), (1348235848,), (1348235849,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21760969) result : ((1347460208,), (1347460214,), (1347460218,), (1347460221,), (1347460248,), (1347460251,), (1347460254,), (1347460376,), (1347460380,), (1347460384,), (1347460386,), (1347460422,), (1347460426,), (1347460429,), (1347460432,), (1347460461,), (1347460465,), (1347460468,), (1347460472,), (1347460504,), (1347460506,), (1347460507,), (1347460510,), (1347460513,), (1347460541,), (1347460544,), (1347460547,), (1347460579,), (1347460581,), (1347460584,), (1347460588,), (1347460591,), (1347460629,), (1347460631,), (1347460632,), (1347460640,), (1347460645,), (1347460652,), (1347460673,), (1347460676,), (1347460678,), (1347460682,), (1347460686,), (1347460824,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21761251 , 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=21760969 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 (21761251) result : ((1348221906,), (1348221907,), (1348221908,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21760969) result : ((1347460208,), (1347460214,), (1347460218,), (1347460221,), (1347460248,), (1347460251,), (1347460254,), (1347460376,), (1347460380,), (1347460384,), (1347460386,), (1347460422,), (1347460426,), (1347460429,), (1347460432,), (1347460461,), (1347460465,), (1347460468,), (1347460472,), (1347460504,), (1347460506,), (1347460507,), (1347460510,), (1347460513,), (1347460541,), (1347460544,), (1347460547,), (1347460579,), (1347460581,), (1347460584,), (1347460588,), (1347460591,), (1347460629,), (1347460631,), (1347460632,), (1347460640,), (1347460645,), (1347460652,), (1347460673,), (1347460676,), (1347460678,), (1347460682,), (1347460686,), (1347460824,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21761252 , 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=21760969 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 (21761252) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21760969) result : ((1347460208,), (1347460214,), (1347460218,), (1347460221,), (1347460248,), (1347460251,), (1347460254,), (1347460376,), (1347460380,), (1347460384,), (1347460386,), (1347460422,), (1347460426,), (1347460429,), (1347460432,), (1347460461,), (1347460465,), (1347460468,), (1347460472,), (1347460504,), (1347460506,), (1347460507,), (1347460510,), (1347460513,), (1347460541,), (1347460544,), (1347460547,), (1347460579,), (1347460581,), (1347460584,), (1347460588,), (1347460591,), (1347460629,), (1347460631,), (1347460632,), (1347460640,), (1347460645,), (1347460652,), (1347460673,), (1347460676,), (1347460678,), (1347460682,), (1347460686,), (1347460824,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21760969 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Teint_Dans_La_Masse','kraft','autre_refus','plastique','mal_croppe','cartonnette','Carton_gris','papier','metal','Carton_brun','environnement')) 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`=21760969 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Teint_Dans_La_Masse','kraft','autre_refus','plastique','mal_croppe','cartonnette','Carton_gris','papier','metal','Carton_brun','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 21760969, 'sub_port_id': 21761253, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284677, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 6)}, 'kraft': {'main_port_id': 21760969, 'sub_port_id': 21761254, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284678, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 6)}, 'Carton_brun': {'main_port_id': 21760969, 'sub_port_id': 21761255, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284679, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 6)}, 'environnement': {'main_port_id': 21760969, 'sub_port_id': 21761256, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284680, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 6)}, 'Carton_gris': {'main_port_id': 21760969, 'sub_port_id': 21761257, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284681, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 6)}, 'autre_refus': {'main_port_id': 21760969, 'sub_port_id': 21761258, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284682, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 6)}, 'flou': {'main_port_id': 21760969, 'sub_port_id': 21761259, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284683, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 6)}, 'mal_croppe': {'main_port_id': 21760969, 'sub_port_id': 21761260, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284684, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 6)}, 'cartonnette': {'main_port_id': 21760969, 'sub_port_id': 21761261, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284685, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 6)}, 'Teint_Dans_La_Masse': {'main_port_id': 21760969, 'sub_port_id': 21761262, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284686, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 6)}, 'plastique': {'main_port_id': 21760969, 'sub_port_id': 21761263, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284687, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 6)}, 'papier': {'main_port_id': 21760969, 'sub_port_id': 21761264, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14284688, 'last_updated_at': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 11, 29, 54), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 1, 6)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21761253,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21761241 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21761254,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21761242 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21761255,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21761243 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21761256,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21761244 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21761257,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21761245 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21761258,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21761246 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21761259,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21761247 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21761260,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21761248 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21761261,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21761249 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21761262,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21761250 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21761263,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21761251 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21761264,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21761252 lien utilise dans velours : https://www.fotonower.com/velours/21761253,21761254,21761255,21761256,21761257,21761258,21761259,21761260,21761261,21761262,21761263,21761264?tags=metal,kraft,Carton_brun,environnement,Carton_gris,autre_refus,flou,mal_croppe,cartonnette,Teint_Dans_La_Masse,plastique,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21760969]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1347460824, 1347460686, 1347460682, 1347460678, 1347460676, 1347460673, 1347460652, 1347460645, 1347460640, 1347460632, 1347460631, 1347460629, 1347460591, 1347460588, 1347460584, 1347460581, 1347460579, 1347460547, 1347460544, 1347460541, 1347460513, 1347460510, 1347460507, 1347460506, 1347460504, 1347460472, 1347460468, 1347460465, 1347460461, 1347460432, 1347460429, 1347460426, 1347460422, 1347460386, 1347460384, 1347460380, 1347460376, 1347460254, 1347460251, 1347460248, 1347460221, 1347460218, 1347460214, 1347460208] map_info['map_portfolio_photo'] : {21760969: [1347460824, 1347460686, 1347460682, 1347460678, 1347460676, 1347460673, 1347460652, 1347460645, 1347460640, 1347460632, 1347460631, 1347460629, 1347460591, 1347460588, 1347460584, 1347460581, 1347460579, 1347460547, 1347460544, 1347460541, 1347460513, 1347460510, 1347460507, 1347460506, 1347460504, 1347460472, 1347460468, 1347460465, 1347460461, 1347460432, 1347460429, 1347460426, 1347460422, 1347460386, 1347460384, 1347460380, 1347460376, 1347460254, 1347460251, 1347460248, 1347460221, 1347460218, 1347460214, 1347460208]} final : False mtd_id 4302 list_pids : [1347460824, 1347460686, 1347460682, 1347460678, 1347460676, 1347460673, 1347460652, 1347460645, 1347460640, 1347460632, 1347460631, 1347460629, 1347460591, 1347460588, 1347460584, 1347460581, 1347460579, 1347460547, 1347460544, 1347460541, 1347460513, 1347460510, 1347460507, 1347460506, 1347460504, 1347460472, 1347460468, 1347460465, 1347460461, 1347460432, 1347460429, 1347460426, 1347460422, 1347460386, 1347460384, 1347460380, 1347460376, 1347460254, 1347460251, 1347460248, 1347460221, 1347460218, 1347460214, 1347460208] Looping around the photos to save general results len do output : 1 /21760969. 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, '2708878') ('4302', '21760969', '1347460824', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460686', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460682', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460678', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460676', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460673', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460652', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460645', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460640', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460632', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460631', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460629', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460591', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460588', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460584', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460581', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460579', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460547', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460544', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460541', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460513', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460510', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460507', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460506', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460504', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460472', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460468', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460465', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460461', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460432', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460429', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460426', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460422', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460386', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460384', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460380', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460376', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460254', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460251', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460248', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460221', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460218', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460214', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460208', None, None, None, None, None, '2708878') 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', None, '21760969', "{'metal': 21761241, 'kraft': 21761242, 'Carton_brun': 21761243, 'environnement': 21761244, 'Carton_gris': 21761245, 'autre_refus': 21761246, 'flou': 21761247, 'mal_croppe': 21761248, 'cartonnette': 21761249, 'Teint_Dans_La_Masse': 21761250, 'plastique': 21761251, 'papier': 21761252}", None, None, None, None, '2708878'), ('4302', '21760969', '1347460824', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460686', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460682', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460678', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460676', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460673', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460652', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460645', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460640', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460632', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460631', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460629', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460591', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460588', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460584', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460581', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460579', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460547', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460544', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460541', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460513', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460510', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460507', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460506', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460504', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460472', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460468', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460465', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460461', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460432', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460429', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460426', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460422', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460386', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460384', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460380', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460376', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460254', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460251', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460248', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460221', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460218', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460214', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460208', None, None, None, None, None, '2708878')] time used for this insertion : 0.025148868560791016 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.453465461730957 time spend to save output : 0.025469064712524414 total time spend for step 1 : 1.4789345264434814 step2:final Mon Mar 31 13:09: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 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 (21760969) 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 21760969 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1347460221,1347460218,1347460214,1347460208,1347460254,1347460251,1347460248,1347460386,1347460384,1347460380,1347460376,1347460432,1347460429,1347460426,1347460422,1347460472,1347460468,1347460465,1347460461,1347460513,1347460510,1347460507,1347460506,1347460504,1347460547,1347460544,1347460541,1347460591,1347460588,1347460584,1347460581,1347460579,1347460652,1347460645,1347460640,1347460632,1347460631,1347460629,1347460686,1347460682,1347460678,1347460676,1347460673,1347460824); 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([21760969]) Inside saveOutput : final : False verbose : True original output for save of step final : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} new output for save of step final : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} [1347460824, 1347460686, 1347460682, 1347460678, 1347460676, 1347460673, 1347460652, 1347460645, 1347460640, 1347460632, 1347460631, 1347460629, 1347460591, 1347460588, 1347460584, 1347460581, 1347460579, 1347460547, 1347460544, 1347460541, 1347460513, 1347460510, 1347460507, 1347460506, 1347460504, 1347460472, 1347460468, 1347460465, 1347460461, 1347460432, 1347460429, 1347460426, 1347460422, 1347460386, 1347460384, 1347460380, 1347460376, 1347460254, 1347460251, 1347460248, 1347460221, 1347460218, 1347460214, 1347460208] map_info['map_portfolio_photo'] : {21760969: [1347460824, 1347460686, 1347460682, 1347460678, 1347460676, 1347460673, 1347460652, 1347460645, 1347460640, 1347460632, 1347460631, 1347460629, 1347460591, 1347460588, 1347460584, 1347460581, 1347460579, 1347460547, 1347460544, 1347460541, 1347460513, 1347460510, 1347460507, 1347460506, 1347460504, 1347460472, 1347460468, 1347460465, 1347460461, 1347460432, 1347460429, 1347460426, 1347460422, 1347460386, 1347460384, 1347460380, 1347460376, 1347460254, 1347460251, 1347460248, 1347460221, 1347460218, 1347460214, 1347460208]} final : False mtd_id 4302 list_pids : [1347460824, 1347460686, 1347460682, 1347460678, 1347460676, 1347460673, 1347460652, 1347460645, 1347460640, 1347460632, 1347460631, 1347460629, 1347460591, 1347460588, 1347460584, 1347460581, 1347460579, 1347460547, 1347460544, 1347460541, 1347460513, 1347460510, 1347460507, 1347460506, 1347460504, 1347460472, 1347460468, 1347460465, 1347460461, 1347460432, 1347460429, 1347460426, 1347460422, 1347460386, 1347460384, 1347460380, 1347460376, 1347460254, 1347460251, 1347460248, 1347460221, 1347460218, 1347460214, 1347460208] Looping around the photos to save general results len do output : 44 /1347460824.Didn't retrieve data . /1347460686.Didn't retrieve data . /1347460682.Didn't retrieve data . /1347460678.Didn't retrieve data . /1347460676.Didn't retrieve data . /1347460673.Didn't retrieve data . /1347460652.Didn't retrieve data . /1347460645.Didn't retrieve data . /1347460640.Didn't retrieve data . /1347460632.Didn't retrieve data . /1347460631.Didn't retrieve data . /1347460629.Didn't retrieve data . /1347460591.Didn't retrieve data . /1347460588.Didn't retrieve data . /1347460584.Didn't retrieve data . /1347460581.Didn't retrieve data . /1347460579.Didn't retrieve data . /1347460547.Didn't retrieve data . /1347460544.Didn't retrieve data . /1347460541.Didn't retrieve data . /1347460513.Didn't retrieve data . /1347460510.Didn't retrieve data . /1347460507.Didn't retrieve data . /1347460506.Didn't retrieve data . /1347460504.Didn't retrieve data . /1347460472.Didn't retrieve data . /1347460468.Didn't retrieve data . /1347460465.Didn't retrieve data . /1347460461.Didn't retrieve data . /1347460432.Didn't retrieve data . /1347460429.Didn't retrieve data . /1347460426.Didn't retrieve data . /1347460422.Didn't retrieve data . /1347460386.Didn't retrieve data . /1347460384.Didn't retrieve data . /1347460380.Didn't retrieve data . /1347460376.Didn't retrieve data . /1347460254.Didn't retrieve data . /1347460251.Didn't retrieve data . /1347460248.Didn't retrieve data . /1347460221.Didn't retrieve data . /1347460218.Didn't retrieve data . /1347460214.Didn't retrieve data . /1347460208.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, '2708878') ('4302', '21760969', '1347460824', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460686', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460682', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460678', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460676', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460673', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460652', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460645', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460640', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460632', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460631', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460629', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460591', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460588', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460584', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460581', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460579', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460547', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460544', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460541', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460513', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460510', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460507', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460506', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460504', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460472', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460468', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460465', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460461', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460432', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460429', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460426', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460422', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460386', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460384', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460380', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460376', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460254', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460251', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460248', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460221', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460218', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460214', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460208', None, None, None, None, None, '2708878') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 132 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', '21760969', '1347460824', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460686', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460682', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460678', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460676', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460673', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460652', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460645', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460640', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460632', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460631', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460629', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460591', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460588', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460584', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460581', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460579', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460547', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460544', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460541', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460513', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460510', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460507', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460506', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460504', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460472', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460468', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460465', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460461', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460432', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460429', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460426', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460422', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460386', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460384', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460380', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460376', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460254', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460251', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460248', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460221', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460218', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460214', '0.03661185448627409', None, None, None, None, '2708878'), ('4302', '21760969', '1347460208', '0.03661185448627409', None, None, None, None, '2708878')] time used for this insertion : 0.025740623474121094 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07880640029907227 time spend to save output : 0.027443885803222656 total time spend for step 2 : 0.10625028610229492 step3:velours_tree Mon Mar 31 13:09: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 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 : {21760969: [{'metal': 21761241, 'kraft': 21761242, 'Carton_brun': 21761243, 'environnement': 21761244, 'Carton_gris': 21761245, 'autre_refus': 21761246, 'flou': 21761247, 'mal_croppe': 21761248, 'cartonnette': 21761249, 'Teint_Dans_La_Masse': 21761250, 'plastique': 21761251, 'papier': 21761252}]} input_args_next_step : {21760969: ()} output_args : {21760969: [{'metal': 21761241, 'kraft': 21761242, 'Carton_brun': 21761243, 'environnement': 21761244, 'Carton_gris': 21761245, 'autre_refus': 21761246, 'flou': 21761247, 'mal_croppe': 21761248, 'cartonnette': 21761249, 'Teint_Dans_La_Masse': 21761250, 'plastique': 21761251, 'papier': 21761252}]} args : 21760969 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 : ({'metal': 21761241, 'kraft': 21761242, 'Carton_brun': 21761243, 'environnement': 21761244, 'Carton_gris': 21761245, 'autre_refus': 21761246, 'flou': 21761247, 'mal_croppe': 21761248, 'cartonnette': 21761249, 'Teint_Dans_La_Masse': 21761250, 'plastique': 21761251, 'papier': 21761252},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21760969) 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([21760969]) 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.30037760734558105 time spend to save output : 4.38690185546875e-05 total time spend for step 3 : 0.30042147636413574 step4:send_mail_cod Mon Mar 31 13:09: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 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 : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} input_args_next_step : {1347460824: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460824 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460686 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460682 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460678 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460676 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460673 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460652 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460645 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460640 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460632 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460631 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460629 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460591 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460588 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460584 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460581 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460579 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460547 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460544 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460541 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460513 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460510 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460507 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460506 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460504 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460472 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460468 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460465 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460461 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460432 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460429 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460426 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460422 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460386 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460384 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460380 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460376 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460254 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460251 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460248 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460221 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460218 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460214 depend.output_id : 0 input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ()} output_args : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',)} args : 1347460208 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 : {21760969: [{'metal': 21761241, 'kraft': 21761242, 'Carton_brun': 21761243, 'environnement': 21761244, 'Carton_gris': 21761245, 'autre_refus': 21761246, 'flou': 21761247, 'mal_croppe': 21761248, 'cartonnette': 21761249, 'Teint_Dans_La_Masse': 21761250, 'plastique': 21761251, 'papier': 21761252}]} input_args_next_step : {1347460824: ('0.03661185448627409',), 1347460686: ('0.03661185448627409',), 1347460682: ('0.03661185448627409',), 1347460678: ('0.03661185448627409',), 1347460676: ('0.03661185448627409',), 1347460673: ('0.03661185448627409',), 1347460652: ('0.03661185448627409',), 1347460645: ('0.03661185448627409',), 1347460640: ('0.03661185448627409',), 1347460632: ('0.03661185448627409',), 1347460631: ('0.03661185448627409',), 1347460629: ('0.03661185448627409',), 1347460591: ('0.03661185448627409',), 1347460588: ('0.03661185448627409',), 1347460584: ('0.03661185448627409',), 1347460581: ('0.03661185448627409',), 1347460579: ('0.03661185448627409',), 1347460547: ('0.03661185448627409',), 1347460544: ('0.03661185448627409',), 1347460541: ('0.03661185448627409',), 1347460513: ('0.03661185448627409',), 1347460510: ('0.03661185448627409',), 1347460507: ('0.03661185448627409',), 1347460506: ('0.03661185448627409',), 1347460504: ('0.03661185448627409',), 1347460472: ('0.03661185448627409',), 1347460468: ('0.03661185448627409',), 1347460465: ('0.03661185448627409',), 1347460461: ('0.03661185448627409',), 1347460432: ('0.03661185448627409',), 1347460429: ('0.03661185448627409',), 1347460426: ('0.03661185448627409',), 1347460422: ('0.03661185448627409',), 1347460386: ('0.03661185448627409',), 1347460384: ('0.03661185448627409',), 1347460380: ('0.03661185448627409',), 1347460376: ('0.03661185448627409',), 1347460254: ('0.03661185448627409',), 1347460251: ('0.03661185448627409',), 1347460248: ('0.03661185448627409',), 1347460221: ('0.03661185448627409',), 1347460218: ('0.03661185448627409',), 1347460214: ('0.03661185448627409',), 1347460208: ('0.03661185448627409',), 21760969: ()} output_args : {21760969: [{'metal': 21761241, 'kraft': 21761242, 'Carton_brun': 21761243, 'environnement': 21761244, 'Carton_gris': 21761245, 'autre_refus': 21761246, 'flou': 21761247, 'mal_croppe': 21761248, 'cartonnette': 21761249, 'Teint_Dans_La_Masse': 21761250, 'plastique': 21761251, 'papier': 21761252}]} args : 21760969 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 :45, first value : ('0.03661185448627409',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21760969) 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 (1347460824,1347460686,1347460682,1347460678,1347460676,1347460673,1347460652,1347460645,1347460640,1347460632,1347460631,1347460629,1347460591,1347460588,1347460584,1347460581,1347460579,1347460547,1347460544,1347460541,1347460513,1347460510,1347460507,1347460506,1347460504,1347460472,1347460468,1347460465,1347460461,1347460432,1347460429,1347460426,1347460422,1347460386,1347460384,1347460380,1347460376,1347460254,1347460251,1347460248,1347460221,1347460218,1347460214,1347460208) Found this number of photos: 44 ##### Call download_photos : nb_thread : 5 begin to download photo : 1347460208 begin to download photo : 1347460384 begin to download photo : 1347460472 begin to download photo : 1347460579 begin to download photo : 1347460645 download finish for photo 1347460645 begin to download photo : 1347460652 download finish for photo 1347460208 begin to download photo : 1347460214 download finish for photo 1347460579 begin to download photo : 1347460581 download finish for photo 1347460472 begin to download photo : 1347460504 download finish for photo 1347460384 begin to download photo : 1347460386 download finish for photo 1347460386 begin to download photo : 1347460422 download finish for photo 1347460652 begin to download photo : 1347460673 download finish for photo 1347460214 begin to download photo : 1347460218 download finish for photo 1347460504 begin to download photo : 1347460506 download finish for photo 1347460581 begin to download photo : 1347460584 download finish for photo 1347460673 begin to download photo : 1347460676 download finish for photo 1347460422 begin to download photo : 1347460426 download finish for photo 1347460218 begin to download photo : 1347460221 download finish for photo 1347460506 begin to download photo : 1347460507 download finish for photo 1347460584 begin to download photo : 1347460588 download finish for photo 1347460676 begin to download photo : 1347460678 download finish for photo 1347460426 begin to download photo : 1347460429 download finish for photo 1347460221 begin to download photo : 1347460248 download finish for photo 1347460507 begin to download photo : 1347460510 download finish for photo 1347460588 begin to download photo : 1347460591 download finish for photo 1347460678 begin to download photo : 1347460682 download finish for photo 1347460429 begin to download photo : 1347460432 download finish for photo 1347460510 begin to download photo : 1347460513 download finish for photo 1347460248 begin to download photo : 1347460251 download finish for photo 1347460591 begin to download photo : 1347460629 download finish for photo 1347460513 begin to download photo : 1347460541 download finish for photo 1347460682 begin to download photo : 1347460686 download finish for photo 1347460251 begin to download photo : 1347460254 download finish for photo 1347460432 begin to download photo : 1347460461 download finish for photo 1347460629 begin to download photo : 1347460631 download finish for photo 1347460686 begin to download photo : 1347460824 download finish for photo 1347460254 begin to download photo : 1347460376 download finish for photo 1347460541 begin to download photo : 1347460544 download finish for photo 1347460631 begin to download photo : 1347460632 download finish for photo 1347460461 begin to download photo : 1347460465 download finish for photo 1347460824 download finish for photo 1347460376 begin to download photo : 1347460380 download finish for photo 1347460544 begin to download photo : 1347460547 download finish for photo 1347460632 begin to download photo : 1347460640 download finish for photo 1347460465 begin to download photo : 1347460468 download finish for photo 1347460547 download finish for photo 1347460640 download finish for photo 1347460380 download finish for photo 1347460468 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 44 ; length of list_pids : 44 ; length of list_args : 44 results_Auto_P21760969_31-03-2025_13_10_00.pdf 21761241 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=21761241 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348221909: '1743153413_884120_1347460682_fc96108bc13193221081cddfdde8d7b6_rle_crop_3735982974_0.png'} change filename to text .imagette217612411743419400/ imagette217612411743419400/1743153413_884120_1347460682_fc96108bc13193221081cddfdde8d7b6_rle_crop_3735982974_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/553d355cb1ed78bd95027205f08ce556_81831732.png imagette217612411743419400 21761242 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=21761242 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348235544: '1743157394_1019738_1347460254_6d7331ec19e5084061ca3048ccc33afc_rle_crop_3736076356_0.png'} change filename to text .imagette217612421743419400/ imagette217612421743419400/1743157394_1019738_1347460254_6d7331ec19e5084061ca3048ccc33afc_rle_crop_3736076356_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/a02eff136e2e42d29a575858e1fc63bb_99053941.png imagette217612421743419400 21761246 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=21761246 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348221890: '1743153413_884120_1347460640_1b1d31510313d9fbdb782b64c1259b05_rle_crop_3735983498_0.png', 1348221891: '1743153413_884120_1347460581_8237e2fcdd1944d4512ab7d101de4d26_rle_crop_3735984388_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/641fdb49274ced9f75214a1cf3689f05_50085952.png change filename to text .imagette217612461743419401/ imagette217612461743419401/1743153413_884120_1347460640_1b1d31510313d9fbdb782b64c1259b05_rle_crop_3735983498_0.png.png imagette217612461743419401/1743153413_884120_1347460581_8237e2fcdd1944d4512ab7d101de4d26_rle_crop_3735984388_0.png.png imagette217612471743419401/ imagette217612481743419401/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/8bcb618d2a9deb2842da42f82fab6295_10948089.png imagette217612461743419401 21761247 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=21761247 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217612471743419401 21761248 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=21761248 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217612481743419401 21761249 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=21761249 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348221898: '1743153413_884120_1347460682_fc96108bc13193221081cddfdde8d7b6_rle_crop_3735982972_0.png', 1348221899: '1743153413_884120_1347460581_8237e2fcdd1944d4512ab7d101de4d26_rle_crop_3735984391_0.png', 1348221900: '1743153413_884120_1347460544_a828f45ff43e31ff1c68c45dda096503_rle_crop_3735984738_0.png', 1348235515: '1743157394_1019738_1347460510_0eb6fcdbd8e276ccd6cfe49c6d7a09aa_rle_crop_3736075148_0.png', 1348235516: '1743157394_1019738_1347460510_0eb6fcdbd8e276ccd6cfe49c6d7a09aa_rle_crop_3736075149_0.png', 1348235517: '1743157394_1019738_1347460506_16affe8990fbc69a2286fd5f1f08abfd_rle_crop_3736075197_0.png', 1348235518: '1743157394_1019738_1347460468_9598c399791da8c0a27207954c7f6e91_rle_crop_3736075272_0.png', 1348235519: '1743157394_1019738_1347460251_07e7cb108df3324770fe79fefd7fa1de_rle_crop_3736076381_0.png', 1348235866: '1743157713_1029375_1347460221_44123a5d170c56a55f7b192d1eec1005_rle_crop_3736079093_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/fabb518d9c27e4ef538b5fee687c6fc3_54049772.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/8575f1179d037da3c35558f0cf757951_28056042.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/1d6f3247a60b7071526789be52223f82_14474365.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/6e17bfce249268f5aa7a887fd3bcc65b_10218147.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/f5f47241eecb917bbd82d8e3e2ae31ba_72936767.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/5b8ae25f9d06cfc676d1792d9d9ecc12_46551991.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/95b2403d2c41de3b1516637f15d1bfb8_61380364.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/e025edf8571cd3dc5ef10640574d82d7_67994627.png change filename to text .imagette217612491743419401/ imagette217612491743419401/1743157394_1019738_1347460251_07e7cb108df3324770fe79fefd7fa1de_rle_crop_3736076381_0.png.png imagette217612491743419401/1743157394_1019738_1347460510_0eb6fcdbd8e276ccd6cfe49c6d7a09aa_rle_crop_3736075149_0.png.png imagette217612491743419401/1743153413_884120_1347460544_a828f45ff43e31ff1c68c45dda096503_rle_crop_3735984738_0.png.png imagette217612491743419401/1743157394_1019738_1347460510_0eb6fcdbd8e276ccd6cfe49c6d7a09aa_rle_crop_3736075148_0.png.png imagette217612491743419401/1743157713_1029375_1347460221_44123a5d170c56a55f7b192d1eec1005_rle_crop_3736079093_0.png.png imagette217612491743419401/1743153413_884120_1347460581_8237e2fcdd1944d4512ab7d101de4d26_rle_crop_3735984391_0.png.png imagette217612491743419401/1743157394_1019738_1347460506_16affe8990fbc69a2286fd5f1f08abfd_rle_crop_3736075197_0.png.png imagette217612491743419401/1743153413_884120_1347460682_fc96108bc13193221081cddfdde8d7b6_rle_crop_3735982972_0.png.png imagette217612491743419401/1743157394_1019738_1347460468_9598c399791da8c0a27207954c7f6e91_rle_crop_3736075272_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/a04d9813d9a70ad9974a10478bbc79eb_31619466.png imagette217612491743419401 21761251 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=21761251 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348221906: '1743153413_884120_1347460676_49260159f5e74f9693338e1d853828fd_rle_crop_3735983162_0.png', 1348221907: '1743153413_884120_1347460584_d3ca85776dc7c37b052942bb6c8966db_rle_crop_3735984273_0.png', 1348221908: '1743153413_884120_1347460581_8237e2fcdd1944d4512ab7d101de4d26_rle_crop_3735984392_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/b13fdf85acf77648d0cdf045a314d673_78494540.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/e3c5f661cc58336021790fb573ffe2c9_2568476.png change filename to text .imagette217612511743419402/ imagette217612511743419402/1743153413_884120_1347460584_d3ca85776dc7c37b052942bb6c8966db_rle_crop_3735984273_0.png.png imagette217612511743419402/1743153413_884120_1347460581_8237e2fcdd1944d4512ab7d101de4d26_rle_crop_3735984392_0.png.png imagette217612511743419402/1743153413_884120_1347460676_49260159f5e74f9693338e1d853828fd_rle_crop_3735983162_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/ddfe1182227b227e090da6e7b1f7ff7e_59225697.png imagette217612511743419402 21761243 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=21761243 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348221903: '1743153413_884120_1347460640_1b1d31510313d9fbdb782b64c1259b05_rle_crop_3735983502_0.png', 1348221904: '1743153413_884120_1347460588_74d1a81f306fe88414862c1ba0867868_rle_crop_3735984092_0.png', 1348235534: '1743157394_1019738_1347460513_b2bcfeb31719208b1d87e8bf26dca67b_rle_crop_3736075120_0.png', 1348235536: '1743157394_1019738_1347460507_df9634ada26747709697b95edafed5a5_rle_crop_3736075177_0.png', 1348235537: '1743157394_1019738_1347460468_9598c399791da8c0a27207954c7f6e91_rle_crop_3736075275_0.png', 1348235538: '1743157394_1019738_1347460465_ac80c150aaa8063159a23095910c823c_rle_crop_3736075294_0.png', 1348235539: '1743157394_1019738_1347460429_0038aece92a43f6c2640218998c07f4f_rle_crop_3736075341_0.png', 1348235540: '1743157394_1019738_1347460376_34303045d47bdab710b089dcd634ef06_rle_crop_3736076343_0.png', 1348235541: '1743157394_1019738_1347460251_07e7cb108df3324770fe79fefd7fa1de_rle_crop_3736076380_0.png', 1348235542: '1743157394_1019738_1347460248_053e6d7d71fd4dfe17faa33c61893bf0_rle_crop_3736076917_0.png', 1348235874: '1743157713_1029375_1347460221_44123a5d170c56a55f7b192d1eec1005_rle_crop_3736079089_0.png', 1348235875: '1743157713_1029375_1347460221_44123a5d170c56a55f7b192d1eec1005_rle_crop_3736079085_0.png', 1348235876: '1743157713_1029375_1347460221_44123a5d170c56a55f7b192d1eec1005_rle_crop_3736079088_0.png', 1348235877: '1743157713_1029375_1347460214_75eb8ed5795641ba43f3cd6f744c137a_rle_crop_3736079171_0.png', 1348235878: '1743157713_1029375_1347460208_a89623d46b6ed64dca349b166165e199_rle_crop_3736079202_0.png', 1348235879: '1743157713_1029375_1347460208_a89623d46b6ed64dca349b166165e199_rle_crop_3736079203_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/d35523894b0e7d9cab15b428aea66fe7_35086772.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/d1b0d3fb30341ed9059a3cd1a9284e70_42011089.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/a54614c2d1512c0c49b55c0444ce8284_70676344.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/296b5663fa9c964d87ec135182a8dbb4_84752209.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/3e8a8e58e4c16848e19237c8a6fbb0b3_86867500.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/d5f4162f8afaaf7beda2df7c0059d03a_32452144.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/e971c0437ca6fb99411160060a83175c_99073614.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/9c614c90ad038d1dd47fbd1f2eaa0974_84787216.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/27524f9727110dce732d4322889a6ac4_58679454.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/ceceb5c81827c7062275600de7d6b48f_16066309.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/4180465455f10e36f11807c09aadd2e7_73275252.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/317033616df77c1300415f2cdba45810_59961261.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/b9c91be0066fc29dc1629cf60ccbb3a0_85750549.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/a7269b41200f6776b1bf27995af3595b_33437573.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/e80f738da821d881bf8b48752425e947_28946531.png change filename to text .imagette217612431743419402/ imagette217612431743419402/1743157713_1029375_1347460221_44123a5d170c56a55f7b192d1eec1005_rle_crop_3736079089_0.png.png imagette217612431743419402/1743157394_1019738_1347460468_9598c399791da8c0a27207954c7f6e91_rle_crop_3736075275_0.png.png imagette217612431743419402/1743157394_1019738_1347460251_07e7cb108df3324770fe79fefd7fa1de_rle_crop_3736076380_0.png.png imagette217612431743419402/1743153413_884120_1347460588_74d1a81f306fe88414862c1ba0867868_rle_crop_3735984092_0.png.png imagette217612431743419402/1743153413_884120_1347460640_1b1d31510313d9fbdb782b64c1259b05_rle_crop_3735983502_0.png.png imagette217612431743419402/1743157713_1029375_1347460214_75eb8ed5795641ba43f3cd6f744c137a_rle_crop_3736079171_0.png.png imagette217612431743419402/1743157394_1019738_1347460429_0038aece92a43f6c2640218998c07f4f_rle_crop_3736075341_0.png.png imagette217612431743419402/1743157713_1029375_1347460221_44123a5d170c56a55f7b192d1eec1005_rle_crop_3736079088_0.png.png imagette217612431743419402/1743157394_1019738_1347460507_df9634ada26747709697b95edafed5a5_rle_crop_3736075177_0.png.png imagette217612431743419402/1743157394_1019738_1347460465_ac80c150aaa8063159a23095910c823c_rle_crop_3736075294_0.png.png imagette217612431743419402/1743157394_1019738_1347460513_b2bcfeb31719208b1d87e8bf26dca67b_rle_crop_3736075120_0.png.png imagette217612431743419402/1743157713_1029375_1347460208_a89623d46b6ed64dca349b166165e199_rle_crop_3736079203_0.png.png imagette217612431743419402/1743157394_1019738_1347460248_053e6d7d71fd4dfe17faa33c61893bf0_rle_crop_3736076917_0.png.png imagette217612431743419402/1743157713_1029375_1347460208_a89623d46b6ed64dca349b166165e199_rle_crop_3736079202_0.png.png imagette217612431743419402/1743157713_1029375_1347460221_44123a5d170c56a55f7b192d1eec1005_rle_crop_3736079085_0.png.png imagette217612431743419402/1743157394_1019738_1347460376_34303045d47bdab710b089dcd634ef06_rle_crop_3736076343_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/774f9e30a0bad625b918ffdaa141afac_95981052.png imagette217612431743419402 21761245 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=21761245 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348221896: '1743153413_884120_1347460678_8e7a5833f36cec474f8e09c454d2876c_rle_crop_3735983104_0.png', 1348235510: '1743157394_1019738_1347460506_16affe8990fbc69a2286fd5f1f08abfd_rle_crop_3736075194_0.png', 1348235511: '1743157394_1019738_1347460248_053e6d7d71fd4dfe17faa33c61893bf0_rle_crop_3736076906_0.png', 1348235856: '1743157713_1029375_1347460221_44123a5d170c56a55f7b192d1eec1005_rle_crop_3736079091_0.png', 1348235857: '1743157713_1029375_1347460214_75eb8ed5795641ba43f3cd6f744c137a_rle_crop_3736079169_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/0160df09bc19c60003bd310789d0e161_91588005.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/eb6ee1a0524d4b92f6eae7bf37c29b4c_2510305.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/7d8c068d10b669a6a2037e8652e14a27_70051764.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/69e14496de3af625030445504a4e3d09_97604839.png change filename to text .imagette217612451743419404/ imagette217612451743419404/1743153413_884120_1347460678_8e7a5833f36cec474f8e09c454d2876c_rle_crop_3735983104_0.png.png imagette217612451743419404/1743157713_1029375_1347460221_44123a5d170c56a55f7b192d1eec1005_rle_crop_3736079091_0.png.png imagette217612451743419404/1743157394_1019738_1347460506_16affe8990fbc69a2286fd5f1f08abfd_rle_crop_3736075194_0.png.png imagette217612451743419404/1743157713_1029375_1347460214_75eb8ed5795641ba43f3cd6f744c137a_rle_crop_3736079169_0.png.png imagette217612451743419404/1743157394_1019738_1347460248_053e6d7d71fd4dfe17faa33c61893bf0_rle_crop_3736076906_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/a1135c849615ecfa72f60118c8a78f08_70613257.png imagette217612451743419404 21761250 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=21761250 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348235498: '1743157394_1019738_1347460432_7b55f43ba3c5da08ca79bc2ac6e73c2c_rle_crop_3736075312_0.png', 1348235849: '1743157713_1029375_1347460214_75eb8ed5795641ba43f3cd6f744c137a_rle_crop_3736079178_0.png', 1348235848: '1743157713_1029375_1347460218_0afea5bba0f9e0ce6adf76b6cf051478_rle_crop_3736079128_0.png', 1348235847: '1743157713_1029375_1347460221_44123a5d170c56a55f7b192d1eec1005_rle_crop_3736079096_0.png', 1348235846: '1743157713_1029375_1347460221_44123a5d170c56a55f7b192d1eec1005_rle_crop_3736079092_0.png', 1348235502: '1743157394_1019738_1347460248_053e6d7d71fd4dfe17faa33c61893bf0_rle_crop_3736076910_0.png', 1348235501: '1743157394_1019738_1347460422_cd6b87862f5f693650fce1214b378b23_rle_crop_3736075393_0.png', 1348235500: '1743157394_1019738_1347460426_9dbf6447494dc0c058ea9dd4a401f7d8_rle_crop_3736075363_0.png', 1348235499: '1743157394_1019738_1347460429_0038aece92a43f6c2640218998c07f4f_rle_crop_3736075344_0.png', 1348221880: '1743153413_884120_1347460686_6c58fd5eceb76b117be4ea907adb04ab_rle_crop_3735982924_0.png', 1348235497: '1743157394_1019738_1347460465_ac80c150aaa8063159a23095910c823c_rle_crop_3736075293_0.png', 1348235496: '1743157394_1019738_1347460468_9598c399791da8c0a27207954c7f6e91_rle_crop_3736075276_0.png', 1348235495: '1743157394_1019738_1347460504_1a038d01960ef2260afe9b4775460b36_rle_crop_3736075226_0.png', 1348221886: '1743153413_884120_1347460544_a828f45ff43e31ff1c68c45dda096503_rle_crop_3735984745_0.png', 1348221885: '1743153413_884120_1347460547_6456274986329343bdb8eb1e79a94b15_rle_crop_3735984634_0.png', 1348221883: '1743153413_884120_1347460581_8237e2fcdd1944d4512ab7d101de4d26_rle_crop_3735984393_0.png', 1348221882: '1743153413_884120_1347460652_04c6f2472149201a0b5da1bd97ca22a9_rle_crop_3735983365_0.png', 1348221881: '1743153413_884120_1347460682_fc96108bc13193221081cddfdde8d7b6_rle_crop_3735982977_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/15de79934d975297522ef2738785d9dd_14638783.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/a83df703801194af00666c44a8754e6f_16170111.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/af8d308c17a2b425aa0fcc9d2a2c2d63_15153825.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/6988838dc0a099891573bad15f708e1b_75347657.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/ca578e8075aa79d97cd5e26607effbf1_84819222.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/ade92d9168db3fd1fc4466fe50289bdb_58884363.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/f9d7fd17a89bf6d4b70151fca9aee33f_45749705.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/2abd31566ff5f086750fb08f95d06708_35874392.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/f4929b556e73506831ba99d9e8c5f7de_90988890.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/990819ade1259417aeccdc0582ccd214_86319172.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/da9793b1007016ee3c8de572b73eb091_64713584.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/646b4c520ae333c3014e9f52bec70b5a_29317728.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/6dabaa48bc10075aec94bb23782dcff5_41231380.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/ddcceea5924fec9997563de9de47e8fd_89547525.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/2e97835b478ad88920584c6f9cbc3c03_44611436.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/6f5fc72961827fbdf5fe67000df18af9_11256615.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/301fb77f068350d9c3bf0971976b301e_13113300.png change filename to text .imagette217612501743419405/ imagette217612501743419405/1743157713_1029375_1347460221_44123a5d170c56a55f7b192d1eec1005_rle_crop_3736079096_0.png.png imagette217612501743419405/1743157713_1029375_1347460218_0afea5bba0f9e0ce6adf76b6cf051478_rle_crop_3736079128_0.png.png imagette217612501743419405/1743153413_884120_1347460547_6456274986329343bdb8eb1e79a94b15_rle_crop_3735984634_0.png.png imagette217612501743419405/1743157394_1019738_1347460422_cd6b87862f5f693650fce1214b378b23_rle_crop_3736075393_0.png.png imagette217612501743419405/1743157394_1019738_1347460429_0038aece92a43f6c2640218998c07f4f_rle_crop_3736075344_0.png.png imagette217612501743419405/1743157713_1029375_1347460214_75eb8ed5795641ba43f3cd6f744c137a_rle_crop_3736079178_0.png.png imagette217612501743419405/1743157394_1019738_1347460465_ac80c150aaa8063159a23095910c823c_rle_crop_3736075293_0.png.png imagette217612501743419405/1743153413_884120_1347460686_6c58fd5eceb76b117be4ea907adb04ab_rle_crop_3735982924_0.png.png imagette217612501743419405/1743157713_1029375_1347460221_44123a5d170c56a55f7b192d1eec1005_rle_crop_3736079092_0.png.png imagette217612501743419405/1743153413_884120_1347460544_a828f45ff43e31ff1c68c45dda096503_rle_crop_3735984745_0.png.png imagette217612501743419405/1743153413_884120_1347460682_fc96108bc13193221081cddfdde8d7b6_rle_crop_3735982977_0.png.png imagette217612501743419405/1743153413_884120_1347460581_8237e2fcdd1944d4512ab7d101de4d26_rle_crop_3735984393_0.png.png imagette217612501743419405/1743157394_1019738_1347460432_7b55f43ba3c5da08ca79bc2ac6e73c2c_rle_crop_3736075312_0.png.png imagette217612501743419405/1743157394_1019738_1347460504_1a038d01960ef2260afe9b4775460b36_rle_crop_3736075226_0.png.png imagette217612501743419405/1743157394_1019738_1347460426_9dbf6447494dc0c058ea9dd4a401f7d8_rle_crop_3736075363_0.png.png imagette217612501743419405/1743157394_1019738_1347460468_9598c399791da8c0a27207954c7f6e91_rle_crop_3736075276_0.png.png imagette217612501743419405/1743153413_884120_1347460652_04c6f2472149201a0b5da1bd97ca22a9_rle_crop_3735983365_0.png.png imagette217612501743419405/1743157394_1019738_1347460248_053e6d7d71fd4dfe17faa33c61893bf0_rle_crop_3736076910_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/47ad146dd56462a714d2c003b5887f86_9397254.png imagette217612501743419405 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21760969 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21761253,21761254,21761255,21761256,21761257,21761258,21761259,21761260,21761261,21761262,21761263,21761264?tags=metal,kraft,Carton_brun,environnement,Carton_gris,autre_refus,flou,mal_croppe,cartonnette,Teint_Dans_La_Masse,plastique,papier your option no_mail is active, we will not send the real mail to your client args[1347460824] : ('0.03661185448627409',) no score found for photo 1347460824 We are sending mail with results at report@fotonower.com args[1347460686] : ('0.03661185448627409',) no score found for photo 1347460686 We are sending mail with results at report@fotonower.com args[1347460682] : ('0.03661185448627409',) no score found for photo 1347460682 We are sending mail with results at report@fotonower.com args[1347460678] : ('0.03661185448627409',) no score found for photo 1347460678 We are sending mail with results at report@fotonower.com args[1347460676] : ('0.03661185448627409',) no score found for photo 1347460676 We are sending mail with results at report@fotonower.com args[1347460673] : ('0.03661185448627409',) no score found for photo 1347460673 We are sending mail with results at report@fotonower.com args[1347460652] : ('0.03661185448627409',) no score found for photo 1347460652 We are sending mail with results at report@fotonower.com args[1347460645] : ('0.03661185448627409',) no score found for photo 1347460645 We are sending mail with results at report@fotonower.com args[1347460640] : ('0.03661185448627409',) no score found for photo 1347460640 We are sending mail with results at report@fotonower.com args[1347460632] : ('0.03661185448627409',) no score found for photo 1347460632 We are sending mail with results at report@fotonower.com args[1347460631] : ('0.03661185448627409',) no score found for photo 1347460631 We are sending mail with results at report@fotonower.com args[1347460629] : ('0.03661185448627409',) no score found for photo 1347460629 We are sending mail with results at report@fotonower.com args[1347460591] : ('0.03661185448627409',) no score found for photo 1347460591 We are sending mail with results at report@fotonower.com args[1347460588] : ('0.03661185448627409',) no score found for photo 1347460588 We are sending mail with results at report@fotonower.com args[1347460584] : ('0.03661185448627409',) no score found for photo 1347460584 We are sending mail with results at report@fotonower.com args[1347460581] : ('0.03661185448627409',) no score found for photo 1347460581 We are sending mail with results at report@fotonower.com args[1347460579] : ('0.03661185448627409',) no score found for photo 1347460579 We are sending mail with results at report@fotonower.com args[1347460547] : ('0.03661185448627409',) no score found for photo 1347460547 We are sending mail with results at report@fotonower.com args[1347460544] : ('0.03661185448627409',) no score found for photo 1347460544 We are sending mail with results at report@fotonower.com args[1347460541] : ('0.03661185448627409',) no score found for photo 1347460541 We are sending mail with results at report@fotonower.com args[1347460513] : ('0.03661185448627409',) no score found for photo 1347460513 We are sending mail with results at report@fotonower.com args[1347460510] : ('0.03661185448627409',) no score found for photo 1347460510 We are sending mail with results at report@fotonower.com args[1347460507] : ('0.03661185448627409',) no score found for photo 1347460507 We are sending mail with results at report@fotonower.com args[1347460506] : ('0.03661185448627409',) no score found for photo 1347460506 We are sending mail with results at report@fotonower.com args[1347460504] : ('0.03661185448627409',) no score found for photo 1347460504 We are sending mail with results at report@fotonower.com args[1347460472] : ('0.03661185448627409',) no score found for photo 1347460472 We are sending mail with results at report@fotonower.com args[1347460468] : ('0.03661185448627409',) no score found for photo 1347460468 We are sending mail with results at report@fotonower.com args[1347460465] : ('0.03661185448627409',) no score found for photo 1347460465 We are sending mail with results at report@fotonower.com args[1347460461] : ('0.03661185448627409',) no score found for photo 1347460461 We are sending mail with results at report@fotonower.com args[1347460432] : ('0.03661185448627409',) no score found for photo 1347460432 We are sending mail with results at report@fotonower.com args[1347460429] : ('0.03661185448627409',) no score found for photo 1347460429 We are sending mail with results at report@fotonower.com args[1347460426] : ('0.03661185448627409',) no score found for photo 1347460426 We are sending mail with results at report@fotonower.com args[1347460422] : ('0.03661185448627409',) no score found for photo 1347460422 We are sending mail with results at report@fotonower.com args[1347460386] : ('0.03661185448627409',) no score found for photo 1347460386 We are sending mail with results at report@fotonower.com args[1347460384] : ('0.03661185448627409',) no score found for photo 1347460384 We are sending mail with results at report@fotonower.com args[1347460380] : ('0.03661185448627409',) no score found for photo 1347460380 We are sending mail with results at report@fotonower.com args[1347460376] : ('0.03661185448627409',) no score found for photo 1347460376 We are sending mail with results at report@fotonower.com args[1347460254] : ('0.03661185448627409',) no score found for photo 1347460254 We are sending mail with results at report@fotonower.com args[1347460251] : ('0.03661185448627409',) no score found for photo 1347460251 We are sending mail with results at report@fotonower.com args[1347460248] : ('0.03661185448627409',) no score found for photo 1347460248 We are sending mail with results at report@fotonower.com args[1347460221] : ('0.03661185448627409',) no score found for photo 1347460221 We are sending mail with results at report@fotonower.com args[1347460218] : ('0.03661185448627409',) no score found for photo 1347460218 We are sending mail with results at report@fotonower.com args[1347460214] : ('0.03661185448627409',) no score found for photo 1347460214 We are sending mail with results at report@fotonower.com args[1347460208] : ('0.03661185448627409',) no score found for photo 1347460208 We are sending mail with results at report@fotonower.com refus_total : 0.03661185448627409 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=21760969 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_P21760969_31-03-2025_13_10_00.pdf results_Auto_P21760969_31-03-2025_13_10_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760969_31-03-2025_13_10_00.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','21760969','results_Auto_P21760969_31-03-2025_13_10_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760969_31-03-2025_13_10_00.pdf','pdf','','0.45','0.03661185448627409') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21760969]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1347460824, 1347460686, 1347460682, 1347460678, 1347460676, 1347460673, 1347460652, 1347460645, 1347460640, 1347460632, 1347460631, 1347460629, 1347460591, 1347460588, 1347460584, 1347460581, 1347460579, 1347460547, 1347460544, 1347460541, 1347460513, 1347460510, 1347460507, 1347460506, 1347460504, 1347460472, 1347460468, 1347460465, 1347460461, 1347460432, 1347460429, 1347460426, 1347460422, 1347460386, 1347460384, 1347460380, 1347460376, 1347460254, 1347460251, 1347460248, 1347460221, 1347460218, 1347460214, 1347460208] map_info['map_portfolio_photo'] : {21760969: [1347460824, 1347460686, 1347460682, 1347460678, 1347460676, 1347460673, 1347460652, 1347460645, 1347460640, 1347460632, 1347460631, 1347460629, 1347460591, 1347460588, 1347460584, 1347460581, 1347460579, 1347460547, 1347460544, 1347460541, 1347460513, 1347460510, 1347460507, 1347460506, 1347460504, 1347460472, 1347460468, 1347460465, 1347460461, 1347460432, 1347460429, 1347460426, 1347460422, 1347460386, 1347460384, 1347460380, 1347460376, 1347460254, 1347460251, 1347460248, 1347460221, 1347460218, 1347460214, 1347460208]} final : False mtd_id 4302 list_pids : [1347460824, 1347460686, 1347460682, 1347460678, 1347460676, 1347460673, 1347460652, 1347460645, 1347460640, 1347460632, 1347460631, 1347460629, 1347460591, 1347460588, 1347460584, 1347460581, 1347460579, 1347460547, 1347460544, 1347460541, 1347460513, 1347460510, 1347460507, 1347460506, 1347460504, 1347460472, 1347460468, 1347460465, 1347460461, 1347460432, 1347460429, 1347460426, 1347460422, 1347460386, 1347460384, 1347460380, 1347460376, 1347460254, 1347460251, 1347460248, 1347460221, 1347460218, 1347460214, 1347460208] 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, '2708878') ('4302', '21760969', '1347460824', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460686', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460682', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460678', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460676', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460673', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460652', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460645', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460640', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460632', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460631', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460629', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460591', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460588', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460584', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460581', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460579', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460547', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460544', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460541', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460513', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460510', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460507', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460506', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460504', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460472', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460468', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460465', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460461', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460432', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460429', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460426', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460422', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460386', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460384', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460380', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460376', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460254', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460251', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460248', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460221', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460218', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460214', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460208', None, None, None, None, None, '2708878') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 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', '21760969', '1347460824', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460686', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460682', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460678', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460676', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460673', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460652', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460645', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460640', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460632', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460631', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460629', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460591', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460588', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460584', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460581', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460579', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460547', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460544', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460541', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460513', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460510', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460507', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460506', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460504', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460472', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460468', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460465', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460461', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460432', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460429', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460426', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460422', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460386', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460384', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460380', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460376', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460254', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460251', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460248', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460221', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460218', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460214', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460208', None, None, None, None, None, '2708878')] time used for this insertion : 0.01827383041381836 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.845258474349976 time spend to save output : 0.018785953521728516 total time spend for step 4 : 12.864044427871704 step5:split_time_score Mon Mar 31 13:10:11 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 : ['21760969'] 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 : [('21760969',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21760969) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1347460645: {'path': 'temp/1743419398_3306396_1347460645_2acc685296aa19022cc88730f85c9965.jpg', 'extension': 'jpg'}, 1347460652: {'path': 'temp/1743419398_3306396_1347460652_04c6f2472149201a0b5da1bd97ca22a9.jpg', 'extension': 'jpg'}, 1347460673: {'path': 'temp/1743419398_3306396_1347460673_2a8963df382eb7b37ab076cc4eb327a8.jpg', 'extension': 'jpg'}, 1347460676: {'path': 'temp/1743419398_3306396_1347460676_49260159f5e74f9693338e1d853828fd.jpg', 'extension': 'jpg'}, 1347460678: {'path': 'temp/1743419398_3306396_1347460678_8e7a5833f36cec474f8e09c454d2876c.jpg', 'extension': 'jpg'}, 1347460682: {'path': 'temp/1743419398_3306396_1347460682_fc96108bc13193221081cddfdde8d7b6.jpg', 'extension': 'jpg'}, 1347460686: {'path': 'temp/1743419398_3306396_1347460686_6c58fd5eceb76b117be4ea907adb04ab.jpg', 'extension': 'jpg'}, 1347460824: {'path': 'temp/1743419398_3306396_1347460824_bb700f725da30a3debfe9a18c1a90e24.jpg', 'extension': 'jpg'}, 1347460472: {'path': 'temp/1743419398_3306396_1347460472_6212640b8a62c27cde1d145797e2207f.jpg', 'extension': 'jpg'}, 1347460504: {'path': 'temp/1743419398_3306396_1347460504_1a038d01960ef2260afe9b4775460b36.jpg', 'extension': 'jpg'}, 1347460506: {'path': 'temp/1743419398_3306396_1347460506_16affe8990fbc69a2286fd5f1f08abfd.jpg', 'extension': 'jpg'}, 1347460507: {'path': 'temp/1743419398_3306396_1347460507_df9634ada26747709697b95edafed5a5.jpg', 'extension': 'jpg'}, 1347460510: {'path': 'temp/1743419398_3306396_1347460510_0eb6fcdbd8e276ccd6cfe49c6d7a09aa.jpg', 'extension': 'jpg'}, 1347460513: {'path': 'temp/1743419398_3306396_1347460513_b2bcfeb31719208b1d87e8bf26dca67b.jpg', 'extension': 'jpg'}, 1347460541: {'path': 'temp/1743419398_3306396_1347460541_95949dca97c741d7ed9414c8ef143be4.jpg', 'extension': 'jpg'}, 1347460544: {'path': 'temp/1743419398_3306396_1347460544_a828f45ff43e31ff1c68c45dda096503.jpg', 'extension': 'jpg'}, 1347460547: {'path': 'temp/1743419398_3306396_1347460547_6456274986329343bdb8eb1e79a94b15.jpg', 'extension': 'jpg'}, 1347460579: {'path': 'temp/1743419398_3306396_1347460579_a1288d69a9dfff43e2d6a6c6eb8847c1.jpg', 'extension': 'jpg'}, 1347460581: {'path': 'temp/1743419398_3306396_1347460581_8237e2fcdd1944d4512ab7d101de4d26.jpg', 'extension': 'jpg'}, 1347460584: {'path': 'temp/1743419398_3306396_1347460584_d3ca85776dc7c37b052942bb6c8966db.jpg', 'extension': 'jpg'}, 1347460588: {'path': 'temp/1743419398_3306396_1347460588_74d1a81f306fe88414862c1ba0867868.jpg', 'extension': 'jpg'}, 1347460591: {'path': 'temp/1743419398_3306396_1347460591_386b9cbfe8d1e12c31e32c2a6d1d9306.jpg', 'extension': 'jpg'}, 1347460629: {'path': 'temp/1743419398_3306396_1347460629_9afe82625340cf6042e17f0c51442ed5.jpg', 'extension': 'jpg'}, 1347460631: {'path': 'temp/1743419398_3306396_1347460631_21927abd8af5c3cb2618fb133a7e8e0b.jpg', 'extension': 'jpg'}, 1347460632: {'path': 'temp/1743419398_3306396_1347460632_cd5183d0aad10307440bd8827b4a24c5.jpg', 'extension': 'jpg'}, 1347460640: {'path': 'temp/1743419398_3306396_1347460640_1b1d31510313d9fbdb782b64c1259b05.jpg', 'extension': 'jpg'}, 1347460208: {'path': 'temp/1743419398_3306396_1347460208_a89623d46b6ed64dca349b166165e199.jpg', 'extension': 'jpg'}, 1347460214: {'path': 'temp/1743419398_3306396_1347460214_75eb8ed5795641ba43f3cd6f744c137a.jpg', 'extension': 'jpg'}, 1347460218: {'path': 'temp/1743419398_3306396_1347460218_0afea5bba0f9e0ce6adf76b6cf051478.jpg', 'extension': 'jpg'}, 1347460221: {'path': 'temp/1743419398_3306396_1347460221_44123a5d170c56a55f7b192d1eec1005.jpg', 'extension': 'jpg'}, 1347460248: {'path': 'temp/1743419398_3306396_1347460248_053e6d7d71fd4dfe17faa33c61893bf0.jpg', 'extension': 'jpg'}, 1347460251: {'path': 'temp/1743419398_3306396_1347460251_07e7cb108df3324770fe79fefd7fa1de.jpg', 'extension': 'jpg'}, 1347460254: {'path': 'temp/1743419398_3306396_1347460254_6d7331ec19e5084061ca3048ccc33afc.jpg', 'extension': 'jpg'}, 1347460376: {'path': 'temp/1743419398_3306396_1347460376_34303045d47bdab710b089dcd634ef06.jpg', 'extension': 'jpg'}, 1347460380: {'path': 'temp/1743419398_3306396_1347460380_6422931ba9efaeeab74bbeb7ed05303e.jpg', 'extension': 'jpg'}, 1347460384: {'path': 'temp/1743419398_3306396_1347460384_c77c2a64d3d6d9a806bc8bb5cf6e9e44.jpg', 'extension': 'jpg'}, 1347460386: {'path': 'temp/1743419398_3306396_1347460386_433ac4c6adeb6bfa8d0c82e243543438.jpg', 'extension': 'jpg'}, 1347460422: {'path': 'temp/1743419398_3306396_1347460422_cd6b87862f5f693650fce1214b378b23.jpg', 'extension': 'jpg'}, 1347460426: {'path': 'temp/1743419398_3306396_1347460426_9dbf6447494dc0c058ea9dd4a401f7d8.jpg', 'extension': 'jpg'}, 1347460429: {'path': 'temp/1743419398_3306396_1347460429_0038aece92a43f6c2640218998c07f4f.jpg', 'extension': 'jpg'}, 1347460432: {'path': 'temp/1743419398_3306396_1347460432_7b55f43ba3c5da08ca79bc2ac6e73c2c.jpg', 'extension': 'jpg'}, 1347460461: {'path': 'temp/1743419398_3306396_1347460461_11265986149a40f5c6318b069e8f1465.jpg', 'extension': 'jpg'}, 1347460465: {'path': 'temp/1743419398_3306396_1347460465_ac80c150aaa8063159a23095910c823c.jpg', 'extension': 'jpg'}, 1347460468: {'path': 'temp/1743419398_3306396_1347460468_9598c399791da8c0a27207954c7f6e91.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 = 21760969; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 21760969 group by h (('11', 44),) 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=21760969 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 (21760969) 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 (21760969) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26032025 21760969 Nombre de photos uploadées : 44 / 23040 (0%) 26032025 21760969 Nombre de photos taguées (types de déchets): 0 / 44 (0%) 26032025 21760969 Nombre de photos taguées (volume) : 0 / 44 (0%) [{'photo_id': 1347460221, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/44123a5d170c56a55f7b192d1eec1005.jpg', 'username': None, 'uploaded_at': 1742984234, 'text': 'image_26032025_11_15_04_10150.jpg'}, {'photo_id': 1347460218, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/0afea5bba0f9e0ce6adf76b6cf051478.jpg', 'username': None, 'uploaded_at': 1742984234, 'text': 'image_26032025_11_15_14_10136.jpg'}, {'photo_id': 1347460214, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/75eb8ed5795641ba43f3cd6f744c137a.jpg', 'username': None, 'uploaded_at': 1742984234, 'text': 'image_26032025_11_15_25_10138.jpg'}, {'photo_id': 1347460208, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/a89623d46b6ed64dca349b166165e199.jpg', 'username': None, 'uploaded_at': 1742984234, 'text': 'image_26032025_11_15_35_10144.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ???????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002219676971435547 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21760969, '2025-03-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1689284,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.021984577178955078 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= 1689284 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21717852, 'dashboard_result_id': 9667062, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717852_27-03-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717860, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717864, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21717911, 'dashboard_result_id': 9667063, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717911_27-03-2025_05_35_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717923, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21718208, 'dashboard_result_id': 9667064, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718208_27-03-2025_05_36_56.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718244, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21718593, 'dashboard_result_id': 9667065, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718593_27-03-2025_05_36_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718595, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718603, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718605, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21718923, 'dashboard_result_id': 9667066, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718923_27-03-2025_05_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21718948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718959, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21719113, 'dashboard_result_id': 9667067, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719113_27-03-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719149, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21719546, 'dashboard_result_id': 9667068, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719546_27-03-2025_05_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719597, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719606, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21720025, 'dashboard_result_id': 9667069, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720025_27-03-2025_05_39_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21720026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720037, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21720583, 'dashboard_result_id': 9667070, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720583_27-03-2025_05_39_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720595, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21720905, 'dashboard_result_id': 9667071, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720905_27-03-2025_05_40_51.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21720936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720947, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21721639, 'dashboard_result_id': 9667072, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21721639_27-03-2025_05_40_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21721688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21721689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21721690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21721691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21721692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21721693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21721694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21721695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21721696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21721697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21721698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21721699, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21722303, 'dashboard_result_id': 9667073, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722303_27-03-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21722328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21722330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21722333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21722335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21722336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21722339, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21722992, 'dashboard_result_id': 9667074, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722992_27-03-2025_05_41_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723005, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21723967, 'dashboard_result_id': 9667075, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21723967_27-03-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21723968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21723969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21723970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21723971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21723974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21723977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723979, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21724584, 'dashboard_result_id': 9667076, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21724584_27-03-2025_05_42_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21724585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21724586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21724587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21724588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21724589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21724590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21724591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21724592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21724593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21724594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21724595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21724596, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21760961, 'dashboard_result_id': 9667077, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760961_31-03-2025_13_06_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761516, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761525, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21760962, 'dashboard_result_id': 9667078, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760962_31-03-2025_13_07_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761447, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21760963, 'dashboard_result_id': 9667079, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760963_31-03-2025_13_07_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21761412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761423, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21760964, 'dashboard_result_id': 9667080, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760964_31-03-2025_13_08_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761399, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21760965, 'dashboard_result_id': 9667081, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760965_31-03-2025_13_08_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761353, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761358, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21760966, 'dashboard_result_id': 9667082, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760966_31-03-2025_13_09_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21761316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761320, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761327, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21760967, 'dashboard_result_id': 9667083, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760967_27-03-2025_05_46_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21761290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761294, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761295, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761297, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761301, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21760968, 'dashboard_result_id': 9667084, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760968_31-03-2025_13_09_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21761266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761277, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21760969, 'dashboard_result_id': 9667085, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760969_27-03-2025_05_47_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21761241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761252, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21760970, 'dashboard_result_id': 9667086, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760970_27-03-2025_05_47_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761204, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21760971, 'dashboard_result_id': 9667087, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760971_27-03-2025_05_48_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761155, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21760985, 'dashboard_result_id': 9667088, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760985_27-03-2025_05_48_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761106, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21725475, 'dashboard_result_id': 9667089, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725475_27-03-2025_05_49_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725607, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21725478, 'dashboard_result_id': 9667090, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725478_27-03-2025_05_53_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725537, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21725481, 'dashboard_result_id': 9667091, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725481_27-03-2025_05_54_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725567, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725578, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21725483, 'dashboard_result_id': 9667092, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725483_27-03-2025_05_54_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725525, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21726952, 'dashboard_result_id': 9667093, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21726952_27-03-2025_05_55_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21726983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21726984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21726985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21726986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21726987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21726988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21726989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21726990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21726991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21726992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21726993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21726994, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21728821, 'dashboard_result_id': 9667094, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21728821_27-03-2025_05_56_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21728846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21728847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21728848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21728849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21728850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21728851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21728852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21728853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21728854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21728855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21728856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21728857, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21729717, 'dashboard_result_id': 9667095, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21729717_27-03-2025_05_56_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21729742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21729743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21729744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21729745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21729746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21729747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21729748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21729749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21729750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21729751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21729752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21729753, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21730956, 'dashboard_result_id': 9667096, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21730956_27-03-2025_05_57_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21730958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21730959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21730960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21730961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21730962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21730963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21730964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21730965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21730966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21730967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21730968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21730969, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21731666, 'dashboard_result_id': 9667097, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21731666_27-03-2025_05_57_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21731687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21731688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21731689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21731690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21731691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21731692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21731693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21731694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21731695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21731696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21731697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21731698, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21732332, 'dashboard_result_id': 9667098, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21732332_27-03-2025_05_58_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21732337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21732338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21732339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21732341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21732342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21732344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21732346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21732348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21732349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21732350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21732352, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21732353, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21733447, 'dashboard_result_id': 9667099, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21733447_27-03-2025_05_58_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21733450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21733451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21733452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21733453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21733454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21733455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21733456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21733457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21733458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21733459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21733460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21733461, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21734263, 'dashboard_result_id': 9667100, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21734263_27-03-2025_06_01_08.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21734264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21734265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21734266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21734267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21734268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21734269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21734270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21734271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21734272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21734273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21734274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21734275, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21735300, 'dashboard_result_id': 9667101, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735300_27-03-2025_06_03_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735310, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735312, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21735815, 'dashboard_result_id': 9667102, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735815_27-03-2025_06_04_37.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735881, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21736891, 'dashboard_result_id': 9667103, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21736891_27-03-2025_06_05_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21736909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21736910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21736911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21736912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21736913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21736914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21736915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21736916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21736917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21736918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21736919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21736920, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21738482, 'dashboard_result_id': 9667104, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21738482_27-03-2025_06_06_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21738507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21738508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21738509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21738510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21738511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21738512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21738513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21738514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21738515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21738516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21738517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21738518, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21739307, 'dashboard_result_id': 9667105, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739307_27-03-2025_06_07_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21739343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739352, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21739892, 'dashboard_result_id': 9667106, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739892_27-03-2025_06_07_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21739958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739969, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21740539, 'dashboard_result_id': 9667107, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21740539_27-03-2025_06_08_08.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21740540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21740541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21740542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21740543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21740544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21740545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21740546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21740547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21740548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21740549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21740550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21740551, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21741201, 'dashboard_result_id': 9667108, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21741201_27-03-2025_06_08_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21741243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21741244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21741245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21741246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21741247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21741248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21741249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21741250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21741251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21741252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21741253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21741254, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21742216, 'dashboard_result_id': 9667109, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_27-03-2025_06_09_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21742277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21742278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21742279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21742280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21742281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21742282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21742283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21742284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21742285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21742286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21742287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21742288, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21743303, 'dashboard_result_id': 9667110, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21743303_27-03-2025_06_10_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21743353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21743354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21743355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21743356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21743357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21743358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21743359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21743360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21743361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21743362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21743363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21743364, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21744306, 'dashboard_result_id': 9667111, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21744306_27-03-2025_06_11_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21744311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21744312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21744313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21744314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21744315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21744316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21744317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21744318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21744319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21744320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21744321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21744322, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21745274, 'dashboard_result_id': 9667112, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21745274_27-03-2025_06_11_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21745338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21745339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21745340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21745341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21745342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21745343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21745344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21745345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21745346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21745347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21745348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21745349, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21746490, 'dashboard_result_id': 9667113, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21746490_27-03-2025_06_12_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21746493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21746494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21746495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21746496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21746497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21746498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21746499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21746500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21746501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21746502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21746503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21746504, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21747195, 'dashboard_result_id': 9667114, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21747195_27-03-2025_06_12_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21747209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21747210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21747211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21747212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21747213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21747214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21747215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21747216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21747217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21747218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21747219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21747220, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21748496, 'dashboard_result_id': 9667115, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21748496_27-03-2025_06_13_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21748497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21748498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21748499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21748500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21748501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21748502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21748503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21748504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21748505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21748506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21748507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21748508, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21749070, 'dashboard_result_id': 9667116, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749070_27-03-2025_06_14_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21749097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749100, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21749627, 'dashboard_result_id': 9667117, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749627_27-03-2025_06_14_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21749628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749639, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21750331, 'dashboard_result_id': 9667118, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750331_27-03-2025_06_15_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750343, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21750903, 'dashboard_result_id': 9667119, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750903_27-03-2025_06_16_10.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750915, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21752014, 'dashboard_result_id': 9667120, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21752014_27-03-2025_06_16_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21752063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21752064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21752065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21752066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21752067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21752068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21752069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21752070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21752071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21752072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21752073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21752074, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21753280, 'dashboard_result_id': 9667121, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21753280_27-03-2025_06_17_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21753282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21753283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21753284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21753285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21753286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21753287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21753288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21753289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21753290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21753291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21753292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21753293, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21754177, 'dashboard_result_id': 9667122, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21754177_27-03-2025_06_18_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21754178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21754179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21754180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21754181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21754182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21754183, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21754184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21754185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21754186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21754187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21754188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21754189, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21755139, 'dashboard_result_id': 9667123, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21755139_27-03-2025_06_18_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21755140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21755141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21755142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21755143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21755144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21755145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21755146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21755147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21755148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21755149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21755150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21755151, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21756185, 'dashboard_result_id': 9667124, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756185_27-03-2025_06_19_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756197, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21756877, 'dashboard_result_id': 9667125, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756877_27-03-2025_06_20_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756913, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700517, 'mtr_portfolio_id': 21757954, 'dashboard_result_id': 9667126, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21757954_27-03-2025_06_20_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21757955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21757956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21757957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21757958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21757959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21757960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21757961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21757962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21757963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21757964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21757965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21757966, '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 = 21717852 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': 2695812, 'mtr_portfolio_id': 21717852, 'created_at': datetime.datetime(2025, 3, 27, 5, 34, 30), 'result': '0.08242603219735589', 'result_long': None, 'result_double': None}] Qualite : 0.08242603219735589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21717852 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717852_27-03-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21717852 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717852_27-03-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717860, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717864, 'pht': 3726}}" where mtr_portfolio_id = 21717852 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21717852 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667062, 0.08242603219735589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717852_27-03-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717860, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717864, '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 = 21717911 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': 2695813, 'mtr_portfolio_id': 21717911, 'created_at': datetime.datetime(2025, 3, 27, 5, 35, 35), 'result': '0.03767968681777446', 'result_long': None, 'result_double': None}] Qualite : 0.03767968681777446 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21717911 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717911_27-03-2025_05_35_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21717911 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717911_27-03-2025_05_35_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717923, 'pht': 3726}}" where mtr_portfolio_id = 21717911 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21717911 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667063, 0.03767968681777446, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717911_27-03-2025_05_35_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717923, '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 = 21718208 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': 2695814, 'mtr_portfolio_id': 21718208, 'created_at': datetime.datetime(2025, 3, 27, 5, 36, 51), 'result': '0.04172616201372019', 'result_long': None, 'result_double': None}] Qualite : 0.04172616201372019 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21718208 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718208_27-03-2025_05_36_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21718208 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718208_27-03-2025_05_36_56.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718244, 'pht': 3726}}" where mtr_portfolio_id = 21718208 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21718208 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667064, 0.04172616201372019, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718208_27-03-2025_05_36_56.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718244, '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 = 21718593 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': 2695815, 'mtr_portfolio_id': 21718593, 'created_at': datetime.datetime(2025, 3, 27, 5, 36, 40), 'result': '0.0462154386449113', 'result_long': None, 'result_double': None}] Qualite : 0.0462154386449113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21718593 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718593_27-03-2025_05_36_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21718593 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718593_27-03-2025_05_36_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718595, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718603, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718605, 'pht': 3726}}" where mtr_portfolio_id = 21718593 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21718593 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667065, 0.0462154386449113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718593_27-03-2025_05_36_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718595, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718603, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718605, '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 = 21718923 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': 2695816, 'mtr_portfolio_id': 21718923, 'created_at': datetime.datetime(2025, 3, 27, 5, 37), 'result': '0.03791537531171332', 'result_long': None, 'result_double': None}] Qualite : 0.03791537531171332 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21718923 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718923_27-03-2025_05_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21718923 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718923_27-03-2025_05_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21718948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718959, 'pht': 3726}}" where mtr_portfolio_id = 21718923 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21718923 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667066, 0.03791537531171332, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718923_27-03-2025_05_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21718948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718959, '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 = 21719113 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': 2695817, 'mtr_portfolio_id': 21719113, 'created_at': datetime.datetime(2025, 3, 27, 5, 37, 31), 'result': '0.03733418979336736', 'result_long': None, 'result_double': None}] Qualite : 0.03733418979336736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21719113 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719113_27-03-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21719113 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719113_27-03-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719149, 'pht': 3726}}" where mtr_portfolio_id = 21719113 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21719113 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667067, 0.03733418979336736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719113_27-03-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719149, '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 = 21719546 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': 2695818, 'mtr_portfolio_id': 21719546, 'created_at': datetime.datetime(2025, 3, 27, 5, 38, 29), 'result': '0.04355874516769005', 'result_long': None, 'result_double': None}] Qualite : 0.04355874516769005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21719546 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719546_27-03-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21719546 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719546_27-03-2025_05_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719597, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719606, 'pht': 3726}}" where mtr_portfolio_id = 21719546 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21719546 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667068, 0.04355874516769005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719546_27-03-2025_05_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719597, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719606, '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 = 21720025 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': 2695819, 'mtr_portfolio_id': 21720025, 'created_at': datetime.datetime(2025, 3, 27, 5, 39, 3), 'result': '0.040838733558275074', 'result_long': None, 'result_double': None}] Qualite : 0.040838733558275074 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21720025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720025_27-03-2025_05_39_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21720025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720025_27-03-2025_05_39_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21720026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720037, 'pht': 3726}}" where mtr_portfolio_id = 21720025 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21720025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667069, 0.040838733558275074, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720025_27-03-2025_05_39_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21720026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720037, '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 = 21720583 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': 2695820, 'mtr_portfolio_id': 21720583, 'created_at': datetime.datetime(2025, 3, 27, 5, 39, 34), 'result': '0.047282836661503395', 'result_long': None, 'result_double': None}] Qualite : 0.047282836661503395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21720583 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720583_27-03-2025_05_39_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21720583 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720583_27-03-2025_05_39_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720595, 'pht': 3726}}" where mtr_portfolio_id = 21720583 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21720583 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667070, 0.047282836661503395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720583_27-03-2025_05_39_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720595, '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 = 21720905 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': 2695821, 'mtr_portfolio_id': 21720905, 'created_at': datetime.datetime(2025, 3, 27, 5, 40, 46), 'result': '0.04248062650645878', 'result_long': None, 'result_double': None}] Qualite : 0.04248062650645878 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21720905 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720905_27-03-2025_05_40_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21720905 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720905_27-03-2025_05_40_51.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21720936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720947, 'pht': 3726}}" where mtr_portfolio_id = 21720905 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21720905 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667071, 0.04248062650645878, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720905_27-03-2025_05_40_51.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21720936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720947, '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 = 21721639 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': 2695822, 'mtr_portfolio_id': 21721639, 'created_at': datetime.datetime(2025, 3, 27, 5, 40, 30), 'result': '0.04164583386365705', 'result_long': None, 'result_double': None}] Qualite : 0.04164583386365705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21721639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21721639_27-03-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21721639 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21721639_27-03-2025_05_40_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21721688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21721689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21721690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21721691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21721692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21721693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21721694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21721695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21721696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21721697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21721698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21721699, 'pht': 3726}}" where mtr_portfolio_id = 21721639 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21721639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667072, 0.04164583386365705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21721639_27-03-2025_05_40_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21721688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21721689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21721690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21721691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21721692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21721693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21721694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21721695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21721696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21721697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21721698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21721699, '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 = 21722303 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': 2695823, 'mtr_portfolio_id': 21722303, 'created_at': datetime.datetime(2025, 3, 27, 5, 40, 58), 'result': '0.04277598450772852', 'result_long': None, 'result_double': None}] Qualite : 0.04277598450772852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21722303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722303_27-03-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21722303 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722303_27-03-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21722328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21722330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21722333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21722335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21722336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21722339, 'pht': 3726}}" where mtr_portfolio_id = 21722303 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21722303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667073, 0.04277598450772852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722303_27-03-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21722328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21722330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21722333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21722335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21722336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21722339, '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 = 21722992 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': 2695824, 'mtr_portfolio_id': 21722992, 'created_at': datetime.datetime(2025, 3, 27, 5, 41, 3), 'result': '0.041689454190622324', 'result_long': None, 'result_double': None}] Qualite : 0.041689454190622324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21722992 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722992_27-03-2025_05_41_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21722992 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722992_27-03-2025_05_41_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723005, 'pht': 3726}}" where mtr_portfolio_id = 21722992 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21722992 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667074, 0.041689454190622324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722992_27-03-2025_05_41_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723005, '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 = 21723967 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': 2695825, 'mtr_portfolio_id': 21723967, 'created_at': datetime.datetime(2025, 3, 27, 5, 41, 29), 'result': '0.054171806367155545', 'result_long': None, 'result_double': None}] Qualite : 0.054171806367155545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21723967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21723967_27-03-2025_05_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21723967 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21723967_27-03-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21723968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21723969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21723970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21723971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21723974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21723977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723979, 'pht': 3726}}" where mtr_portfolio_id = 21723967 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21723967 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667075, 0.054171806367155545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21723967_27-03-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21723968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21723969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21723970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21723971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21723974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21723977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723979, '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 = 21724584 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': 2695826, 'mtr_portfolio_id': 21724584, 'created_at': datetime.datetime(2025, 3, 27, 5, 42, 29), 'result': '0.024855813983146163', 'result_long': None, 'result_double': None}] Qualite : 0.024855813983146163 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21724584 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21724584_27-03-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21724584 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21724584_27-03-2025_05_42_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21724585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21724586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21724587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21724588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21724589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21724590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21724591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21724592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21724593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21724594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21724595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21724596, 'pht': 3726}}" where mtr_portfolio_id = 21724584 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21724584 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667076, 0.024855813983146163, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21724584_27-03-2025_05_42_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21724585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21724586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21724587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21724588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21724589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21724590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21724591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21724592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21724593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21724594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21724595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21724596, '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 = 21760961 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': 2708870, 'mtr_portfolio_id': 21760961, 'created_at': datetime.datetime(2025, 3, 31, 13, 6, 31), 'result': '0.03781035579696616', 'result_long': None, 'result_double': None}] Qualite : 0.03781035579696616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760961_31-03-2025_13_06_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760961_31-03-2025_13_06_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761516, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761525, 'pht': 3726}}" where mtr_portfolio_id = 21760961 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21760961 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667077, 0.03781035579696616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760961_31-03-2025_13_06_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761516, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761525, '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 = 21760962 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': 2708871, 'mtr_portfolio_id': 21760962, 'created_at': datetime.datetime(2025, 3, 31, 13, 6, 58), 'result': '0.040552118117366996', 'result_long': None, 'result_double': None}] Qualite : 0.040552118117366996 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760962 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760962_31-03-2025_13_07_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760962 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760962_31-03-2025_13_07_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761447, 'pht': 3726}}" where mtr_portfolio_id = 21760962 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21760962 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667078, 0.040552118117366996, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760962_31-03-2025_13_07_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761447, '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 = 21760963 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': 2708872, 'mtr_portfolio_id': 21760963, 'created_at': datetime.datetime(2025, 3, 31, 13, 7, 29), 'result': '0.03853942743627672', 'result_long': None, 'result_double': None}] Qualite : 0.03853942743627672 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760963 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760963_31-03-2025_13_07_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760963 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760963_31-03-2025_13_07_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21761412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761423, 'pht': 3726}}" where mtr_portfolio_id = 21760963 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21760963 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667079, 0.03853942743627672, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760963_31-03-2025_13_07_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21761412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761423, '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 = 21760964 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': 2708873, 'mtr_portfolio_id': 21760964, 'created_at': datetime.datetime(2025, 3, 31, 13, 7, 57), 'result': '0.04932714198400862', 'result_long': None, 'result_double': None}] Qualite : 0.04932714198400862 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760964_31-03-2025_13_08_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760964_31-03-2025_13_08_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761399, 'pht': 3726}}" where mtr_portfolio_id = 21760964 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21760964 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667080, 0.04932714198400862, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760964_31-03-2025_13_08_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761399, '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 = 21760965 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': 2708874, 'mtr_portfolio_id': 21760965, 'created_at': datetime.datetime(2025, 3, 31, 13, 8, 30), 'result': '0.04584826871293527', 'result_long': None, 'result_double': None}] Qualite : 0.04584826871293527 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760965 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760965_31-03-2025_13_08_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760965 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760965_31-03-2025_13_08_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761353, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761358, 'pht': 3726}}" where mtr_portfolio_id = 21760965 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21760965 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667081, 0.04584826871293527, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760965_31-03-2025_13_08_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761353, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761358, '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 = 21760966 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': 2708875, 'mtr_portfolio_id': 21760966, 'created_at': datetime.datetime(2025, 3, 31, 13, 9, 3), 'result': '0.0413990781724574', 'result_long': None, 'result_double': None}] Qualite : 0.0413990781724574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760966 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760966_31-03-2025_13_09_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760966 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760966_31-03-2025_13_09_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21761316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761320, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761327, 'pht': 3726}}" where mtr_portfolio_id = 21760966 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21760966 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667082, 0.0413990781724574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760966_31-03-2025_13_09_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21761316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761320, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761327, '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 = 21760967 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': 2708876, 'mtr_portfolio_id': 21760967, 'created_at': datetime.datetime(2025, 3, 31, 13, 9, 35), 'result': '0.0465958862517004', 'result_long': None, 'result_double': None}] Qualite : 0.0465958862517004 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760967_31-03-2025_13_09_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760967 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760967_31-03-2025_13_09_40.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21761290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761294, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761295, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761297, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761301, 'pht': 3726}}" where mtr_portfolio_id = 21760967 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21760967 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667083, 0.0465958862517004, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760967_31-03-2025_13_09_40.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21761290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761294, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761295, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761297, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761301, '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 = 21760968 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': 2708877, 'mtr_portfolio_id': 21760968, 'created_at': datetime.datetime(2025, 3, 31, 13, 9, 35), 'result': '0.033586868945082726', 'result_long': None, 'result_double': None}] Qualite : 0.033586868945082726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760968 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760968_31-03-2025_13_09_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760968 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760968_31-03-2025_13_09_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21761266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761277, 'pht': 3726}}" where mtr_portfolio_id = 21760968 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21760968 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667084, 0.033586868945082726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760968_31-03-2025_13_09_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21761266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761277, '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 = 21760969 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': 2708878, 'mtr_portfolio_id': 21760969, 'created_at': datetime.datetime(2025, 3, 31, 13, 9, 58), 'result': '0.03661185448627409', 'result_long': None, 'result_double': None}] Qualite : 0.03661185448627409 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760969 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760969_31-03-2025_13_10_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760969 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760969_31-03-2025_13_10_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21761241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761252, 'pht': 3726}}" where mtr_portfolio_id = 21760969 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21760969 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667085, 0.03661185448627409, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760969_31-03-2025_13_10_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21761241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761252, '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 = 21760970 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 = 21760970 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 = 21760970 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760970 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 = 21760970 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 = 21760970 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760970_27-03-2025_05_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760970 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760970_27-03-2025_05_47_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761204, 'pht': 3726}}" where mtr_portfolio_id = 21760970 and dashboard_run_id = 1700517 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760971 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 = 21760971 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 = 21760971 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760971 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 = 21760971 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 = 21760971 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760971_27-03-2025_05_48_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760971 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760971_27-03-2025_05_48_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761155, 'pht': 3726}}" where mtr_portfolio_id = 21760971 and dashboard_run_id = 1700517 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760985 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 = 21760985 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 = 21760985 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760985 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 = 21760985 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 = 21760985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760985_27-03-2025_05_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760985 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760985_27-03-2025_05_48_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761106, 'pht': 3726}}" where mtr_portfolio_id = 21760985 and dashboard_run_id = 1700517 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21725475 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': 2695839, 'mtr_portfolio_id': 21725475, 'created_at': datetime.datetime(2025, 3, 27, 5, 49, 31), 'result': '0.018323058577155462', 'result_long': None, 'result_double': None}] Qualite : 0.018323058577155462 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21725475 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725475_27-03-2025_05_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21725475 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725475_27-03-2025_05_49_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725607, 'pht': 3726}}" where mtr_portfolio_id = 21725475 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21725475 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667089, 0.018323058577155462, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725475_27-03-2025_05_49_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725607, '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 = 21725478 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': 2695840, 'mtr_portfolio_id': 21725478, 'created_at': datetime.datetime(2025, 3, 27, 5, 53, 30), 'result': '0.04204813372028109', 'result_long': None, 'result_double': None}] Qualite : 0.04204813372028109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21725478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725478_27-03-2025_05_53_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21725478 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725478_27-03-2025_05_53_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725537, 'pht': 3726}}" where mtr_portfolio_id = 21725478 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21725478 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667090, 0.04204813372028109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725478_27-03-2025_05_53_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725537, '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 = 21725481 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': 2695841, 'mtr_portfolio_id': 21725481, 'created_at': datetime.datetime(2025, 3, 27, 5, 54), 'result': '0.03394311874189647', 'result_long': None, 'result_double': None}] Qualite : 0.03394311874189647 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21725481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725481_27-03-2025_05_54_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21725481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725481_27-03-2025_05_54_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725567, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725578, 'pht': 3726}}" where mtr_portfolio_id = 21725481 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21725481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667091, 0.03394311874189647, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725481_27-03-2025_05_54_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725567, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725578, '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 = 21725483 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': 2695842, 'mtr_portfolio_id': 21725483, 'created_at': datetime.datetime(2025, 3, 27, 5, 54, 33), 'result': '0.03773588700998158', 'result_long': None, 'result_double': None}] Qualite : 0.03773588700998158 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21725483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725483_27-03-2025_05_54_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21725483 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725483_27-03-2025_05_54_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725525, 'pht': 3726}}" where mtr_portfolio_id = 21725483 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21725483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667092, 0.03773588700998158, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725483_27-03-2025_05_54_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725525, '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 = 21726952 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': 2695843, 'mtr_portfolio_id': 21726952, 'created_at': datetime.datetime(2025, 3, 27, 5, 55, 27), 'result': '0.04764546879902959', 'result_long': None, 'result_double': None}] Qualite : 0.04764546879902959 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21726952 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21726952_27-03-2025_05_55_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21726952 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21726952_27-03-2025_05_55_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21726983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21726984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21726985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21726986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21726987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21726988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21726989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21726990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21726991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21726992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21726993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21726994, 'pht': 3726}}" where mtr_portfolio_id = 21726952 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21726952 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667093, 0.04764546879902959, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21726952_27-03-2025_05_55_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21726983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21726984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21726985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21726986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21726987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21726988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21726989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21726990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21726991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21726992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21726993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21726994, '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 = 21728821 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': 2695844, 'mtr_portfolio_id': 21728821, 'created_at': datetime.datetime(2025, 3, 27, 5, 56, 3), 'result': '0.03590727361965522', 'result_long': None, 'result_double': None}] Qualite : 0.03590727361965522 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21728821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21728821_27-03-2025_05_56_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21728821 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21728821_27-03-2025_05_56_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21728846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21728847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21728848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21728849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21728850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21728851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21728852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21728853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21728854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21728855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21728856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21728857, 'pht': 3726}}" where mtr_portfolio_id = 21728821 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21728821 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667094, 0.03590727361965522, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21728821_27-03-2025_05_56_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21728846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21728847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21728848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21728849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21728850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21728851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21728852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21728853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21728854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21728855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21728856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21728857, '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 = 21729717 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': 2695845, 'mtr_portfolio_id': 21729717, 'created_at': datetime.datetime(2025, 3, 27, 5, 56, 33), 'result': '0.042977934751551795', 'result_long': None, 'result_double': None}] Qualite : 0.042977934751551795 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21729717 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21729717_27-03-2025_05_56_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21729717 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21729717_27-03-2025_05_56_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21729742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21729743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21729744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21729745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21729746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21729747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21729748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21729749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21729750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21729751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21729752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21729753, 'pht': 3726}}" where mtr_portfolio_id = 21729717 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21729717 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667095, 0.042977934751551795, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21729717_27-03-2025_05_56_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21729742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21729743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21729744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21729745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21729746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21729747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21729748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21729749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21729750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21729751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21729752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21729753, '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 = 21730956 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': 2695846, 'mtr_portfolio_id': 21730956, 'created_at': datetime.datetime(2025, 3, 27, 5, 57, 3), 'result': '0.04326792504947703', 'result_long': None, 'result_double': None}] Qualite : 0.04326792504947703 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21730956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21730956_27-03-2025_05_57_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21730956 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21730956_27-03-2025_05_57_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21730958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21730959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21730960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21730961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21730962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21730963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21730964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21730965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21730966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21730967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21730968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21730969, 'pht': 3726}}" where mtr_portfolio_id = 21730956 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21730956 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667096, 0.04326792504947703, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21730956_27-03-2025_05_57_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21730958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21730959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21730960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21730961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21730962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21730963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21730964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21730965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21730966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21730967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21730968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21730969, '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 = 21731666 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': 2695847, 'mtr_portfolio_id': 21731666, 'created_at': datetime.datetime(2025, 3, 27, 5, 57, 36), 'result': '0.045847002942263224', 'result_long': None, 'result_double': None}] Qualite : 0.045847002942263224 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21731666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21731666_27-03-2025_05_57_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21731666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21731666_27-03-2025_05_57_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21731687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21731688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21731689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21731690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21731691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21731692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21731693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21731694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21731695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21731696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21731697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21731698, 'pht': 3726}}" where mtr_portfolio_id = 21731666 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21731666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667097, 0.045847002942263224, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21731666_27-03-2025_05_57_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21731687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21731688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21731689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21731690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21731691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21731692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21731693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21731694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21731695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21731696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21731697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21731698, '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 = 21732332 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': 2695848, 'mtr_portfolio_id': 21732332, 'created_at': datetime.datetime(2025, 3, 27, 5, 58, 2), 'result': '0.04281347653390774', 'result_long': None, 'result_double': None}] Qualite : 0.04281347653390774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21732332 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21732332_27-03-2025_05_58_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21732332 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21732332_27-03-2025_05_58_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21732337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21732338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21732339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21732341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21732342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21732344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21732346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21732348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21732349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21732350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21732352, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21732353, 'pht': 3726}}" where mtr_portfolio_id = 21732332 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21732332 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667098, 0.04281347653390774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21732332_27-03-2025_05_58_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21732337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21732338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21732339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21732341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21732342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21732344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21732346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21732348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21732349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21732350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21732352, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21732353, '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 = 21733447 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': 2695849, 'mtr_portfolio_id': 21733447, 'created_at': datetime.datetime(2025, 3, 27, 5, 58, 29), 'result': '0.03939206292779823', 'result_long': None, 'result_double': None}] Qualite : 0.03939206292779823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21733447 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21733447_27-03-2025_05_58_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21733447 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21733447_27-03-2025_05_58_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21733450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21733451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21733452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21733453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21733454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21733455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21733456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21733457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21733458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21733459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21733460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21733461, 'pht': 3726}}" where mtr_portfolio_id = 21733447 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21733447 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667099, 0.03939206292779823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21733447_27-03-2025_05_58_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21733450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21733451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21733452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21733453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21733454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21733455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21733456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21733457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21733458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21733459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21733460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21733461, '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 = 21734263 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': 2695850, 'mtr_portfolio_id': 21734263, 'created_at': datetime.datetime(2025, 3, 27, 6, 1, 5), 'result': '0.033578661918224104', 'result_long': None, 'result_double': None}] Qualite : 0.033578661918224104 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21734263 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21734263_27-03-2025_06_01_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21734263 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21734263_27-03-2025_06_01_08.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21734264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21734265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21734266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21734267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21734268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21734269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21734270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21734271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21734272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21734273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21734274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21734275, 'pht': 3726}}" where mtr_portfolio_id = 21734263 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21734263 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667100, 0.033578661918224104, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21734263_27-03-2025_06_01_08.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21734264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21734265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21734266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21734267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21734268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21734269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21734270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21734271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21734272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21734273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21734274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21734275, '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 = 21735300 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': 2695851, 'mtr_portfolio_id': 21735300, 'created_at': datetime.datetime(2025, 3, 27, 6, 3, 1), 'result': '0.0378277398411138', 'result_long': None, 'result_double': None}] Qualite : 0.0378277398411138 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21735300 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735300_27-03-2025_06_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21735300 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735300_27-03-2025_06_03_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735310, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735312, 'pht': 3726}}" where mtr_portfolio_id = 21735300 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21735300 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667101, 0.0378277398411138, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735300_27-03-2025_06_03_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735310, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735312, '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 = 21735815 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': 2695852, 'mtr_portfolio_id': 21735815, 'created_at': datetime.datetime(2025, 3, 27, 6, 4, 33), 'result': '0.03633001021985455', 'result_long': None, 'result_double': None}] Qualite : 0.03633001021985455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21735815 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735815_27-03-2025_06_04_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21735815 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735815_27-03-2025_06_04_37.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735881, 'pht': 3726}}" where mtr_portfolio_id = 21735815 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21735815 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667102, 0.03633001021985455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735815_27-03-2025_06_04_37.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735881, '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 = 21736891 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': 2695853, 'mtr_portfolio_id': 21736891, 'created_at': datetime.datetime(2025, 3, 27, 6, 5, 32), 'result': '0.039220396459028514', 'result_long': None, 'result_double': None}] Qualite : 0.039220396459028514 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21736891 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21736891_27-03-2025_06_05_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21736891 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21736891_27-03-2025_06_05_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21736909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21736910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21736911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21736912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21736913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21736914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21736915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21736916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21736917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21736918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21736919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21736920, 'pht': 3726}}" where mtr_portfolio_id = 21736891 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21736891 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667103, 0.039220396459028514, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21736891_27-03-2025_06_05_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21736909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21736910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21736911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21736912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21736913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21736914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21736915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21736916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21736917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21736918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21736919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21736920, '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 = 21738482 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': 2695854, 'mtr_portfolio_id': 21738482, 'created_at': datetime.datetime(2025, 3, 27, 6, 6, 33), 'result': '0.04917372774136792', 'result_long': None, 'result_double': None}] Qualite : 0.04917372774136792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21738482 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21738482_27-03-2025_06_06_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21738482 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21738482_27-03-2025_06_06_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21738507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21738508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21738509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21738510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21738511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21738512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21738513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21738514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21738515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21738516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21738517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21738518, 'pht': 3726}}" where mtr_portfolio_id = 21738482 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21738482 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667104, 0.04917372774136792, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21738482_27-03-2025_06_06_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21738507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21738508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21738509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21738510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21738511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21738512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21738513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21738514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21738515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21738516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21738517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21738518, '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 = 21739307 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': 2695855, 'mtr_portfolio_id': 21739307, 'created_at': datetime.datetime(2025, 3, 27, 6, 7, 1), 'result': '0.039151511326191456', 'result_long': None, 'result_double': None}] Qualite : 0.039151511326191456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21739307 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739307_27-03-2025_06_07_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21739307 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739307_27-03-2025_06_07_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21739343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739352, 'pht': 3726}}" where mtr_portfolio_id = 21739307 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21739307 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667105, 0.039151511326191456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739307_27-03-2025_06_07_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21739343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739352, '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 = 21739892 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': 2695856, 'mtr_portfolio_id': 21739892, 'created_at': datetime.datetime(2025, 3, 27, 6, 7, 33), 'result': '0.037011729521317586', 'result_long': None, 'result_double': None}] Qualite : 0.037011729521317586 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21739892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739892_27-03-2025_06_07_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21739892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739892_27-03-2025_06_07_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21739958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739969, 'pht': 3726}}" where mtr_portfolio_id = 21739892 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21739892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667106, 0.037011729521317586, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739892_27-03-2025_06_07_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21739958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739969, '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 = 21740539 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': 2695857, 'mtr_portfolio_id': 21740539, 'created_at': datetime.datetime(2025, 3, 27, 6, 8, 5), 'result': '0.04580658573197152', 'result_long': None, 'result_double': None}] Qualite : 0.04580658573197152 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21740539 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21740539_27-03-2025_06_08_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21740539 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21740539_27-03-2025_06_08_08.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21740540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21740541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21740542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21740543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21740544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21740545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21740546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21740547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21740548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21740549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21740550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21740551, 'pht': 3726}}" where mtr_portfolio_id = 21740539 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21740539 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667107, 0.04580658573197152, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21740539_27-03-2025_06_08_08.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21740540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21740541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21740542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21740543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21740544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21740545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21740546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21740547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21740548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21740549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21740550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21740551, '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 = 21741201 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': 2695858, 'mtr_portfolio_id': 21741201, 'created_at': datetime.datetime(2025, 3, 27, 6, 8, 34), 'result': '0.05707770471393095', 'result_long': None, 'result_double': None}] Qualite : 0.05707770471393095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21741201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21741201_27-03-2025_06_08_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21741201 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21741201_27-03-2025_06_08_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21741243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21741244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21741245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21741246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21741247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21741248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21741249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21741250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21741251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21741252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21741253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21741254, 'pht': 3726}}" where mtr_portfolio_id = 21741201 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21741201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667108, 0.05707770471393095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21741201_27-03-2025_06_08_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21741243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21741244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21741245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21741246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21741247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21741248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21741249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21741250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21741251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21741252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21741253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21741254, '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 = 21742216 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': 2695859, 'mtr_portfolio_id': 21742216, 'created_at': datetime.datetime(2025, 3, 27, 6, 9, 33), 'result': '0.03467517406512542', 'result_long': None, 'result_double': None}] Qualite : 0.03467517406512542 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21742216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_27-03-2025_06_09_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21742216 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_27-03-2025_06_09_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21742277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21742278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21742279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21742280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21742281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21742282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21742283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21742284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21742285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21742286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21742287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21742288, 'pht': 3726}}" where mtr_portfolio_id = 21742216 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21742216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667109, 0.03467517406512542, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_27-03-2025_06_09_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21742277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21742278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21742279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21742280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21742281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21742282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21742283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21742284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21742285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21742286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21742287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21742288, '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 = 21743303 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': 2695860, 'mtr_portfolio_id': 21743303, 'created_at': datetime.datetime(2025, 3, 27, 6, 10, 37), 'result': '0.04105244539160419', 'result_long': None, 'result_double': None}] Qualite : 0.04105244539160419 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21743303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21743303_27-03-2025_06_10_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21743303 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21743303_27-03-2025_06_10_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21743353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21743354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21743355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21743356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21743357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21743358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21743359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21743360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21743361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21743362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21743363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21743364, 'pht': 3726}}" where mtr_portfolio_id = 21743303 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21743303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667110, 0.04105244539160419, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21743303_27-03-2025_06_10_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21743353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21743354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21743355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21743356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21743357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21743358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21743359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21743360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21743361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21743362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21743363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21743364, '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 = 21744306 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': 2695861, 'mtr_portfolio_id': 21744306, 'created_at': datetime.datetime(2025, 3, 27, 6, 11, 2), 'result': '0.03906029808140943', 'result_long': None, 'result_double': None}] Qualite : 0.03906029808140943 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21744306 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21744306_27-03-2025_06_11_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21744306 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21744306_27-03-2025_06_11_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21744311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21744312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21744313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21744314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21744315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21744316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21744317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21744318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21744319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21744320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21744321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21744322, 'pht': 3726}}" where mtr_portfolio_id = 21744306 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21744306 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667111, 0.03906029808140943, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21744306_27-03-2025_06_11_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21744311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21744312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21744313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21744314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21744315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21744316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21744317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21744318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21744319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21744320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21744321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21744322, '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 = 21745274 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': 2695862, 'mtr_portfolio_id': 21745274, 'created_at': datetime.datetime(2025, 3, 27, 6, 11, 34), 'result': '0.03190534959626882', 'result_long': None, 'result_double': None}] Qualite : 0.03190534959626882 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21745274 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21745274_27-03-2025_06_11_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21745274 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21745274_27-03-2025_06_11_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21745338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21745339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21745340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21745341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21745342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21745343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21745344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21745345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21745346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21745347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21745348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21745349, 'pht': 3726}}" where mtr_portfolio_id = 21745274 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21745274 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667112, 0.03190534959626882, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21745274_27-03-2025_06_11_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21745338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21745339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21745340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21745341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21745342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21745343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21745344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21745345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21745346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21745347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21745348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21745349, '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 = 21746490 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': 2695863, 'mtr_portfolio_id': 21746490, 'created_at': datetime.datetime(2025, 3, 27, 6, 12, 5), 'result': '0.04396633847958504', 'result_long': None, 'result_double': None}] Qualite : 0.04396633847958504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21746490 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21746490_27-03-2025_06_12_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21746490 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21746490_27-03-2025_06_12_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21746493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21746494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21746495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21746496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21746497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21746498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21746499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21746500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21746501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21746502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21746503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21746504, 'pht': 3726}}" where mtr_portfolio_id = 21746490 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21746490 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667113, 0.04396633847958504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21746490_27-03-2025_06_12_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21746493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21746494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21746495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21746496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21746497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21746498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21746499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21746500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21746501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21746502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21746503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21746504, '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 = 21747195 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': 2695864, 'mtr_portfolio_id': 21747195, 'created_at': datetime.datetime(2025, 3, 27, 6, 12, 29), 'result': '0.0392597141255935', 'result_long': None, 'result_double': None}] Qualite : 0.0392597141255935 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21747195 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21747195_27-03-2025_06_12_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21747195 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21747195_27-03-2025_06_12_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21747209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21747210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21747211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21747212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21747213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21747214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21747215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21747216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21747217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21747218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21747219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21747220, 'pht': 3726}}" where mtr_portfolio_id = 21747195 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21747195 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667114, 0.0392597141255935, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21747195_27-03-2025_06_12_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21747209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21747210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21747211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21747212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21747213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21747214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21747215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21747216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21747217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21747218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21747219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21747220, '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 = 21748496 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': 2695865, 'mtr_portfolio_id': 21748496, 'created_at': datetime.datetime(2025, 3, 27, 6, 13, 32), 'result': '0.022735116767528134', 'result_long': None, 'result_double': None}] Qualite : 0.022735116767528134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21748496 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21748496_27-03-2025_06_13_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21748496 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21748496_27-03-2025_06_13_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21748497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21748498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21748499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21748500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21748501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21748502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21748503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21748504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21748505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21748506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21748507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21748508, 'pht': 3726}}" where mtr_portfolio_id = 21748496 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21748496 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667115, 0.022735116767528134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21748496_27-03-2025_06_13_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21748497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21748498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21748499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21748500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21748501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21748502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21748503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21748504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21748505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21748506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21748507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21748508, '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 = 21749070 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': 2695866, 'mtr_portfolio_id': 21749070, 'created_at': datetime.datetime(2025, 3, 27, 6, 14, 1), 'result': '0.04352604883381917', 'result_long': None, 'result_double': None}] Qualite : 0.04352604883381917 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21749070 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749070_27-03-2025_06_14_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21749070 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749070_27-03-2025_06_14_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21749097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749100, 'pht': 3726}}" where mtr_portfolio_id = 21749070 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21749070 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667116, 0.04352604883381917, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749070_27-03-2025_06_14_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21749097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749100, '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 = 21749627 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': 2695867, 'mtr_portfolio_id': 21749627, 'created_at': datetime.datetime(2025, 3, 27, 6, 14, 28), 'result': '0.047766665025019535', 'result_long': None, 'result_double': None}] Qualite : 0.047766665025019535 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21749627 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749627_27-03-2025_06_14_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21749627 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749627_27-03-2025_06_14_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21749628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749639, 'pht': 3726}}" where mtr_portfolio_id = 21749627 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21749627 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667117, 0.047766665025019535, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749627_27-03-2025_06_14_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21749628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749639, '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 = 21750331 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': 2695868, 'mtr_portfolio_id': 21750331, 'created_at': datetime.datetime(2025, 3, 27, 6, 15, 31), 'result': '0.0514962661238927', 'result_long': None, 'result_double': None}] Qualite : 0.0514962661238927 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21750331 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750331_27-03-2025_06_15_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21750331 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750331_27-03-2025_06_15_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750343, 'pht': 3726}}" where mtr_portfolio_id = 21750331 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21750331 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667118, 0.0514962661238927, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750331_27-03-2025_06_15_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750343, '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 = 21750903 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': 2695869, 'mtr_portfolio_id': 21750903, 'created_at': datetime.datetime(2025, 3, 27, 6, 16, 7), 'result': '0.061687063105312336', 'result_long': None, 'result_double': None}] Qualite : 0.061687063105312336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21750903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750903_27-03-2025_06_16_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21750903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750903_27-03-2025_06_16_10.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750915, 'pht': 3726}}" where mtr_portfolio_id = 21750903 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21750903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667119, 0.061687063105312336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750903_27-03-2025_06_16_10.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750915, '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 = 21752014 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': 2695870, 'mtr_portfolio_id': 21752014, 'created_at': datetime.datetime(2025, 3, 27, 6, 16, 29), 'result': '0.04064190653762037', 'result_long': None, 'result_double': None}] Qualite : 0.04064190653762037 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21752014 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21752014_27-03-2025_06_16_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21752014 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21752014_27-03-2025_06_16_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21752063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21752064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21752065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21752066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21752067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21752068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21752069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21752070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21752071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21752072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21752073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21752074, 'pht': 3726}}" where mtr_portfolio_id = 21752014 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21752014 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667120, 0.04064190653762037, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21752014_27-03-2025_06_16_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21752063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21752064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21752065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21752066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21752067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21752068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21752069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21752070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21752071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21752072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21752073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21752074, '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 = 21753280 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': 2695871, 'mtr_portfolio_id': 21753280, 'created_at': datetime.datetime(2025, 3, 27, 6, 17, 31), 'result': '0.036946502562597336', 'result_long': None, 'result_double': None}] Qualite : 0.036946502562597336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21753280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21753280_27-03-2025_06_17_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21753280 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21753280_27-03-2025_06_17_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21753282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21753283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21753284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21753285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21753286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21753287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21753288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21753289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21753290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21753291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21753292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21753293, 'pht': 3726}}" where mtr_portfolio_id = 21753280 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21753280 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667121, 0.036946502562597336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21753280_27-03-2025_06_17_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21753282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21753283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21753284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21753285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21753286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21753287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21753288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21753289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21753290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21753291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21753292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21753293, '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 = 21754177 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': 2695872, 'mtr_portfolio_id': 21754177, 'created_at': datetime.datetime(2025, 3, 27, 6, 18), 'result': '0.049914172213323914', 'result_long': None, 'result_double': None}] Qualite : 0.049914172213323914 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21754177 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21754177_27-03-2025_06_18_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21754177 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21754177_27-03-2025_06_18_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21754178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21754179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21754180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21754181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21754182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21754183, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21754184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21754185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21754186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21754187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21754188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21754189, 'pht': 3726}}" where mtr_portfolio_id = 21754177 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21754177 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667122, 0.049914172213323914, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21754177_27-03-2025_06_18_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21754178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21754179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21754180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21754181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21754182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21754183, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21754184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21754185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21754186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21754187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21754188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21754189, '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 = 21755139 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': 2695873, 'mtr_portfolio_id': 21755139, 'created_at': datetime.datetime(2025, 3, 27, 6, 18, 31), 'result': '0.05365978882773603', 'result_long': None, 'result_double': None}] Qualite : 0.05365978882773603 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21755139 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21755139_27-03-2025_06_18_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21755139 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21755139_27-03-2025_06_18_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21755140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21755141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21755142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21755143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21755144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21755145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21755146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21755147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21755148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21755149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21755150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21755151, 'pht': 3726}}" where mtr_portfolio_id = 21755139 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21755139 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667123, 0.05365978882773603, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21755139_27-03-2025_06_18_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21755140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21755141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21755142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21755143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21755144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21755145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21755146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21755147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21755148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21755149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21755150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21755151, '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 = 21756185 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': 2695874, 'mtr_portfolio_id': 21756185, 'created_at': datetime.datetime(2025, 3, 27, 6, 19, 33), 'result': '0.05814924755723258', 'result_long': None, 'result_double': None}] Qualite : 0.05814924755723258 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21756185 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756185_27-03-2025_06_19_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21756185 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756185_27-03-2025_06_19_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756197, 'pht': 3726}}" where mtr_portfolio_id = 21756185 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21756185 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667124, 0.05814924755723258, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756185_27-03-2025_06_19_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756197, '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 = 21756877 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': 2695875, 'mtr_portfolio_id': 21756877, 'created_at': datetime.datetime(2025, 3, 27, 6, 20), 'result': '0.045478699727521964', 'result_long': None, 'result_double': None}] Qualite : 0.045478699727521964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21756877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756877_27-03-2025_06_20_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21756877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756877_27-03-2025_06_20_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756913, 'pht': 3726}}" where mtr_portfolio_id = 21756877 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21756877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667125, 0.045478699727521964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756877_27-03-2025_06_20_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756913, '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 = 21757954 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': 2695876, 'mtr_portfolio_id': 21757954, 'created_at': datetime.datetime(2025, 3, 27, 6, 20, 29), 'result': '0.043965896840629015', 'result_long': None, 'result_double': None}] Qualite : 0.043965896840629015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21757954 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21757954_27-03-2025_06_20_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21757954 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21757954_27-03-2025_06_20_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21757955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21757956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21757957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21757958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21757959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21757960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21757961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21757962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21757963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21757964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21757965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21757966, 'pht': 3726}}" where mtr_portfolio_id = 21757954 and dashboard_run_id = 1700517 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21757954 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9667126, 0.043965896840629015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21757954_27-03-2025_06_20_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21757955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21757956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21757957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21757958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21757959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21757960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21757961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21757962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21757963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21757964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21757965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21757966, '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 (21717852,21717911,21718208,21718593,21718923,21719113,21719546,21720025,21720583,21720905,21721639,21722303,21722992,21723967,21724584,21760961,21760962,21760963,21760964,21760965,21760966,21760967,21760968,21760969,21760970,21760971,21760985,21725475,21725478,21725481,21725483,21726952,21728821,21729717,21730956,21731666,21732332,21733447,21734263,21735300,21735815,21736891,21738482,21739307,21739892,21740539,21741201,21742216,21743303,21744306,21745274,21746490,21747195,21748496,21749070,21749627,21750331,21750903,21752014,21753280,21754177,21755139,21756185,21756877,21757954) result : ((1347421034,), (1347421845,), (1347421863,), (1347422022,), (1347422094,), (1347422180,), (1347422509,), (1347422573,), (1347422649,), (1347422723,), (1347423150,), (1347423037,), (1347423133,), (1347423138,), (1347423142,), (1347423148,), (1347423175,), (1347423177,), (1347423182,), (1347423185,), (1347423189,), (1347423193,), (1347423212,), (1347423215,), (1347423218,), (1347423254,), (1347423263,), (1347423265,), (1347423271,), (1347423279,), (1347423283,), (1347423373,), (1347423378,), (1347423402,), (1347423493,), (1347423495,), (1347423498,), (1347423504,), (1347423508,), (1347423532,), (1347423539,), (1347423542,), (1347423549,), (1347423554,), (1347423557,), (1347423591,), (1347423593,), (1347423597,), (1347423622,), (1347423626,), (1347423636,), (1347423640,), (1347423642,), (1347423644,), (1347423677,), (1347423680,), (1347423685,), (1347423764,), (1347423746,), (1347423749,), (1347423752,), (1347423757,), (1347423760,), (1347423796,), (1347423805,), (1347423810,), (1347423813,), (1347423835,), (1347423839,), (1347423844,), (1347423848,), (1347423857,), (1347423865,), (1347423883,), (1347423886,), (1347423889,), (1347423895,), (1347423898,), (1347423918,), (1347423921,), (1347423925,), (1347423928,), (1347423933,), (1347423963,), (1347423995,), (1347424001,), (1347424007,), (1347424013,), (1347424018,), (1347424032,), (1347424036,), (1347424039,), (1347424054,), (1347424087,), (1347424090,), (1347424095,), (1347424098,), (1347424101,), (1347424106,), (1347424129,), (1347424132,), (1347424134,), (1347424138,), (1347424142,), (1347424145,), (1347424188,), (1347424191,), (1347424195,), (1347424239,), (1347424242,), (1347424246,), (1347424251,), (1347424256,), (1347424333,), (1347424335,), (1347424337,), (1347424412,), (1347424414,), (1347424417,), (1347424421,), (1347424470,), (1347424458,), (1347424461,), (1347424463,), (1347424503,), (1347424507,), (1347424509,), (1347424515,), (1347424518,), (1347424522,), (1347424551,), (1347424553,), (1347424555,), (1347424560,), (1347424565,), (1347424570,), (1347424593,), (1347424645,), (1347424682,), (1347424684,), (1347424686,), (1347424690,), (1347424692,), (1347424737,), (1347424745,), (1347424746,), (1347424750,), (1347424753,), (1347424786,), (1347424789,), (1347424792,), (1347424829,), (1347424830,), (1347424831,), (1347424865,), (1347426571,), (1347427536,), (1347429903,), (1347430374,), (1347430376,), (1347430379,), (1347430383,), (1347430385,), (1347430389,), (1347430421,), (1347430424,), (1347430427,), (1347430433,), (1347430438,), (1347430469,), (1347430472,), (1347430475,), (1347430506,), (1347430508,), (1347430510,), (1347430516,), (1347430520,), (1347430578,), (1347430558,), (1347430562,), (1347430566,), (1347430571,), (1347430574,), (1347430609,), (1347430617,), (1347430626,), (1347430668,), (1347430669,), (1347430670,), (1347430674,), (1347430678,), (1347430684,), (1347430708,), (1347430710,), (1347430712,), (1347430715,), (1347430764,), (1347430766,), (1347430769,), (1347430809,), (1347430812,), (1347430815,), (1347430821,), (1347430864,), (1347430868,), (1347430874,), (1347430877,), (1347430903,), (1347430905,), (1347430907,), (1347430918,), (1347430970,), (1347430973,), (1347430978,), (1347430982,), (1347431010,), (1347431012,), (1347431014,), (1347431018,), (1347431021,), (1347431054,), (1347431056,), (1347431059,), (1347431065,), (1347431070,), (1347431076,), (1347431102,), (1347431105,), (1347431109,), (1347431145,), (1347431148,), (1347431152,), (1347431156,), (1347431159,), (1347431164,), (1347431187,), (1347431190,), (1347431195,), (1347431199,), (1347431201,), (1347431205,), (1347431258,), (1347431261,), (1347431263,), (1347431268,), (1347431327,), (1347431295,), (1347431299,), (1347431306,), (1347431316,), (1347431320,), (1347431352,), (1347431359,), (1347431367,), (1347431373,), (1347431376,), (1347431401,), (1347431404,), (1347431407,), (1347431451,), (1347431461,), (1347431465,), (1347431470,), (1347431475,), (1347431500,), (1347431504,), (1347431508,), (1347431513,), (1347431542,), (1347431546,), (1347431548,), (1347431554,), (1347431561,), (1347431564,), (1347431584,), (1347431587,), (1347431590,), (1347431595,), (1347431601,), (1347431606,), (1347431635,), (1347431646,), (1347431683,), (1347431686,), (1347431689,), (1347431696,), (1347431702,), (1347431721,), (1347431759,), (1347431763,), (1347431778,), (1347431791,), (1347431814,), (1347431816,), (1347431821,), (1347431828,), (1347431833,), (1347431838,), (1347431862,), (1347431867,), (1347431870,), (1347431876,), (1347431911,), (1347431913,), (1347431915,), (1347431920,), (1347431923,), (1347431928,), (1347431970,), (1347431974,), (1347431978,), (1347431986,), (1347431992,), (1347432016,), (1347432019,), (1347432023,), (1347432094,), (1347432072,), (1347432075,), (1347432079,), (1347432086,), (1347432089,), (1347432115,), (1347432119,), (1347432123,), (1347432129,), (1347432173,), (1347432176,), (1347432178,), (1347432187,), (1347432212,), (1347432225,), (1347432248,), (1347432252,), (1347432451,), (1347432454,), (1347432500,), (1347432503,), (1347432506,), (1347432514,), (1347432549,), (1347432554,), (1347432559,), (1347432565,), (1347432569,), (1347432611,), (1347432615,), (1347432617,), (1347432779,), (1347432805,), (1347432834,), (1347432863,), (1347432894,), (1347432926,), (1347433395,), (1347433444,), (1347433496,), (1347433524,), (1347433547,), (1347434070,), (1347434093,), (1347434095,), (1347434105,), (1347434117,), (1347434311,), (1347434286,), (1347434517,), (1347434522,), (1347434525,), (1347434534,), (1347434538,), (1347434543,), (1347434578,), (1347434583,), (1347434588,), (1347434595,), (1347434600,), (1347434611,), (1347434644,), (1347434649,), (1347434794,), (1347434797,), (1347434800,), (1347434805,), (1347434814,), (1347434839,), (1347435069,), (1347435125,), (1347435147,), (1347435174,), (1347435294,), (1347435296,), (1347435300,), (1347435307,), (1347435318,), (1347435344,), (1347435500,), (1347435564,), (1347435578,), (1347435584,), (1347435663,), (1347435674,), (1347435683,), (1347435695,), (1347435705,), (1347435711,), (1347435722,), (1347435723,), (1347435725,), (1347435726,), (1347435728,), (1347435729,), (1347435743,), (1347435755,), (1347435767,), (1347435777,), (1347435785,), (1347435791,), (1347435827,), (1347435835,), (1347435856,), (1347435861,), (1347435865,), (1347435869,), (1347435872,), (1347435877,), (1347435925,), (1347435926,), (1347435969,), (1347435985,), (1347435989,), (1347435992,), (1347435998,), (1347436009,), (1347436012,), (1347436056,), (1347436098,), (1347436103,), (1347435800,), (1347435807,), (1347435814,), (1347435819,), (1347435887,), (1347435889,), (1347435895,), (1347435896,), (1347435902,), (1347435903,), (1347435911,), (1347435912,), (1347435919,), (1347435920,), (1347435937,), (1347435941,), (1347435944,), (1347435950,), (1347435956,), (1347436021,), (1347436030,), (1347436035,), (1347436040,), (1347436049,), (1347436070,), (1347436072,), (1347436078,), (1347436095,), (1347436157,), (1347436175,), (1347436181,), (1347436267,), (1347436274,), (1347436291,), (1347436299,), (1347436319,), (1347436344,), (1347436463,), (1347436468,), (1347436473,), (1347436476,), (1347436480,), (1347436489,), (1347436540,), (1347436972,), (1347437074,), (1347437076,), (1347437078,), (1347437084,), (1347437090,), (1347437096,), (1347437135,), (1347437138,), (1347437145,), (1347437166,), (1347437211,), (1347437216,), (1347437230,), (1347437235,), (1347437242,), (1347437249,), (1347437273,), (1347437276,), (1347437307,), (1347437320,), (1347437326,), (1347437332,), (1347437511,), (1347437435,), (1347437473,), (1347437638,), (1347437649,), (1347437658,), (1347437663,), (1347437672,), (1347437676,), (1347437747,), (1347437771,), (1347437797,), (1347437824,), (1347437854,), (1347437988,), (1347438038,), (1347438144,), (1347438168,), (1347438214,), (1347438371,), (1347438409,), (1347438424,), (1347438442,), (1347438449,), (1347438513,), (1347438611,), (1347438616,), (1347438654,), (1347438680,), (1347438779,), (1347438784,), (1347438788,), (1347438792,), (1347438797,), (1347438803,), (1347438838,), (1347438843,), (1347438848,), (1347438853,), (1347438864,), (1347438871,), (1347439083,), (1347439116,), (1347439142,), (1347439186,), (1347439218,), (1347439296,), (1347439302,), (1347439305,), (1347439312,), (1347439319,), (1347439330,), (1347439364,), (1347439370,), (1347439375,), (1347439382,), (1347439426,), (1347439432,), (1347439437,), (1347439449,), (1347439650,), (1347439653,), (1347439661,), (1347439670,), (1347439683,), (1347439692,), (1347439727,), (1347439738,), (1347439745,), (1347439754,), (1347439795,), (1347439799,), (1347439803,), (1347439812,), (1347439820,), (1347440049,), (1347439994,), (1347440007,), (1347440014,), (1347440035,), (1347440043,), (1347440090,), (1347440098,), (1347440110,), (1347440124,), (1347440294,), (1347440303,), (1347440313,), (1347440320,), (1347440481,), (1347440489,), (1347440495,), (1347440529,), (1347440586,), (1347440591,), (1347440599,), (1347440609,), (1347440614,), (1347440621,), (1347440656,), (1347440662,), (1347440668,), (1347440673,), (1347440679,), (1347440684,), (1347440734,), (1347440736,), (1347440746,), (1347440752,), (1347440822,), (1347440827,), (1347440832,), (1347440839,), (1347440879,), (1347440886,), (1347440892,), (1347440905,), (1347440921,), (1347440936,), (1347440967,), (1347440972,), (1347440978,), (1347441026,), (1347441033,), (1347441039,), (1347441051,), (1347441058,), (1347441066,), (1347441266,), (1347441272,), (1347441289,), (1347441339,), (1347441343,), (1347441346,), (1347441352,), (1347441358,), (1347441363,), (1347442047,), (1347442094,), (1347442142,), (1347442191,), (1347442240,), (1347442779,), (1347442677,), (1347442707,), (1347442733,), (1347442761,), (1347442980,), (1347442985,), (1347443003,), (1347443030,), (1347443551,), (1347443576,), (1347443620,), (1347443656,), (1347443903,), (1347443906,), (1347443908,), (1347443912,), (1347443958,), (1347444091,), (1347444101,), (1347444112,), (1347444128,), (1347444141,), (1347444152,), (1347444303,), (1347444329,), (1347444339,), (1347444545,), (1347444550,), (1347444560,), (1347444566,), (1347444571,), (1347444716,), (1347444720,), (1347444724,), (1347444727,), (1347444731,), (1347444737,), (1347444845,), (1347444868,), (1347444892,), (1347445100,), (1347445104,), (1347445111,), (1347445125,), (1347445157,), (1347445193,), (1347445407,), (1347445410,), (1347445415,), (1347445420,), (1347445427,), (1347445471,), (1347445494,), (1347445499,), (1347445507,), (1347445516,), (1347445632,), (1347445636,), (1347445637,), (1347445806,), (1347445814,), (1347445821,), (1347445835,), (1347445845,), (1347445852,), (1347446045,), (1347446056,), (1347446065,), (1347446081,), (1347446086,), (1347446203,), (1347446138,), (1347446142,), (1347446145,), (1347446150,), (1347446258,), (1347446261,), (1347446364,), (1347446392,), (1347446418,), (1347446446,), (1347446580,), (1347446589,), (1347446592,), (1347446598,), (1347446649,), (1347446656,), (1347446751,), (1347446753,), (1347446754,), (1347447006,), (1347447026,), (1347447035,), (1347447182,), (1347447205,), (1347447222,), (1347447225,), (1347447241,), (1347447251,), (1347447298,), (1347447358,), (1347447366,), (1347447399,), (1347447438,), (1347447440,), (1347447442,), (1347447446,), (1347447456,), (1347447494,), (1347447497,), (1347447500,), (1347447504,), (1347447506,), (1347447511,), (1347447581,), (1347447584,), (1347447588,), (1347447729,), (1347447733,), (1347447783,), (1347447787,), (1347447789,), (1347447793,), (1347447796,), (1347447801,), (1347447854,), (1347447838,), (1347447841,), (1347447842,), (1347447846,), (1347447850,), (1347447906,), (1347447918,), (1347447932,), (1347447940,), (1347448019,), (1347448043,), (1347448261,), (1347448699,), (1347448827,), (1347448835,), (1347448844,), (1347448854,), (1347448858,), (1347448925,), (1347448928,), (1347448932,), (1347448958,), (1347449012,), (1347449019,), (1347449032,), (1347449036,), (1347450110,), (1347450116,), (1347450118,), (1347450225,), (1347450601,), (1347450676,), (1347450983,), (1347465376,), (1347465491,), (1347465661,), (1347465663,), (1347465733,), (1347465777,), (1347465779,), (1347465812,), (1347465817,), (1347465820,), (1347465825,), (1347465831,), (1347465864,), (1347465867,), (1347465871,), (1347465876,), (1347465880,), (1347465931,), (1347465903,), (1347465908,), (1347465914,), (1347465918,), (1347465925,), (1347465954,), (1347465959,), (1347465963,), (1347465970,), (1347465976,), (1347465983,), (1347466010,), (1347466014,), (1347466017,), (1347466060,), (1347466066,), (1347466073,), (1347466079,), (1347466085,), (1347466090,), (1347466115,), (1347466118,), (1347466121,), (1347466128,), (1347466133,), (1347466139,), (1347466163,), (1347466169,), (1347466174,), (1347466182,), (1347466212,), (1347466218,), (1347466225,), (1347466231,), (1347466235,), (1347466239,), (1347466252,), (1347466254,), (1347466258,), (1347466264,), (1347466298,), (1347466302,), (1347466309,), (1347466314,), (1347466318,), (1347466320,), (1347466326,), (1347466329,), (1347466332,), (1347466335,), (1347466361,), (1347466364,), (1347466368,), (1347466371,), (1347466374,), (1347466403,), (1347466408,), (1347466412,), (1347466417,), (1347466420,), (1347466422,), (1347466455,), (1347466458,), (1347466463,), (1347466465,), (1347466466,), (1347466539,), (1347466541,), (1347466545,), (1347466549,), (1347466555,), (1347466560,), (1347466579,), (1347466582,), (1347466586,), (1347466621,), (1347466598,), (1347466603,), (1347466607,), (1347466613,), (1347466618,), (1347466650,), (1347466653,), (1347466656,), (1347466661,), (1347466698,), (1347466703,), (1347466707,), (1347466714,), (1347466751,), (1347466754,), (1347466758,), (1347466764,), (1347466769,), (1347466776,), (1347466806,), (1347466809,), (1347466812,), (1347466818,), (1347466850,), (1347466853,), (1347466855,), (1347466861,), (1347466866,), (1347466898,), (1347466903,), (1347466905,), (1347466910,), (1347466950,), (1347466954,), (1347466958,), (1347466964,), (1347466997,), (1347467002,), (1347467007,), (1347467012,), (1347467016,), (1347467042,), (1347467046,), (1347467137,), (1347467141,), (1347467181,), (1347467184,), (1347467188,), (1347467223,), (1347467226,), (1347467231,), (1347467235,), (1347467239,), (1347467262,), (1347467265,), (1347467268,), (1347467274,), (1347467279,), (1347467317,), (1347467304,), (1347467306,), (1347467309,), (1347467314,), (1347467353,), (1347467356,), (1347467360,), (1347467365,), (1347467368,), (1347467373,), (1347467414,), (1347467416,), (1347467419,), (1347467423,), (1347467466,), (1347467470,), (1347467473,), (1347467480,), (1347467488,), (1347467507,), (1347467568,), (1347467569,), (1347467570,), (1347467860,), (1347467864,), (1347467875,), (1347467895,), (1347467901,), (1347467905,), (1347467966,), (1347467995,), (1347468023,), (1347468056,), (1347468133,), (1347468137,), (1347468142,), (1347468156,), (1347468173,), (1347468257,), (1347468260,), (1347468261,), (1347468267,), (1347468359,), (1347468362,), (1347468385,), (1347468461,), (1347468519,), (1347468576,), (1347469012,), (1347469049,), (1347469051,), (1347469064,), (1347469068,), (1347469297,), (1347469317,), (1347469320,), (1347469386,), (1347469390,), (1347469463,), (1347469551,), (1347469675,), (1347469737,), (1347470166,), (1347470200,), (1347470220,), (1347470265,), (1347470443,), (1347470415,), (1347470776,), (1347470788,), (1347470796,), (1347471049,), (1347471085,), (1347471168,), (1347471487,), (1347471507,), (1347471522,), (1347471546,), (1347471554,), (1347471721,), (1347471742,), (1347471755,), (1347471758,), (1347471833,), (1347471843,), (1347471860,), (1347471881,), (1347472049,), (1347472075,), (1347472092,), (1347472278,), (1347472304,), (1347472315,), (1347472321,), (1347472327,), (1347472358,), (1347472360,), (1347472362,), (1347472388,), (1347472483,), (1347472486,), (1347472493,), (1347472497,), (1347472502,), (1347472830,), (1347472913,), (1347472992,), (1347473065,), (1347473215,), (1347473225,), (1347473235,), (1347473407,), (1347473411,), (1347473441,), (1347473469,), (1347473500,), (1347473529,), (1347473577,), (1347473599,), (1347473607,), (1347473612,), (1347473617,), (1347473646,), (1347473648,), (1347473657,), (1347473676,), (1347473679,), (1347474142,), (1347478250,), (1347478279,), (1347478712,), (1347478763,), (1347479359,), (1347479381,), (1347479883,), (1347479972,), (1347480019,), (1347480069,), (1347480140,), (1347480555,), (1347480594,), (1347480650,), (1347480781,), (1347480866,), (1347481357,), (1347481427,), (1347481529,), (1347482736,), (1347482819,), (1347482889,), (1347484675,), (1347484808,), (1347484898,), (1347484951,), (1347485005,), (1347485592,), (1347485693,), (1347485808,), (1347485907,), (1347486125,), (1347486335,), (1347486985,), (1347487008,), (1347487148,), (1347487836,), (1347487932,), (1347487979,), (1347488033,), (1347488087,), (1347488138,), (1347488541,), (1347488599,), (1347488641,), (1347488684,), (1347488747,), (1347489389,), (1347489416,), (1347489453,), (1347489470,), (1347489514,), (1347489572,), (1347489576,), (1347489581,), (1347489585,), (1347489589,), (1347489592,), (1347490014,), (1347489904,), (1347489960,), (1347490526,), (1347490546,), (1347490590,), (1347490652,), (1347490672,), (1347490741,), (1347491282,), (1347491302,), (1347491403,), (1347491417,), (1347491811,), (1347491843,), (1347491851,), (1347491856,), (1347491881,), (1347491914,), (1347492204,), (1347492237,), (1347492262,), (1347492457,), (1347492473,), (1347492495,), (1347492511,), (1347492522,), (1347492544,), (1347492778,), (1347492798,), (1347492805,), (1347492825,), (1347492829,), (1347492853,), (1347493158,), (1347493172,), (1347493200,), (1347493229,), (1347493359,), (1347493364,), (1347493367,), (1347493371,), (1347493374,), (1347493378,), (1347493497,), (1347493505,), (1347493508,), (1347493512,), (1347493517,), (1347493995,), (1347494037,), (1347494070,), (1347494115,), (1347494163,), (1347494597,), (1347494619,), (1347494661,), (1347494700,), (1347494748,), (1347495052,), (1347495062,), (1347495065,), (1347495069,), (1347495215,), (1347495218,), (1347495225,), (1347495253,), (1347495278,), (1347495531,), (1347495571,), (1347495607,), (1347496114,), (1347495905,), (1347496048,), (1347496086,), (1347499286,), (1347499978,), (1347500026,), (1347500089,), (1347500541,), (1347500564,), (1347500582,), (1347500599,), (1347500618,), (1347500669,), (1347501166,), (1347501217,), (1347501269,), (1347501334,), (1347501664,), (1347501913,), (1347501983,), (1347501987,), (1347502120,), (1347502713,), (1347502726,), (1347502753,), (1347502784,), (1347502799,), (1347502823,), (1347503325,), (1347503448,), (1347503555,), (1347504096,), (1347504152,), (1347504208,), (1347504255,), (1347504335,), (1347504389,), (1347504734,), (1347504795,), (1347504839,), (1347504915,), (1347504995,), (1347505622,), (1347505675,), (1347505751,), (1347505817,), (1347505854,), (1347506347,), (1347506178,), (1347506230,), (1347506283,), (1347506806,), (1347506814,), (1347506874,), (1347506915,), (1347506944,), (1347506994,), (1347507285,), (1347507316,), (1347507349,), (1347507381,), (1347507774,), (1347507818,), (1347507852,), (1347507875,), (1347508226,), (1347508274,), (1347508321,), (1347508347,), (1347508377,), (1347508429,), (1347508777,), (1347508844,), (1347508902,), (1347508965,), (1347509754,), (1347509832,), (1347509894,), (1347509924,), (1347509986,), (1347510057,), (1347510552,), (1347513658,), (1347513769,), (1347514117,), (1347514165,), (1347514577,), (1347514771,), (1347515758,), (1347515835,), (1347515879,), (1347516572,), (1347516430,), (1347516494,), (1347517168,), (1347517207,), (1347517256,), (1347517315,), (1347517354,), (1347517493,), (1347518352,), (1347518386,), (1347518451,), (1347518489,), (1347518509,), (1347518584,), (1347519313,), (1347519403,), (1347519517,), (1347519593,), (1347519926,), (1347519939,), (1347519966,), (1347520027,), (1347520084,), (1347520100,), (1347520481,), (1347520545,), (1347520606,), (1347520631,), (1347520997,), (1347521037,), (1347521062,), (1347521074,), (1347521101,), (1347521139,), (1347521443,), (1347521482,), (1347521627,), (1347521692,), (1347522090,), (1347522114,), (1347522157,), (1347522198,), (1347522259,), (1347522298,), (1347522712,), (1347522776,), (1347522844,), (1347523472,), (1347524436,), (1347524477,), (1347524771,), (1347524813,), (1347524835,), (1347524859,), (1347524882,), (1347524909,), (1347525108,), (1347525135,), (1347525152,), (1347525469,), (1347525486,), (1347525513,), (1347525543,), (1347525568,), (1347525825,), (1347525708,), (1347525712,), (1347525738,), (1347525763,), (1347525790,), (1347526360,), (1347526810,), (1347526879,), (1347526984,), (1347527040,), (1347527197,), (1347527199,), (1347527207,), (1347527276,), (1347527320,), (1347527346,), (1347527792,), (1347527818,), (1347527854,), (1347527886,), (1347528091,), (1347528095,), (1347528105,), (1347528109,), (1347528112,), (1347528117,), (1347528178,), (1347528181,), (1347528201,), (1347528485,), (1347528500,), (1347528504,), (1347528509,), (1347528662,), (1347528680,), (1347528738,), (1347528748,), (1347528755,), (1347528771,), (1347528787,), (1347528817,), (1347528830,), (1347528844,), (1347528852,), (1347528871,), (1347528903,), (1347528909,), (1347528914,), (1347528917,), (1347528921,), (1347528984,), (1347529001,), (1347529006,), (1347529015,), (1347529030,), (1347529034,), (1347529057,), (1347529060,), (1347529062,), (1347529185,), (1347529197,), (1347529208,), (1347529238,), (1347529267,), (1347529333,), (1347529475,), (1347529483,), (1347529500,), (1347529507,), (1347529657,), (1347529660,), (1347529674,), (1347529677,), (1347529732,), (1347529704,), (1347529709,), (1347529717,), (1347529722,), (1347529726,), (1347529784,), (1347529789,), (1347529806,), (1347529885,), (1347530182,), (1347530210,), (1347530235,), (1347530258,), (1347530284,), (1347530315,), (1347530357,), (1347530408,), (1347530467,), (1347530499,), (1347530532,), (1347530575,), (1347530834,), (1347530862,), (1347530892,), (1347530915,), (1347531202,), (1347531244,), (1347531289,), (1347531379,), (1347531428,), (1347531541,), (1347531544,), (1347531547,), (1347531629,), (1347531663,), (1347531715,), (1347531735,), (1347531795,), (1347532165,), (1347532235,), (1347532277,), (1347532327,), (1347532476,), (1347532818,), (1347532853,), (1347532908,), (1347532956,), (1347532992,), (1347533057,), (1347533409,), (1347533472,), (1347533502,), (1347533519,), (1347533546,), (1347533961,), (1347534005,), (1347534055,), (1347534094,), (1347534134,), (1347534174,), (1347534438,), (1347534488,), (1347534536,), (1347534559,), (1347534789,), (1347534818,), (1347534852,), (1347534880,), (1347534911,), (1347534934,), (1347535242,), (1347535094,), (1347535100,), (1347535226,), (1347535519,), (1347535525,), (1347535530,), (1347535534,), (1347535538,), (1347535542,), (1347535654,), (1347535681,), (1347535723,), (1347536043,), (1347536096,), (1347536137,), (1347536151,), (1347536194,), (1347536204,), (1347536421,), (1347536426,), (1347536428,), (1347536430,), (1347536482,), (1347536484,), (1347536487,), (1347536489,), (1347536492,), (1347536526,), (1347536530,), (1347536537,), (1347536539,), (1347536540,), (1347536544,), (1347536564,), (1347536586,), (1347536589,), (1347536593,), (1347536597,), (1347536603,), (1347536621,), (1347536623,), (1347536645,), (1347536650,), (1347536654,), (1347536765,), (1347536788,), (1347536810,), (1347536826,), (1347536829,), (1347536841,), (1347536852,), (1347536860,), (1347536869,), (1347536871,), (1347536913,), (1347536916,), (1347536920,), (1347536924,), (1347536930,), (1347536986,), (1347536994,), (1347536997,), (1347537000,), (1347537002,), (1347538224,), (1347538304,), (1347538375,), (1347538684,), (1347538744,), (1347538800,), (1347538828,), (1347538886,), (1347539227,), (1347539034,), (1347539069,), (1347539110,), (1347539157,), (1347539593,), (1347539705,), (1347539773,), (1347539888,), (1347539992,), (1347540071,), (1347540658,), (1347540706,), (1347540749,), (1347540786,), (1347540829,), (1347541274,), (1347541321,), (1347541420,), (1347541475,), (1347541535,), (1347542109,), (1347542165,), (1347542222,), (1347542277,), (1347542324,), (1347542359,), (1347542492,), (1347542515,), (1347542538,), (1347542566,), (1347542593,), (1347543024,), (1347543060,), (1347543095,), (1347543121,), (1347543141,), (1347543164,), (1347543313,), (1347543337,), (1347543368,), (1347543431,), (1347543460,), (1347543577,), (1347543613,), (1347543640,), (1347543657,), (1347543660,), (1347543859,), (1347543888,), (1347543910,), (1347543915,), (1347543926,), (1347544121,), (1347544161,), (1347544171,), (1347544177,), (1347544364,), (1347544386,), (1347544399,), (1347544409,), (1347544413,), (1347544419,), (1347544614,), (1347544629,), (1347544639,), (1347544643,), (1347544670,), (1347544868,), (1347544872,), (1347544919,), (1347544942,), (1347544944,), (1347544950,), (1347545024,), (1347545027,), (1347545029,), (1347545033,), (1347545323,), (1347545188,), (1347545195,), (1347545205,), (1347545217,), (1347545257,), (1347545371,), (1347545374,), (1347545377,), (1347545382,), (1347545506,), (1347545525,), (1347545547,), (1347545549,), (1347545554,), (1347545559,), (1347545578,), (1347545584,), (1347545591,), (1347545692,), (1347545766,), (1347545882,), (1347545894,), (1347545899,), (1347545966,), (1347545978,), (1347545983,), (1347545987,), (1347546020,), (1347546023,), (1347546032,), (1347546082,), (1347546085,), (1347546087,), (1347546091,), (1347546093,), (1347546098,), (1347546131,), (1347546138,), (1347546145,), (1347546149,), (1347546193,), (1347546198,), (1347546274,), (1347546316,), (1347546372,), (1347546376,), (1347546379,), (1347546385,), (1347546388,), (1347546394,), (1347546418,), (1347546421,), (1347546425,), (1347546428,), (1347546455,), (1347546457,), (1347546462,), (1347546472,), (1347546476,), (1347546486,), (1347546517,), (1347546522,), (1347546526,), (1347546574,), (1347546585,), (1347546589,), (1347553591,), (1347553533,), (1347553557,), (1347553572,), (1347553911,), (1347553965,), (1347554020,), (1347554912,), (1347554959,), (1347555008,), (1347555057,), (1347555089,), (1347555201,), (1347555688,), (1347555761,), (1347555799,), (1347556156,), (1347556180,), (1347556203,), (1347556241,), (1347556263,), (1347556293,), (1347556524,), (1347556541,), (1347556545,), (1347556554,), (1347556823,), (1347556919,), (1347556939,), (1347556958,), (1347556988,), (1347557043,), (1347557209,), (1347557293,), (1347557324,), (1347557356,), (1347557577,), (1347557580,), (1347557584,), (1347557589,), (1347557617,), (1347557649,), (1347557770,), (1347557798,), (1347557824,), (1347557851,), (1347557866,), (1347558008,), (1347558010,), (1347558014,), (1347558016,), (1347558021,), (1347558107,), (1347558142,), (1347558169,), (1347558204,), (1347558230,), (1347558257,), (1347558555,), (1347558624,), (1347558675,), (1347558717,), (1347559034,), (1347559061,), (1347559089,), (1347559120,), (1347559146,), (1347559170,), (1347559309,), (1347559332,), (1347559340,), (1347559344,), (1347559508,), (1347559454,), (1347559458,), (1347559468,), (1347559497,), (1347559504,), (1347559577,), (1347559601,), (1347559648,), (1347559720,), (1347559916,), (1347559934,), (1347559943,), (1347559957,), (1347559970,), (1347559982,), (1347560201,), (1347560212,), (1347560217,), (1347560223,), (1347560264,), (1347560267,), (1347560272,), (1347560280,), (1347560282,), (1347560311,), (1347560314,), (1347560316,), (1347560321,), (1347560370,), (1347560373,), (1347560376,), (1347560379,), (1347560381,), (1347560420,), (1347560434,), (1347560438,), (1347560442,), (1347560490,), (1347560495,), (1347560498,), (1347560501,), (1347560515,), (1347560518,), (1347560544,), (1347560601,), (1347560607,), (1347560613,), (1347560616,), (1347560652,), (1347560654,), (1347560657,), (1347560660,), (1347560691,), (1347560695,), (1347560697,), (1347560700,), (1347560702,), (1347560706,), (1347560743,), (1347560744,), (1347560745,), (1347560750,), (1347560819,), (1347560821,), (1347560823,), (1347560827,), (1347560830,), (1347560833,), (1347560902,), (1347560920,), (1347560925,), (1347560928,), (1347561211,), (1347561081,), (1347561094,), (1347561110,), (1347561172,), (1347561190,), (1347561445,), (1347561485,), (1347561520,), (1347561537,), (1347561585,), (1347561587,), (1347561592,), (1347561595,), (1347561599,), (1347561605,), (1347561641,), (1347561644,), (1347561646,), (1347561649,), (1347561651,), (1347561682,), (1347561686,), (1347561690,), (1347561695,), (1347561740,), (1347561745,), (1347561750,), (1347561755,), (1347561758,), (1347561767,), (1347561838,), (1347561840,), (1347561843,), (1347561891,), (1347562372,), (1347562389,), (1347562473,), (1347562509,), (1347562554,), (1347562751,), (1347562756,), (1347562784,), (1347562786,), (1347562804,), (1347562809,), (1347562895,), (1347562899,), (1347562901,), (1347562907,), (1347563012,), (1347563021,), (1347563025,), (1347563029,), (1347563033,), (1347563038,), (1347563118,), (1347563125,), (1347563148,), (1347563287,), (1347563443,), (1347563446,), (1347563450,), (1347563455,), (1347563518,), (1347563523,), (1347563526,), (1347563528,), (1347563732,), (1347563736,), (1347563738,), (1347563754,), (1347563778,), (1347563830,), (1347563955,), (1347563856,), (1347563859,), (1347563942,), (1347563948,), (1347564004,), (1347564007,), (1347564011,), (1347564077,), (1347564081,), (1347564086,), (1347564090,), (1347564095,), (1347564097,), (1347564125,), (1347564128,), (1347564166,), (1347564314,), (1347564463,), (1347564467,), (1347564472,), (1347564622,), (1347564624,), (1347564628,), (1347564633,), (1347564638,), (1347564642,), (1347564671,), (1347564681,), (1347564683,), (1347564689,), (1347564716,), (1347564718,), (1347564720,), (1347564724,), (1347564728,), (1347564734,), (1347564760,), (1347564762,), (1347564764,), (1347564767,), (1347565019,), (1347565055,), (1347565136,), (1347565185,), (1347565224,), (1347565245,), (1347565348,), (1347565381,), (1347565419,), (1347565449,), (1347565474,), (1347565605,), (1347565642,), (1347565731,), (1347565768,), (1347565816,), (1347566212,), (1347566287,), (1347566332,), (1347566353,), (1347566416,), (1347567115,), (1347567120,), (1347567125,), (1347567132,), (1347567137,), (1347567142,), (1347567158,), (1347567163,), (1347567191,), (1347567460,), (1347567293,), (1347567339,), (1347567379,), (1347567407,), (1347567783,), (1347567808,), (1347567842,), (1347567871,), (1347567905,), (1347568295,), (1347568360,), (1347568435,), (1347568510,), (1347568590,), (1347569299,), (1347569384,), (1347569461,), (1347569507,), (1347569565,), (1347570185,), (1347570264,), (1347570340,), (1347570358,), (1347570469,), (1347571133,), (1347571178,), (1347571225,), (1347571266,), (1347571343,), (1347571782,), (1347571832,), (1347571861,), (1347571928,), (1347572617,), (1347572637,), (1347572757,), (1347572805,), (1347572865,), (1347573254,), (1347573281,), (1347573306,), (1347573316,), (1347573331,), (1347573649,), (1347573684,), (1347573761,), (1347573800,), (1347573832,), (1347574056,), (1347574084,), (1347574126,), (1347574150,), (1347574168,), (1347574172,), (1347574420,), (1347574442,), (1347574455,), (1347574850,), (1347574898,), (1347575415,), (1347575441,), (1347575492,), (1347575519,), (1347575548,), (1347575572,), (1347575664,), (1347575685,), (1347575715,), (1347575739,), (1347575771,), (1347575818,), (1347576108,), (1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,), (1347582678,), (1347582502,), (1347582508,), (1347582511,), (1347582525,), (1347582551,), (1347582777,), (1347582784,), (1347582817,), (1347583130,), (1347583141,), (1347583146,), (1347583148,), (1347583171,), (1347583267,), (1347583373,), (1347583377,), (1347583381,), (1347583435,), (1347583448,), (1347583857,), (1347583864,), (1347583869,), (1347583879,), (1347583898,), (1347584097,), (1347584100,), (1347584106,), (1347584423,), (1347584465,), (1347584478,), (1347584523,), (1347584525,), (1347584547,), (1347584561,), (1347584565,), (1347584650,), (1347584672,), (1347584682,), (1347584685,), (1347585023,), (1347585067,), (1347585130,), (1347585174,), (1347585222,), (1347585292,), (1347585605,), (1347585646,), (1347585700,), (1347586085,), (1347586120,), (1347586132,), (1347586158,), (1347586188,), (1347586244,), (1347586564,), (1347586570,), (1347586574,), (1347586577,), (1347586582,), (1347586702,), (1347586730,), (1347586754,), (1347586776,), (1347586943,), (1347586926,), (1347586932,), (1347586935,), (1347586938,), (1347586941,), (1347587195,), (1347587345,), (1347587437,), (1347587474,), (1347587597,), (1347588003,), (1347588026,), (1347588034,), (1347588046,), (1347588064,), (1347588313,), (1347588349,), (1347588385,), (1347588431,), (1347588459,), (1347588505,), (1347588861,), (1347588910,), (1347588945,), (1347588961,), (1347588990,), (1347589295,), (1347589324,), (1347589397,), (1347589452,), (1347589797,), (1347589836,), (1347589866,), (1347589891,), (1347589933,), (1347589957,), (1347590407,), (1347590469,), (1347590524,), (1347590556,), (1347590899,), (1347590944,), (1347591006,), (1347591050,), (1347591077,), (1347591114,), (1347591246,), (1347591250,), (1347591258,), (1347591613,), (1347591751,), (1347591803,), (1347591848,), (1347591877,), (1347591898,), (1347592029,), (1347592065,), (1347592111,), (1347592125,), (1347592148,), (1347592747,), (1347592791,), (1347592849,), (1347592886,), (1347594016,), (1347594060,), (1347594086,), (1347594095,), (1347594100,), (1347594136,), (1347594749,), (1347594572,), (1347594618,), (1347594655,), (1347595286,), (1347595311,), (1347595342,), (1347595358,), (1347595380,), (1347595661,), (1347595690,), (1347595715,), (1347595732,), (1347595779,), (1347595949,), (1347595955,), (1347595966,), (1347595987,), (1347596000,), (1347596013,), (1347596139,), (1347596167,), (1347596199,), (1347596229,), (1347596527,), (1347596774,), (1347596805,), (1347596828,), (1347596833,), (1347596857,), (1347596994,), (1347597043,), (1347597099,), (1347597127,), (1347597568,), (1347597616,), (1347597638,), (1347597657,), (1347597688,), (1347597710,), (1347597844,), (1347597850,), (1347597853,), (1347597867,), (1347598153,), (1347598177,), (1347598187,), (1347598225,), (1347598251,), (1347598282,), (1347598534,), (1347598578,), (1347598622,), (1347598654,), (1347598953,), (1347598986,), (1347599034,), (1347599077,), (1347599123,), (1347599468,), (1347599494,), (1347599520,), (1347599546,), (1347599597,), (1347599635,), (1347599922,), (1347599969,), (1347600000,), (1347600338,), (1347600359,), (1347600380,), (1347600403,), (1347600431,), (1347600447,), (1347600811,), (1347600722,), (1347600759,), (1347601460,), (1347601471,), (1347601476,), (1347601502,), (1347601531,), (1347601647,), (1347602000,), (1347602003,), (1347602006,), (1347602034,), (1347602184,), (1347602187,), (1347602191,), (1347602198,), (1347602199,), (1347602243,), (1347602478,), (1347602504,), (1347602552,), (1347602561,), (1347602749,), (1347602780,), (1347602796,), (1347602805,), (1347602812,), (1347602833,), (1347602928,), (1347602932,), (1347602935,), (1347603079,), (1347603083,), (1347603089,), (1347603093,), (1347603097,), (1347603102,), (1347603124,), (1347603147,), (1347603158,), (1347603162,), (1347603166,), (1347603193,), (1347603204,), (1347603213,), (1347603218,), (1347603223,), (1347603227,), (1347603254,), (1347603270,), (1347603276,), (1347603280,), (1347603332,), (1347603338,), (1347603344,), (1347603346,), (1347603350,), (1347603491,), (1347603494,), (1347603500,), (1347603506,), (1347603510,), (1347603515,), (1347603547,), (1347603554,), (1347603563,), (1347603569,), (1347603632,), (1347603642,), (1347603647,), (1347603652,), (1347603658,), (1347603664,), (1347603856,), (1347603748,), (1347603807,), (1347603843,), (1347603990,), (1347604010,), (1347604029,), (1347604040,), (1347604044,), (1347604071,), (1347604377,), (1347604393,), (1347604413,), (1347604426,), (1347604591,), (1347604593,), (1347604621,), (1347605000,), (1347605079,), (1347605115,), (1347605343,), (1347605349,), (1347605351,), (1347605363,), (1347605383,), (1347605393,), (1347605415,), (1347605446,), (1347605472,), (1347605498,), (1347605836,), (1347611089,), (1347611891,), (1347612977,), (1347613002,), (1347613098,), (1347613178,), (1347615211,), (1347615363,), (1347615367,), (1347615387,), (1347615394,), (1347615611,), (1347615634,), (1347615645,), (1347615660,), (1347615664,), (1347615689,), (1347615828,), (1347615867,), (1347615901,), (1347615948,), (1347616384,), (1347616413,), (1347616438,), (1347616468,), (1347616495,), (1347616652,), (1347616666,), (1347616714,), (1347616744,), (1347616791,), (1347617235,), (1347617266,), (1347617288,), (1347617305,), (1347617543,), (1347617550,), (1347617556,), (1347617643,), (1347618174,), (1347618172,), (1347618217,), (1347618223,), (1347618228,), (1347618232,), (1347618281,), (1347618295,), (1347618303,), (1347618319,), (1347618556,), (1347618560,), (1347618562,), (1347618584,), (1347618614,), (1347618680,), (1347618683,), (1347618685,), (1347618688,), (1347618737,), (1347618739,), (1347618743,), (1347618746,), (1347618748,), (1347618777,), (1347618778,), (1347618781,), (1347618783,), (1347618788,), (1347618828,), (1347618830,), (1347618834,), (1347618837,), (1347618840,), (1347618868,), (1347618871,), (1347618875,), (1347618878,), (1347619007,), (1347619013,), (1347619032,), (1347619097,), (1347619106,), (1347619142,), (1347619251,), (1347619254,), (1347619257,), (1347619299,), (1347619301,), (1347619305,), (1347619308,), (1347619309,), (1347619318,), (1347619351,), (1347619353,), (1347619356,), (1347619359,), (1347619361,), (1347619365,), (1347619635,), (1347619666,), (1347619889,), (1347619877,), (1347620054,), (1347620058,), (1347620061,), (1347620066,), (1347620071,), (1347620115,), (1347620120,), (1347620182,), (1347620191,), (1347620202,), (1347620211,), (1347620375,), (1347620387,), (1347620390,), (1347620394,), (1347620396,), (1347620400,), (1347620424,), (1347620428,), (1347620430,), (1347620433,), (1347620454,), (1347620456,), (1347620459,), (1347620462,), (1347620471,), (1347620478,), (1347620526,), (1347620540,), (1347620543,), (1347620544,), (1347620549,), (1347620617,), (1347620619,), (1347620622,), (1347620656,), (1347620657,), (1347620660,), (1347620664,), (1347620670,), (1347620676,), (1347620840,), (1347620869,), (1347620924,), (1347620935,), (1347620950,), (1347620964,), (1347621103,), (1347621105,), (1347621132,), (1347621182,), (1347621208,), (1347621218,), (1347621220,), (1347621223,), (1347621385,), (1347621418,), (1347621452,), (1347621487,), (1347621520,), (1347621846,), (1347621902,), (1347621974,), (1347622053,), (1347622258,), (1347622283,), (1347622305,), (1347622327,), (1347622357,), (1347622689,), (1347622620,), (1347622641,), (1347622646,), (1347622659,), (1347622663,), (1347622761,), (1347622763,), (1347622804,), (1347622806,), (1347622816,), (1347622824,), (1347622834,), (1347622840,), (1347623074,), (1347623091,), (1347623139,), (1347623151,), (1347623165,), (1347623481,), (1347623488,), (1347623492,), (1347623501,), (1347623652,), (1347623657,), (1347623661,), (1347623674,), (1347623679,), (1347623684,), (1347623773,), (1347623795,), (1347623808,), (1347623836,), (1347623838,), (1347623841,), (1347623845,), (1347623850,), (1347623854,), (1347623892,), (1347623898,), (1347623901,), (1347623904,), (1347623929,), (1347623941,), (1347623945,), (1347623949,), (1347623952,), (1347624105,), (1347624112,), (1347624114,), (1347624118,), (1347624123,), (1347624133,), (1347624272,), (1347624311,), (1347624324,), (1347624409,), (1347624445,), (1347624476,), (1347624494,), (1347624547,), (1347624572,), (1347625798,), (1347625948,), (1347626030,), (1347626063,), (1347626091,), (1347626228,), (1347626255,), (1347626307,), (1347626651,), (1347626446,), (1347626505,), (1347626569,), (1347627593,), (1347627639,), (1347627683,), (1347627713,), (1347628086,), (1347628110,), (1347628114,), (1347628666,), (1347628690,), (1347628716,), (1347629370,), (1347629432,), (1347629463,), (1347629528,), (1347629602,), (1347629974,), (1347629978,), (1347630005,), (1347630027,), (1347630041,), (1347630105,), (1347630108,), (1347630112,), (1347630116,), (1347630256,), (1347630259,), (1347630263,), (1347630268,), (1347630272,), (1347630304,), (1347630308,), (1347630314,), (1347630352,), (1347630376,), (1347630696,), (1347630741,), (1347630792,), (1347631363,), (1347631418,), (1347631465,), (1347631518,), (1347631576,), (1347631611,), (1347631983,), (1347632019,), (1347632052,), (1347632079,), (1347632103,), (1347632329,), (1347632354,), (1347632648,), (1347632660,), (1347632693,), (1347632719,), (1347633000,), (1347633055,), (1347633098,), (1347633122,), (1347633796,), (1347633635,), (1347633678,), (1347633716,), (1347633730,), (1347633760,), (1347634133,), (1347634161,), (1347634187,), (1347634558,), (1347634631,), (1347634728,), (1347634774,), (1347634805,), (1347635098,), (1347635123,), (1347635151,), (1347635177,), (1347635208,), (1347636342,), (1347636421,), (1347636490,), (1347636562,), (1347637090,), (1347637144,), (1347637424,), (1347637547,), (1347637603,), (1347638115,), (1347638159,), (1347638197,), (1347638254,), (1347638275,), (1347638325,), (1347638592,), (1347638629,), (1347638954,), (1347638977,), (1347638999,), (1347639029,), (1347639050,), (1347639076,), (1347639313,), (1347639330,), (1347639357,), (1347639380,), (1347639399,), (1347639612,), (1347639638,), (1347639660,), (1347640054,), (1347640093,), (1347640120,), (1347640150,), (1347640193,), (1347640240,), (1347640825,), (1347640913,), (1347641014,), (1347641115,), (1347641198,), (1347641300,), (1347641879,), (1347644420,), (1347644276,), (1347644307,), (1347644351,), (1347644373,), (1347644931,), (1347645022,), (1347645143,), (1347645305,), (1347645398,), (1347645424,), (1347645514,), (1347645528,), (1347645555,), (1347645618,), (1347645625,), (1347645658,), (1347645813,), (1347645990,), (1347646145,), (1347646275,), (1347646571,), (1347646575,), (1347646598,), (1347646734,), (1347646739,), (1347646748,), (1347646751,), (1347646820,), (1347647133,), (1347647206,), (1347647210,), (1347647215,), (1347647218,), (1347647267,), (1347647272,), (1347647344,), (1347647372,), (1347647401,), (1347647419,), (1347647467,), (1347647483,), (1347647795,), (1347647815,), (1347647832,), (1347647855,), (1347647987,), (1347647996,), (1347648015,), (1347648021,), (1347648072,), (1347648084,), (1347648090,), (1347648094,), (1347648095,), (1347648107,), (1347648374,), (1347648420,), (1347648458,), (1347648502,), (1347648534,), (1347648559,), (1347648847,), (1347648892,), (1347648938,), (1347649614,), (1347649379,), (1347649400,), (1347649419,), (1347649457,), (1347649552,), (1347649808,), (1347649835,), (1347649863,), (1347649882,), (1347649924,), (1347650295,), (1347650322,), (1347650568,), (1347650593,), (1347650622,), (1347650663,), (1347650683,), (1347650864,), (1347650953,), (1347650984,), (1347651036,), (1347651057,), (1347651078,), (1347651240,), (1347651266,), (1347651289,), (1347651315,), (1347651574,), (1347651626,), (1347651667,), (1347651718,), (1347651759,), (1347651790,), (1347652123,), (1347652154,), (1347652179,), (1347652204,), (1347652363,), (1347652409,), (1347652478,), (1347652526,), (1347652566,), (1347652605,), (1347652840,), (1347652860,), (1347652870,), (1347652893,), (1347652940,), (1347652984,), (1347653133,), (1347653136,), (1347653164,), (1347653577,), (1347653618,), (1347653669,), (1347653706,), (1347653740,), (1347653791,), (1347654105,), (1347654127,), (1347654171,), (1347654206,), (1347654226,), (1347654282,), (1347655436,), (1347655515,), (1347655569,), (1347655617,), (1347655648,), (1347656084,), (1347656011,), (1347656064,), (1347656597,), (1347656610,), (1347656621,), (1347656743,), (1347658069,), (1347658087,), (1347658108,), (1347658124,), (1347658133,), (1347658136,), (1347658440,), (1347658575,), (1347658622,), (1347659014,), (1347659034,), (1347659060,), (1347659118,), (1347659150,), (1347659196,), (1347659536,), (1347659596,), (1347659646,), (1347659689,), (1347659731,), (1347659990,), (1347660025,), (1347660074,), (1347660113,), (1347661227,), (1347661294,), (1347661472,), (1347661657,), (1347661705,), (1347661747,), (1347662126,), (1347662179,), (1347662229,), (1347662270,), (1347662896,), (1347662925,), (1347662951,), (1347662981,), (1347663045,), (1347663114,), (1347663475,), (1347663528,), (1347663576,), (1347663983,), (1347664010,), (1347664041,), (1347664057,), (1347664062,), (1347664078,), (1347664322,), (1347664370,), (1347664411,), (1347664425,), (1347664826,), (1347664917,), (1347664949,), (1347664975,), (1347665003,), (1347665177,), (1347665201,), (1347665233,), (1347665254,), (1347665299,), (1347665840,), (1347665670,), (1347665722,), (1347665793,), (1347666682,), (1347666748,), (1347666835,), (1347666942,), (1347667440,), (1347667485,), (1347667515,), (1347667584,), (1347667707,), (1347667995,), (1347668045,), (1347668130,), (1347668175,), (1347668220,), (1347668706,), (1347668744,), (1347668772,), (1347668812,), (1347668852,), (1347669177,), (1347669210,), (1347669244,), (1347669280,), (1347669525,), (1347669527,), (1347669536,), (1347669567,), (1347669588,), (1347669637,), (1347669642,), (1347669646,), (1347669650,), (1347669838,), (1347669887,), (1347669917,), (1347670167,), (1347670190,), (1347670212,), (1347670232,), (1347670254,), (1347670281,), (1347670483,), (1347670509,), (1347670537,), (1347670976,), (1347670999,), (1347671027,), (1347671447,), (1347671505,), (1347671555,), (1347671599,), (1347672003,), (1347672095,), (1347672141,), (1347672550,), (1347672577,), (1347672630,), (1347673415,), (1347673278,), (1347673338,), (1347674369,), (1347674420,), (1347674481,), (1347674522,), (1347674577,), (1347675058,), (1347675099,), (1347675143,), (1347675157,), (1347675200,), (1347675237,), (1347675682,), (1347675929,), (1347676026,), (1347676887,), (1347676894,), (1347676931,), (1347676935,), (1347676978,), (1347677021,), (1347677065,), (1347677092,), (1347677116,), (1347677144,), (1347677170,), (1347677395,), (1347677404,), (1347677408,), (1347677430,), (1347677455,), (1347677477,), (1347677568,), (1347677593,), (1347677614,), (1347677628,), (1347677659,), (1347677661,), (1347677665,), (1347677669,), (1347677674,), (1347677678,), (1347677728,), (1347677733,), (1347677735,), (1347677738,), (1347677893,), (1347677928,), (1347678225,), (1347678256,), (1347678282,), (1347678304,), (1347678326,), (1347678353,), (1347678573,), (1347678631,), (1347678656,), (1347678686,), (1347678755,), (1347678830,), (1347679184,), (1347679238,), (1347679250,), (1347679459,), (1347679464,), (1347679469,), (1347679492,), (1347679507,), (1347679514,), (1347679656,), (1347679586,), (1347679589,), (1347679616,), (1347679627,), (1347679630,), (1347679708,), (1347679712,), (1347679724,), (1347679779,), (1347679789,), (1347679792,), (1347679795,), (1347679799,), (1347679802,), (1347679828,), (1347679831,), (1347679836,), (1347679839,), (1347679888,), (1347679920,), (1347679980,), (1347679985,), (1347679994,), (1347680228,), (1347680238,), (1347680253,), (1347680258,), (1347680278,), (1347680286,), (1347680425,), (1347680438,), (1347680478,), (1347680481,), (1347680485,), (1347680512,), (1347680712,), (1347680871,), (1347680908,), (1347681011,), (1347681034,), (1347681035,), (1347681038,), (1347681042,), (1347681047,), (1347681076,), (1347681081,), (1347681090,), (1347681095,), (1347681126,), (1347681129,), (1347681138,), (1347681145,), (1347681150,), (1347681154,), (1347681184,), (1347681187,), (1347681240,), (1347681354,), (1347681370,), (1347681374,), (1347681378,), (1347681380,), (1347681688,), (1347681707,), (1347681747,), (1347681779,), (1347681840,), (1347681885,), (1347682026,), (1347682073,), (1347682097,), (1347682890,), (1347450947,), (1347450952,), (1347450968,), (1347451294,), (1347451348,), (1347451457,), (1347451521,), (1347451754,), (1347451801,), (1347451867,), (1347451895,), (1347451907,), (1347452072,), (1347452090,), (1347452108,), (1347452160,), (1347452163,), (1347452165,), (1347452168,), (1347452405,), (1347452430,), (1347452452,), (1347452480,), (1347452505,), (1347452525,), (1347452741,), (1347452763,), (1347452785,), (1347452811,), (1347452841,), (1347452951,), (1347452955,), (1347452959,), (1347453140,), (1347453143,), (1347453150,), (1347453156,), (1347453161,), (1347453172,), (1347453353,), (1347453380,), (1347453405,), (1347453439,), (1347453574,), (1347453580,), (1347453620,), (1347453624,), (1347453627,), (1347453630,), (1347453631,), (1347453675,), (1347453680,), (1347453684,), (1347453688,), (1347453690,), (1347453691,), (1347453889,), (1347453894,), (1347453898,), (1347453901,), (1347453907,), (1347453912,), (1347453921,), (1347455190,), (1347455238,), (1347455242,), (1347455249,), (1347455254,), (1347455259,), (1347455291,), (1347455296,), (1347455301,), (1347455334,), (1347455349,), (1347455356,), (1347455363,), (1347455368,), (1347455395,), (1347455400,), (1347455405,), (1347455453,), (1347455460,), (1347455467,), (1347455474,), (1347455482,), (1347455518,), (1347455524,), (1347455529,), (1347455537,), (1347455576,), (1347455580,), (1347455585,), (1347455592,), (1347455629,), (1347455635,), (1347455690,), (1347455695,), (1347455701,), (1347455744,), (1347455750,), (1347455755,), (1347455761,), (1347455764,), (1347455767,), (1347455790,), (1347455794,), (1347455802,), (1347455812,), (1347455820,), (1347455849,), (1347455854,), (1347455861,), (1347455869,), (1347455873,), (1347455876,), (1347455905,), (1347455909,), (1347455913,), (1347455953,), (1347455957,), (1347456008,), (1347455999,), (1347456004,), (1347456049,), (1347456053,), (1347456056,), (1347456064,), (1347456102,), (1347456108,), (1347456112,), (1347456118,), (1347456160,), (1347456165,), (1347456167,), (1347456173,), (1347456178,), (1347456211,), (1347456217,), (1347456264,), (1347456266,), (1347456269,), (1347456273,), (1347456278,), (1347456313,), (1347456315,), (1347456319,), (1347456325,), (1347456365,), (1347456368,), (1347456374,), (1347456379,), (1347456410,), (1347456413,), (1347456416,), (1347456421,), (1347456461,), (1347456466,), (1347456607,), (1347456610,), (1347456689,), (1347456694,), (1347456700,), (1347456705,), (1347456712,), (1347456762,), (1347456746,), (1347456751,), (1347456757,), (1347456805,), (1347456808,), (1347456810,), (1347456817,), (1347456852,), (1347456856,), (1347456859,), (1347456867,), (1347456899,), (1347456904,), (1347456911,), (1347456918,), (1347456925,), (1347456932,), (1347456964,), (1347456968,), (1347456973,), (1347456978,), (1347457008,), (1347457010,), (1347457012,), (1347457018,), (1347457026,), (1347457062,), (1347457066,), (1347457069,), (1347457075,), (1347457080,), (1347457114,), (1347457118,), (1347457121,), (1347457150,), (1347457155,), (1347457159,), (1347457167,), (1347457205,), (1347457209,), (1347457215,), (1347457218,), (1347457245,), (1347457262,), (1347457269,), (1347457274,), (1347457280,), (1347457285,), (1347457303,), (1347457308,), (1347457313,), (1347457319,), (1347457324,), (1347457328,), (1347457353,), (1347457357,), (1347457391,), (1347457396,), (1347457400,), (1347457442,), (1347457448,), (1347457453,), (1347457458,), (1347457462,), (1347457466,), (1347457514,), (1347457491,), (1347457495,), (1347457497,), (1347457504,), (1347457509,), (1347457531,), (1347457535,), (1347457572,), (1347457577,), (1347457582,), (1347457588,), (1347457594,), (1347457614,), (1347457617,), (1347457620,), (1347457626,), (1347457632,), (1347457666,), (1347457672,), (1347457674,), (1347457679,), (1347457682,), (1347457721,), (1347457722,), (1347457726,), (1347457730,), (1347457764,), (1347457766,), (1347457769,), (1347457809,), (1347457812,), (1347457815,), (1347457819,), (1347457823,), (1347457829,), (1347457862,), (1347457865,), (1347457867,), (1347457871,), (1347457909,), (1347457912,), (1347457914,), (1347457963,), (1347457966,), (1347457971,), (1347457974,), (1347458004,), (1347458006,), (1347458007,), (1347458011,), (1347458015,), (1347458022,), (1347458046,), (1347458049,), (1347458051,), (1347458089,), (1347458092,), (1347458095,), (1347458099,), (1347458102,), (1347458109,), (1347458139,), (1347458142,), (1347458144,), (1347458148,), (1347458150,), (1347458154,), (1347458188,), (1347458186,), (1347458278,), (1347458281,), (1347458283,), (1347458318,), (1347458323,), (1347458327,), (1347458366,), (1347458370,), (1347458374,), (1347458380,), (1347458416,), (1347458418,), (1347458421,), (1347458427,), (1347458433,), (1347458461,), (1347458465,), (1347458468,), (1347458507,), (1347458509,), (1347458511,), (1347458516,), (1347458522,), (1347458529,), (1347458565,), (1347458569,), (1347458572,), (1347458577,), (1347458586,), (1347458610,), (1347458612,), (1347458613,), (1347458648,), (1347458651,), (1347458655,), (1347458660,), (1347458693,), (1347458698,), (1347458703,), (1347458732,), (1347458734,), (1347458739,), (1347458742,), (1347458774,), (1347458777,), (1347458779,), (1347458782,), (1347458812,), (1347458813,), (1347458815,), (1347458884,), (1347458868,), (1347458870,), (1347458873,), (1347458876,), (1347458880,), (1347458904,), (1347458907,), (1347458910,), (1347458916,), (1347458922,), (1347458929,), (1347458961,), (1347458966,), (1347458970,), (1347459000,), (1347459005,), (1347459009,), (1347459013,), (1347459020,), (1347459051,), (1347459055,), (1347459060,), (1347459092,), (1347459096,), (1347459100,), (1347459107,), (1347459112,), (1347459137,), (1347459141,), (1347459145,), (1347459152,), (1347459186,), (1347459190,), (1347459193,), (1347459232,), (1347459236,), (1347459240,), (1347459245,), (1347459249,), (1347459253,), (1347459277,), (1347459281,), (1347459284,), (1347459290,), (1347459319,), (1347459323,), (1347459326,), (1347459332,), (1347459360,), (1347459364,), (1347459369,), (1347459376,), (1347459380,), (1347459409,), (1347459414,), (1347459418,), (1347459421,), (1347459423,), (1347459424,), (1347459492,), (1347459496,), (1347459548,), (1347459537,), (1347459540,), (1347459544,), (1347459585,), (1347459589,), (1347459592,), (1347459597,), (1347459600,), (1347459632,), (1347459636,), (1347459639,), (1347459675,), (1347459680,), (1347459684,), (1347459690,), (1347459718,), (1347459723,), (1347459726,), (1347459734,), (1347459741,), (1347459747,), (1347459769,), (1347459773,), (1347459777,), (1347459808,), (1347459813,), (1347459818,), (1347459829,), (1347459863,), (1347459867,), (1347459870,), (1347459875,), (1347459906,), (1347459908,), (1347459909,), (1347459913,), (1347459917,), (1347459922,), (1347459950,), (1347459954,), (1347459957,), (1347459962,), (1347459965,), (1347459995,), (1347459997,), (1347460000,), (1347460035,), (1347460040,), (1347460044,), (1347460083,), (1347460085,), (1347460090,), (1347460122,), (1347460125,), (1347460129,), (1347460136,), (1347460141,), (1347460170,), (1347460172,), (1347460175,), (1347460225,), (1347460208,), (1347460214,), (1347460218,), (1347460221,), (1347460248,), (1347460251,), (1347460254,), (1347460376,), (1347460380,), (1347460384,), (1347460386,), (1347460422,), (1347460426,), (1347460429,), (1347460432,), (1347460461,), (1347460465,), (1347460468,), (1347460472,), (1347460504,), (1347460506,), (1347460507,), (1347460510,), (1347460513,), (1347460541,), (1347460544,), (1347460547,), (1347460579,), (1347460581,), (1347460584,), (1347460588,), (1347460591,), (1347460629,), (1347460631,), (1347460632,), (1347460640,), (1347460645,), (1347460652,), (1347460673,), (1347460676,), (1347460678,), (1347460682,), (1347460686,), (1347460824,), (1347460815,), (1347460818,), (1347460820,), (1347460823,), (1347460855,), (1347460857,), (1347460859,), (1347460862,), (1347460865,), (1347460870,), (1347460897,), (1347460900,), (1347460903,), (1347460905,), (1347460907,), (1347460933,), (1347460935,), (1347460936,), (1347460940,), (1347460975,), (1347460978,), (1347460980,), (1347460982,), (1347460984,), (1347460987,), (1347461012,), (1347461014,), (1347461017,), (1347461019,), (1347461047,), (1347461048,), (1347461049,), (1347461052,), (1347461055,), (1347461082,), (1347461085,), (1347461087,), (1347461092,), (1347461093,), (1347461095,), (1347461120,), (1347461122,), (1347461124,), (1347461156,), (1347461158,), (1347461159,), (1347461162,), (1347461163,), (1347461166,), (1347461188,), (1347461192,), (1347461195,), (1347461200,), (1347461227,), (1347461231,), (1347461236,), (1347461262,), (1347461265,), (1347461269,), (1347461272,), (1347461274,), (1347461303,), (1347461306,), (1347461310,), (1347461316,), (1347461320,), (1347461325,), (1347461349,), (1347461351,), (1347461353,), (1347461392,), (1347461383,), (1347461387,), (1347461426,), (1347461428,), (1347461431,), (1347461436,), (1347461440,), (1347461468,), (1347461473,), (1347461477,), (1347461482,), (1347461484,), (1347461507,), (1347461511,), (1347461547,), (1347461550,), (1347461554,), (1347461557,), (1347461558,), (1347461580,), (1347461583,), (1347461585,), (1347461623,), (1347461628,), (1347461631,), (1347461637,), (1347461642,), (1347461647,), (1347461671,), (1347461675,), (1347461677,), (1347461683,), (1347461689,), (1347461718,), (1347461762,), (1347461765,), (1347461766,), (1347461772,), (1347461778,), (1347461807,), (1347461812,), (1347461817,), (1347461822,), (1347461859,), (1347461862,), (1347461866,), (1347461871,), (1347461877,), (1347461881,), (1347461908,), (1347461910,), (1347461912,), (1347461915,), (1347461918,), (1347461919,), (1347461987,), (1347461991,), (1347461995,), (1347461998,), (1347462007,), (1347462021,), (1347462024,), (1347462026,), (1347462028,), (1347462029,), (1347462052,), (1347462034,), (1347462039,), (1347462043,), (1347462048,), (1347462082,), (1347462086,), (1347462089,), (1347462093,), (1347462097,), (1347462102,), (1347462131,), (1347462135,), (1347462138,), (1347462143,), (1347462146,), (1347462150,), (1347462172,), (1347462174,), (1347462179,), (1347462185,), (1347462191,), (1347462226,), (1347462231,), (1347462234,), (1347462238,), (1347462241,), (1347462246,), (1347462268,), (1347462271,), (1347462273,), (1347462278,), (1347462308,), (1347462310,), (1347462315,), (1347462317,), (1347462323,), (1347462354,), (1347462356,), (1347462357,), (1347462390,), (1347462394,), (1347462396,), (1347462400,), (1347462402,), (1347462433,), (1347462435,), (1347462438,), (1347462444,), (1347462449,), (1347462485,), (1347465453,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26032025': {'nb_upload': 44, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21760969]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1347460824, 1347460686, 1347460682, 1347460678, 1347460676, 1347460673, 1347460652, 1347460645, 1347460640, 1347460632, 1347460631, 1347460629, 1347460591, 1347460588, 1347460584, 1347460581, 1347460579, 1347460547, 1347460544, 1347460541, 1347460513, 1347460510, 1347460507, 1347460506, 1347460504, 1347460472, 1347460468, 1347460465, 1347460461, 1347460432, 1347460429, 1347460426, 1347460422, 1347460386, 1347460384, 1347460380, 1347460376, 1347460254, 1347460251, 1347460248, 1347460221, 1347460218, 1347460214, 1347460208] map_info['map_portfolio_photo'] : {21760969: [1347460824, 1347460686, 1347460682, 1347460678, 1347460676, 1347460673, 1347460652, 1347460645, 1347460640, 1347460632, 1347460631, 1347460629, 1347460591, 1347460588, 1347460584, 1347460581, 1347460579, 1347460547, 1347460544, 1347460541, 1347460513, 1347460510, 1347460507, 1347460506, 1347460504, 1347460472, 1347460468, 1347460465, 1347460461, 1347460432, 1347460429, 1347460426, 1347460422, 1347460386, 1347460384, 1347460380, 1347460376, 1347460254, 1347460251, 1347460248, 1347460221, 1347460218, 1347460214, 1347460208]} final : True mtd_id 4302 list_pids : [1347460824, 1347460686, 1347460682, 1347460678, 1347460676, 1347460673, 1347460652, 1347460645, 1347460640, 1347460632, 1347460631, 1347460629, 1347460591, 1347460588, 1347460584, 1347460581, 1347460579, 1347460547, 1347460544, 1347460541, 1347460513, 1347460510, 1347460507, 1347460506, 1347460504, 1347460472, 1347460468, 1347460465, 1347460461, 1347460432, 1347460429, 1347460426, 1347460422, 1347460386, 1347460384, 1347460380, 1347460376, 1347460254, 1347460251, 1347460248, 1347460221, 1347460218, 1347460214, 1347460208] Looping around the photos to save general results len do output : 1 /21760969Didn'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, '2708878') ('4302', '21760969', '1347460824', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460686', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460682', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460678', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460676', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460673', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460652', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460645', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460640', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460632', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460631', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460629', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460591', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460588', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460584', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460581', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460579', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460547', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460544', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460541', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460513', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460510', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460507', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460506', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460504', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460472', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460468', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460465', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460461', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460432', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460429', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460426', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460422', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460386', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460384', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460380', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460376', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460254', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460251', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460248', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460221', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460218', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460214', None, None, None, None, None, '2708878') ('4302', None, None, None, None, None, None, None, '2708878') ('4302', '21760969', '1347460208', None, None, None, None, None, '2708878') 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', None, '21760969', 'None', None, None, None, None, '2708878'), ('4302', '21760969', '1347460824', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460686', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460682', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460678', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460676', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460673', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460652', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460645', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460640', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460632', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460631', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460629', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460591', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460588', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460584', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460581', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460579', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460547', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460544', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460541', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460513', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460510', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460507', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460506', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460504', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460472', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460468', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460465', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460461', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460432', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460429', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460426', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460422', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460386', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460384', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460380', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460376', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460254', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460251', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460248', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460221', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460218', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460214', None, None, None, None, None, '2708878'), ('4302', '21760969', '1347460208', None, None, None, None, None, '2708878')] time used for this insertion : 0.021004915237426758 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.8622522354125977 time spend to save output : 0.021390676498413086 total time spend for step 5 : 3.8836429119110107 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 (2708878) 3.38user 2.29system 0:21.34elapsed 26%CPU (0avgtext+0avgdata 167640maxresident)k 864inputs+30968outputs (9major+89684minor)pagefaults 0swaps