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 : 3222553 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 (2572566) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2572566) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357224 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2572566'] with mtr_portfolio_ids : ['20357224'] and first list_photo_ids : [] new path : /proc/3222553/ Name: python3 Umask: 0002 State: R (running) Tgid: 3222553 Ngid: 0 Pid: 3222553 PPid: 3222552 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3222553 NSpid: 3222553 NSpgid: 3221965 NSsid: 3221965 VmPeak: 1106580 kB VmSize: 1106556 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98020 kB VmRSS: 98020 kB RssAnon: 59736 kB RssFile: 38284 kB RssShmem: 0 kB VmData: 865308 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 612 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: 40 nonvoluntary_ctxt_switches: 108 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3222553', 'Ngid': '0', 'Pid': '3222553', 'PPid': '3222552', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3222553', 'NSpid': '3222553', 'NSpgid': '3221965', 'NSsid': '3221965', 'VmPeak': '1106580 kB', 'VmSize': '1106556 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98020 kB', 'VmRSS': '98020 kB', 'RssAnon': '59736 kB', 'RssFile': '38284 kB', 'RssShmem': '0 kB', 'VmData': '865308 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '612 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': '40', 'nonvoluntary_ctxt_switches': '108'} ('datou_batch_current', '3222553', '1106580', '0', '1106556', '865308', '98020', b'', 'marlene', '2572566') 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 (20357224) 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 (2572566 ) ) 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 (20357224) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1335344596, 'portfolio_id': 20357224}, {'photo_id': 1335344361, 'portfolio_id': 20357224}, {'photo_id': 1335344346, 'portfolio_id': 20357224}, {'photo_id': 1335344340, 'portfolio_id': 20357224}, {'photo_id': 1335344335, 'portfolio_id': 20357224}, {'photo_id': 1335344331, 'portfolio_id': 20357224}, {'photo_id': 1335344301, 'portfolio_id': 20357224}, {'photo_id': 1335344297, 'portfolio_id': 20357224}, {'photo_id': 1335344212, 'portfolio_id': 20357224}, {'photo_id': 1335344195, 'portfolio_id': 20357224}, {'photo_id': 1335344190, 'portfolio_id': 20357224}, {'photo_id': 1335344172, 'portfolio_id': 20357224}, {'photo_id': 1335344133, 'portfolio_id': 20357224}, {'photo_id': 1335344127, 'portfolio_id': 20357224}, {'photo_id': 1335344115, 'portfolio_id': 20357224}, {'photo_id': 1335344079, 'portfolio_id': 20357224}, {'photo_id': 1335344030, 'portfolio_id': 20357224}, {'photo_id': 1335343946, 'portfolio_id': 20357224}, {'photo_id': 1335343848, 'portfolio_id': 20357224}, {'photo_id': 1335343775, 'portfolio_id': 20357224}, {'photo_id': 1335343593, 'portfolio_id': 20357224}, {'photo_id': 1335343592, 'portfolio_id': 20357224}, {'photo_id': 1335343589, 'portfolio_id': 20357224}, {'photo_id': 1335343555, 'portfolio_id': 20357224}, {'photo_id': 1335343474, 'portfolio_id': 20357224}, {'photo_id': 1335343434, 'portfolio_id': 20357224}, {'photo_id': 1335343341, 'portfolio_id': 20357224}, {'photo_id': 1335343339, 'portfolio_id': 20357224}, {'photo_id': 1335343337, 'portfolio_id': 20357224}, {'photo_id': 1335343336, 'portfolio_id': 20357224}, {'photo_id': 1335343334, 'portfolio_id': 20357224}, {'photo_id': 1335343333, 'portfolio_id': 20357224}, {'photo_id': 1335343331, 'portfolio_id': 20357224}, {'photo_id': 1335343330, 'portfolio_id': 20357224}, {'photo_id': 1335343303, 'portfolio_id': 20357224}, {'photo_id': 1335343302, 'portfolio_id': 20357224}, {'photo_id': 1335343300, 'portfolio_id': 20357224}, {'photo_id': 1335343299, 'portfolio_id': 20357224}, {'photo_id': 1335342678, 'portfolio_id': 20357224}, {'photo_id': 1335342586, 'portfolio_id': 20357224}, {'photo_id': 1335342507, 'portfolio_id': 20357224}, {'photo_id': 1335342410, 'portfolio_id': 20357224}, {'photo_id': 1335336339, 'portfolio_id': 20357224}] map_portfolio_id_photo_id: {20357224: [1335344596, 1335344361, 1335344346, 1335344340, 1335344335, 1335344331, 1335344301, 1335344297, 1335344212, 1335344195, 1335344190, 1335344172, 1335344133, 1335344127, 1335344115, 1335344079, 1335344030, 1335343946, 1335343848, 1335343775, 1335343593, 1335343592, 1335343589, 1335343555, 1335343474, 1335343434, 1335343341, 1335343339, 1335343337, 1335343336, 1335343334, 1335343333, 1335343331, 1335343330, 1335343303, 1335343302, 1335343300, 1335343299, 1335342678, 1335342586, 1335342507, 1335342410, 1335336339]} ##### 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.1903090476989746 #### 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 Feb 10 16:59:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20357224) 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 : 20357224 get user id for portfolio 20357224 get sub ptf for main ptf 20357224, type 3726 and hashtags ['kraft', 'flou', 'autre_refus', 'papier', 'Carton_gris', 'Carton_brun', 'cartonnette', 'environnement', 'mal_croppe', 'metal', 'Teint_Dans_La_Masse', 'plastique'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20357224 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','flou','autre_refus','papier','Carton_gris','Carton_brun','cartonnette','environnement','mal_croppe','metal','Teint_Dans_La_Masse','plastique')) 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`=20357224 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','flou','autre_refus','papier','Carton_gris','Carton_brun','cartonnette','environnement','mal_croppe','metal','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 20357224, 'sub_port_id': 20357253, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039347, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 58)}, 'kraft': {'main_port_id': 20357224, 'sub_port_id': 20357254, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039348, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 58)}, 'autre_refus': {'main_port_id': 20357224, 'sub_port_id': 20357255, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039349, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 58)}, 'cartonnette': {'main_port_id': 20357224, 'sub_port_id': 20357256, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039350, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 58)}, 'mal_croppe': {'main_port_id': 20357224, 'sub_port_id': 20357257, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039351, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 58)}, 'papier': {'main_port_id': 20357224, 'sub_port_id': 20357258, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039352, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20357224, 'sub_port_id': 20357259, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039353, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 58)}, 'plastique': {'main_port_id': 20357224, 'sub_port_id': 20357260, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039354, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 58)}, 'metal': {'main_port_id': 20357224, 'sub_port_id': 20357261, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039355, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 58)}, 'flou': {'main_port_id': 20357224, 'sub_port_id': 20357262, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039356, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 58)}, 'Carton_brun': {'main_port_id': 20357224, 'sub_port_id': 20357263, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039357, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 58)}, 'Carton_gris': {'main_port_id': 20357224, 'sub_port_id': 20357264, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039358, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20357253 , 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=20357224 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 (20357253) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357224) result : ((1335336339,), (1335342410,), (1335342507,), (1335342586,), (1335342678,), (1335343299,), (1335343300,), (1335343302,), (1335343303,), (1335343330,), (1335343331,), (1335343333,), (1335343334,), (1335343336,), (1335343337,), (1335343339,), (1335343341,), (1335343434,), (1335343474,), (1335343555,), (1335343589,), (1335343592,), (1335343593,), (1335343775,), (1335343848,), (1335343946,), (1335344030,), (1335344079,), (1335344115,), (1335344127,), (1335344133,), (1335344172,), (1335344190,), (1335344195,), (1335344212,), (1335344297,), (1335344301,), (1335344331,), (1335344335,), (1335344340,), (1335344346,), (1335344361,), (1335344596,)) 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 (1335343300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20357254 , 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=20357224 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 (20357254) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357224) result : ((1335336339,), (1335342410,), (1335342507,), (1335342586,), (1335342678,), (1335343299,), (1335343300,), (1335343302,), (1335343303,), (1335343330,), (1335343331,), (1335343333,), (1335343334,), (1335343336,), (1335343337,), (1335343339,), (1335343341,), (1335343434,), (1335343474,), (1335343555,), (1335343589,), (1335343592,), (1335343593,), (1335343775,), (1335343848,), (1335343946,), (1335344030,), (1335344079,), (1335344115,), (1335344127,), (1335344133,), (1335344172,), (1335344190,), (1335344195,), (1335344212,), (1335344297,), (1335344301,), (1335344331,), (1335344335,), (1335344340,), (1335344346,), (1335344361,), (1335344596,)) 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 (1335343300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20357255 , 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=20357224 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 (20357255) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357224) result : ((1335336339,), (1335342410,), (1335342507,), (1335342586,), (1335342678,), (1335343299,), (1335343300,), (1335343302,), (1335343303,), (1335343330,), (1335343331,), (1335343333,), (1335343334,), (1335343336,), (1335343337,), (1335343339,), (1335343341,), (1335343434,), (1335343474,), (1335343555,), (1335343589,), (1335343592,), (1335343593,), (1335343775,), (1335343848,), (1335343946,), (1335344030,), (1335344079,), (1335344115,), (1335344127,), (1335344133,), (1335344172,), (1335344190,), (1335344195,), (1335344212,), (1335344297,), (1335344301,), (1335344331,), (1335344335,), (1335344340,), (1335344346,), (1335344361,), (1335344596,)) 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 (1335343300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20357256 , 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=20357224 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 (20357256) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357224) result : ((1335336339,), (1335342410,), (1335342507,), (1335342586,), (1335342678,), (1335343299,), (1335343300,), (1335343302,), (1335343303,), (1335343330,), (1335343331,), (1335343333,), (1335343334,), (1335343336,), (1335343337,), (1335343339,), (1335343341,), (1335343434,), (1335343474,), (1335343555,), (1335343589,), (1335343592,), (1335343593,), (1335343775,), (1335343848,), (1335343946,), (1335344030,), (1335344079,), (1335344115,), (1335344127,), (1335344133,), (1335344172,), (1335344190,), (1335344195,), (1335344212,), (1335344297,), (1335344301,), (1335344331,), (1335344335,), (1335344340,), (1335344346,), (1335344361,), (1335344596,)) 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 (1335343300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20357257 , 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=20357224 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 (20357257) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357224) result : ((1335336339,), (1335342410,), (1335342507,), (1335342586,), (1335342678,), (1335343299,), (1335343300,), (1335343302,), (1335343303,), (1335343330,), (1335343331,), (1335343333,), (1335343334,), (1335343336,), (1335343337,), (1335343339,), (1335343341,), (1335343434,), (1335343474,), (1335343555,), (1335343589,), (1335343592,), (1335343593,), (1335343775,), (1335343848,), (1335343946,), (1335344030,), (1335344079,), (1335344115,), (1335344127,), (1335344133,), (1335344172,), (1335344190,), (1335344195,), (1335344212,), (1335344297,), (1335344301,), (1335344331,), (1335344335,), (1335344340,), (1335344346,), (1335344361,), (1335344596,)) 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 (1335343300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20357258 , 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=20357224 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 (20357258) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357224) result : ((1335336339,), (1335342410,), (1335342507,), (1335342586,), (1335342678,), (1335343299,), (1335343300,), (1335343302,), (1335343303,), (1335343330,), (1335343331,), (1335343333,), (1335343334,), (1335343336,), (1335343337,), (1335343339,), (1335343341,), (1335343434,), (1335343474,), (1335343555,), (1335343589,), (1335343592,), (1335343593,), (1335343775,), (1335343848,), (1335343946,), (1335344030,), (1335344079,), (1335344115,), (1335344127,), (1335344133,), (1335344172,), (1335344190,), (1335344195,), (1335344212,), (1335344297,), (1335344301,), (1335344331,), (1335344335,), (1335344340,), (1335344346,), (1335344361,), (1335344596,)) 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 (1335343300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20357259 , 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=20357224 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 (20357259) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357224) result : ((1335336339,), (1335342410,), (1335342507,), (1335342586,), (1335342678,), (1335343299,), (1335343300,), (1335343302,), (1335343303,), (1335343330,), (1335343331,), (1335343333,), (1335343334,), (1335343336,), (1335343337,), (1335343339,), (1335343341,), (1335343434,), (1335343474,), (1335343555,), (1335343589,), (1335343592,), (1335343593,), (1335343775,), (1335343848,), (1335343946,), (1335344030,), (1335344079,), (1335344115,), (1335344127,), (1335344133,), (1335344172,), (1335344190,), (1335344195,), (1335344212,), (1335344297,), (1335344301,), (1335344331,), (1335344335,), (1335344340,), (1335344346,), (1335344361,), (1335344596,)) 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 (1335343300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20357260 , 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=20357224 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 (20357260) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357224) result : ((1335336339,), (1335342410,), (1335342507,), (1335342586,), (1335342678,), (1335343299,), (1335343300,), (1335343302,), (1335343303,), (1335343330,), (1335343331,), (1335343333,), (1335343334,), (1335343336,), (1335343337,), (1335343339,), (1335343341,), (1335343434,), (1335343474,), (1335343555,), (1335343589,), (1335343592,), (1335343593,), (1335343775,), (1335343848,), (1335343946,), (1335344030,), (1335344079,), (1335344115,), (1335344127,), (1335344133,), (1335344172,), (1335344190,), (1335344195,), (1335344212,), (1335344297,), (1335344301,), (1335344331,), (1335344335,), (1335344340,), (1335344346,), (1335344361,), (1335344596,)) 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 (1335343300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20357261 , 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=20357224 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 (20357261) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357224) result : ((1335336339,), (1335342410,), (1335342507,), (1335342586,), (1335342678,), (1335343299,), (1335343300,), (1335343302,), (1335343303,), (1335343330,), (1335343331,), (1335343333,), (1335343334,), (1335343336,), (1335343337,), (1335343339,), (1335343341,), (1335343434,), (1335343474,), (1335343555,), (1335343589,), (1335343592,), (1335343593,), (1335343775,), (1335343848,), (1335343946,), (1335344030,), (1335344079,), (1335344115,), (1335344127,), (1335344133,), (1335344172,), (1335344190,), (1335344195,), (1335344212,), (1335344297,), (1335344301,), (1335344331,), (1335344335,), (1335344340,), (1335344346,), (1335344361,), (1335344596,)) 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 (1335343300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20357262 , 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=20357224 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 (20357262) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357224) result : ((1335336339,), (1335342410,), (1335342507,), (1335342586,), (1335342678,), (1335343299,), (1335343300,), (1335343302,), (1335343303,), (1335343330,), (1335343331,), (1335343333,), (1335343334,), (1335343336,), (1335343337,), (1335343339,), (1335343341,), (1335343434,), (1335343474,), (1335343555,), (1335343589,), (1335343592,), (1335343593,), (1335343775,), (1335343848,), (1335343946,), (1335344030,), (1335344079,), (1335344115,), (1335344127,), (1335344133,), (1335344172,), (1335344190,), (1335344195,), (1335344212,), (1335344297,), (1335344301,), (1335344331,), (1335344335,), (1335344340,), (1335344346,), (1335344361,), (1335344596,)) 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 (1335343300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20357263 , 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=20357224 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 (20357263) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357224) result : ((1335336339,), (1335342410,), (1335342507,), (1335342586,), (1335342678,), (1335343299,), (1335343300,), (1335343302,), (1335343303,), (1335343330,), (1335343331,), (1335343333,), (1335343334,), (1335343336,), (1335343337,), (1335343339,), (1335343341,), (1335343434,), (1335343474,), (1335343555,), (1335343589,), (1335343592,), (1335343593,), (1335343775,), (1335343848,), (1335343946,), (1335344030,), (1335344079,), (1335344115,), (1335344127,), (1335344133,), (1335344172,), (1335344190,), (1335344195,), (1335344212,), (1335344297,), (1335344301,), (1335344331,), (1335344335,), (1335344340,), (1335344346,), (1335344361,), (1335344596,)) 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 (1335343300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20357264 , 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=20357224 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 (20357264) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357224) result : ((1335336339,), (1335342410,), (1335342507,), (1335342586,), (1335342678,), (1335343299,), (1335343300,), (1335343302,), (1335343303,), (1335343330,), (1335343331,), (1335343333,), (1335343334,), (1335343336,), (1335343337,), (1335343339,), (1335343341,), (1335343434,), (1335343474,), (1335343555,), (1335343589,), (1335343592,), (1335343593,), (1335343775,), (1335343848,), (1335343946,), (1335344030,), (1335344079,), (1335344115,), (1335344127,), (1335344133,), (1335344172,), (1335344190,), (1335344195,), (1335344212,), (1335344297,), (1335344301,), (1335344331,), (1335344335,), (1335344340,), (1335344346,), (1335344361,), (1335344596,)) 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 (1335343300) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20357224 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','flou','autre_refus','papier','Carton_gris','Carton_brun','cartonnette','environnement','mal_croppe','metal','Teint_Dans_La_Masse','plastique')) 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`=20357224 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','flou','autre_refus','papier','Carton_gris','Carton_brun','cartonnette','environnement','mal_croppe','metal','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 20357224, 'sub_port_id': 20357265, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039359, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 59)}, 'kraft': {'main_port_id': 20357224, 'sub_port_id': 20357266, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039360, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 59)}, 'autre_refus': {'main_port_id': 20357224, 'sub_port_id': 20357267, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039361, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 59)}, 'cartonnette': {'main_port_id': 20357224, 'sub_port_id': 20357268, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039362, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 59)}, 'mal_croppe': {'main_port_id': 20357224, 'sub_port_id': 20357269, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039363, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 59)}, 'papier': {'main_port_id': 20357224, 'sub_port_id': 20357270, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039364, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20357224, 'sub_port_id': 20357271, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039365, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 59)}, 'plastique': {'main_port_id': 20357224, 'sub_port_id': 20357272, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039366, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 59)}, 'metal': {'main_port_id': 20357224, 'sub_port_id': 20357273, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039367, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 59)}, 'flou': {'main_port_id': 20357224, 'sub_port_id': 20357274, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039368, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 59)}, 'Carton_brun': {'main_port_id': 20357224, 'sub_port_id': 20357275, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039369, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 59)}, 'Carton_gris': {'main_port_id': 20357224, 'sub_port_id': 20357276, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13039370, 'last_updated_at': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 6, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 6, 3, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357265,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357253 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357266,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357254 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357267,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357255 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357268,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357256 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357269,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357257 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357270,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357258 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357271,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357259 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357272,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357260 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357273,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357261 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357274,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357262 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357275,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357263 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20357276,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20357264 lien utilise dans velours : https://www.fotonower.com/velours/20357265,20357266,20357267,20357268,20357269,20357270,20357271,20357272,20357273,20357274,20357275,20357276?tags=environnement,kraft,autre_refus,cartonnette,mal_croppe,papier,Teint_Dans_La_Masse,plastique,metal,flou,Carton_brun,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20357224]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1335344596, 1335344361, 1335344346, 1335344340, 1335344335, 1335344331, 1335344301, 1335344297, 1335344212, 1335344195, 1335344190, 1335344172, 1335344133, 1335344127, 1335344115, 1335344079, 1335344030, 1335343946, 1335343848, 1335343775, 1335343593, 1335343592, 1335343589, 1335343555, 1335343474, 1335343434, 1335343341, 1335343339, 1335343337, 1335343336, 1335343334, 1335343333, 1335343331, 1335343330, 1335343303, 1335343302, 1335343300, 1335343299, 1335342678, 1335342586, 1335342507, 1335342410, 1335336339] map_info['map_portfolio_photo'] : {20357224: [1335344596, 1335344361, 1335344346, 1335344340, 1335344335, 1335344331, 1335344301, 1335344297, 1335344212, 1335344195, 1335344190, 1335344172, 1335344133, 1335344127, 1335344115, 1335344079, 1335344030, 1335343946, 1335343848, 1335343775, 1335343593, 1335343592, 1335343589, 1335343555, 1335343474, 1335343434, 1335343341, 1335343339, 1335343337, 1335343336, 1335343334, 1335343333, 1335343331, 1335343330, 1335343303, 1335343302, 1335343300, 1335343299, 1335342678, 1335342586, 1335342507, 1335342410, 1335336339]} final : False mtd_id 4302 list_pids : [1335344596, 1335344361, 1335344346, 1335344340, 1335344335, 1335344331, 1335344301, 1335344297, 1335344212, 1335344195, 1335344190, 1335344172, 1335344133, 1335344127, 1335344115, 1335344079, 1335344030, 1335343946, 1335343848, 1335343775, 1335343593, 1335343592, 1335343589, 1335343555, 1335343474, 1335343434, 1335343341, 1335343339, 1335343337, 1335343336, 1335343334, 1335343333, 1335343331, 1335343330, 1335343303, 1335343302, 1335343300, 1335343299, 1335342678, 1335342586, 1335342507, 1335342410, 1335336339] Looping around the photos to save general results len do output : 1 /20357224. 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, '2572566') ('4302', '20357224', '1335344596', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344361', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344346', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344340', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344335', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344331', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344301', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344297', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344212', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344195', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344190', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344172', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344133', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344127', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344115', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344079', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344030', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343946', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343848', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343775', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343593', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343592', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343589', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343555', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343474', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343434', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343341', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343339', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343337', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343336', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343334', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343333', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343331', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343330', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343303', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343302', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343300', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343299', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342678', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342586', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342507', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342410', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335336339', None, None, None, None, None, '2572566') 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', None, '20357224', "{'environnement': 20357253, 'kraft': 20357254, 'autre_refus': 20357255, 'cartonnette': 20357256, 'mal_croppe': 20357257, 'papier': 20357258, 'Teint_Dans_La_Masse': 20357259, 'plastique': 20357260, 'metal': 20357261, 'flou': 20357262, 'Carton_brun': 20357263, 'Carton_gris': 20357264}", None, None, None, None, '2572566'), ('4302', '20357224', '1335344596', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344361', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344346', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344340', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344335', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344331', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344301', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344297', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344212', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344195', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344190', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344172', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344133', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344127', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344115', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344079', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344030', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343946', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343848', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343775', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343593', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343592', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343589', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343555', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343474', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343434', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343341', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343339', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343337', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343336', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343334', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343333', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343331', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343330', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343303', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343302', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343300', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343299', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335342678', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335342586', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335342507', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335342410', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335336339', None, None, None, None, None, '2572566')] time used for this insertion : 0.023543357849121094 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.41732287406921387 time spend to save output : 0.024024486541748047 total time spend for step 1 : 0.4413473606109619 step2:final Mon Feb 10 16:59:30 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 (20357224) 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 20357224 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1335342678,1335342586,1335342507,1335342410,1335344361,1335336339,1335344346,1335344340,1335344335,1335344331,1335344301,1335344297,1335344212,1335344195,1335344190,1335343339,1335343341,1335343336,1335343337,1335343333,1335343334,1335343330,1335343331,1335343302,1335343303,1335343299,1335343300,1335344172,1335344133,1335344127,1335344115,1335344079,1335344030,1335343946,1335343848,1335343775,1335343593,1335343592,1335343589,1335343555,1335343474,1335343434,1335344596); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20357224]) Inside saveOutput : final : False verbose : True original output for save of step final : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} new output for save of step final : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} [1335344596, 1335344361, 1335344346, 1335344340, 1335344335, 1335344331, 1335344301, 1335344297, 1335344212, 1335344195, 1335344190, 1335344172, 1335344133, 1335344127, 1335344115, 1335344079, 1335344030, 1335343946, 1335343848, 1335343775, 1335343593, 1335343592, 1335343589, 1335343555, 1335343474, 1335343434, 1335343341, 1335343339, 1335343337, 1335343336, 1335343334, 1335343333, 1335343331, 1335343330, 1335343303, 1335343302, 1335343300, 1335343299, 1335342678, 1335342586, 1335342507, 1335342410, 1335336339] map_info['map_portfolio_photo'] : {20357224: [1335344596, 1335344361, 1335344346, 1335344340, 1335344335, 1335344331, 1335344301, 1335344297, 1335344212, 1335344195, 1335344190, 1335344172, 1335344133, 1335344127, 1335344115, 1335344079, 1335344030, 1335343946, 1335343848, 1335343775, 1335343593, 1335343592, 1335343589, 1335343555, 1335343474, 1335343434, 1335343341, 1335343339, 1335343337, 1335343336, 1335343334, 1335343333, 1335343331, 1335343330, 1335343303, 1335343302, 1335343300, 1335343299, 1335342678, 1335342586, 1335342507, 1335342410, 1335336339]} final : False mtd_id 4302 list_pids : [1335344596, 1335344361, 1335344346, 1335344340, 1335344335, 1335344331, 1335344301, 1335344297, 1335344212, 1335344195, 1335344190, 1335344172, 1335344133, 1335344127, 1335344115, 1335344079, 1335344030, 1335343946, 1335343848, 1335343775, 1335343593, 1335343592, 1335343589, 1335343555, 1335343474, 1335343434, 1335343341, 1335343339, 1335343337, 1335343336, 1335343334, 1335343333, 1335343331, 1335343330, 1335343303, 1335343302, 1335343300, 1335343299, 1335342678, 1335342586, 1335342507, 1335342410, 1335336339] Looping around the photos to save general results len do output : 43 /1335344596.Didn't retrieve data . /1335344361.Didn't retrieve data . /1335344346.Didn't retrieve data . /1335344340.Didn't retrieve data . /1335344335.Didn't retrieve data . /1335344331.Didn't retrieve data . /1335344301.Didn't retrieve data . /1335344297.Didn't retrieve data . /1335344212.Didn't retrieve data . /1335344195.Didn't retrieve data . /1335344190.Didn't retrieve data . /1335344172.Didn't retrieve data . /1335344133.Didn't retrieve data . /1335344127.Didn't retrieve data . /1335344115.Didn't retrieve data . /1335344079.Didn't retrieve data . /1335344030.Didn't retrieve data . /1335343946.Didn't retrieve data . /1335343848.Didn't retrieve data . /1335343775.Didn't retrieve data . /1335343593.Didn't retrieve data . /1335343592.Didn't retrieve data . /1335343589.Didn't retrieve data . /1335343555.Didn't retrieve data . /1335343474.Didn't retrieve data . /1335343434.Didn't retrieve data . /1335343341.Didn't retrieve data . /1335343339.Didn't retrieve data . /1335343337.Didn't retrieve data . /1335343336.Didn't retrieve data . /1335343334.Didn't retrieve data . /1335343333.Didn't retrieve data . /1335343331.Didn't retrieve data . /1335343330.Didn't retrieve data . /1335343303.Didn't retrieve data . /1335343302.Didn't retrieve data . /1335343300.Didn't retrieve data . /1335343299.Didn't retrieve data . /1335342678.Didn't retrieve data . /1335342586.Didn't retrieve data . /1335342507.Didn't retrieve data . /1335342410.Didn't retrieve data . /1335336339.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, '2572566') ('4302', '20357224', '1335344596', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344361', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344346', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344340', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344335', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344331', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344301', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344297', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344212', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344195', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344190', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344172', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344133', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344127', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344115', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344079', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344030', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343946', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343848', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343775', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343593', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343592', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343589', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343555', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343474', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343434', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343341', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343339', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343337', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343336', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343334', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343333', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343331', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343330', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343303', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343302', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343300', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343299', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342678', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342586', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342507', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342410', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335336339', None, None, None, None, None, '2572566') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 129 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', '20357224', '1335344596', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344361', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344346', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344340', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344335', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344331', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344301', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344297', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344212', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344195', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344190', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344172', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344133', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344127', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344115', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344079', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335344030', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343946', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343848', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343775', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343593', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343592', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343589', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343555', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343474', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343434', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343341', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343339', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343337', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343336', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343334', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343333', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343331', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343330', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343303', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343302', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343300', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335343299', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335342678', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335342586', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335342507', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335342410', '0.0', None, None, None, None, '2572566'), ('4302', '20357224', '1335336339', '0.0', None, None, None, None, '2572566')] time used for this insertion : 0.02444171905517578 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05406904220581055 time spend to save output : 0.026106595993041992 total time spend for step 2 : 0.08017563819885254 step3:velours_tree Mon Feb 10 16:59:30 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 : {20357224: [{'environnement': 20357253, 'kraft': 20357254, 'autre_refus': 20357255, 'cartonnette': 20357256, 'mal_croppe': 20357257, 'papier': 20357258, 'Teint_Dans_La_Masse': 20357259, 'plastique': 20357260, 'metal': 20357261, 'flou': 20357262, 'Carton_brun': 20357263, 'Carton_gris': 20357264}]} input_args_next_step : {20357224: ()} output_args : {20357224: [{'environnement': 20357253, 'kraft': 20357254, 'autre_refus': 20357255, 'cartonnette': 20357256, 'mal_croppe': 20357257, 'papier': 20357258, 'Teint_Dans_La_Masse': 20357259, 'plastique': 20357260, 'metal': 20357261, 'flou': 20357262, 'Carton_brun': 20357263, 'Carton_gris': 20357264}]} args : 20357224 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'environnement': 20357253, 'kraft': 20357254, 'autre_refus': 20357255, 'cartonnette': 20357256, 'mal_croppe': 20357257, 'papier': 20357258, 'Teint_Dans_La_Masse': 20357259, 'plastique': 20357260, 'metal': 20357261, 'flou': 20357262, 'Carton_brun': 20357263, 'Carton_gris': 20357264},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20357224) 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([20357224]) 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.332813024520874 time spend to save output : 8.893013000488281e-05 total time spend for step 3 : 0.3329019546508789 step4:send_mail_cod Mon Feb 10 16:59:30 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 : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} input_args_next_step : {1335344596: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344596 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344361 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344346 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344340 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344335 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344331 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344301 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344297 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344212 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344195 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344190 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344172 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344133 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344127 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344115 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344079 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335344030 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343946 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343848 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343775 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343593 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343592 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343589 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343555 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343474 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343434 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343341 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343339 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343337 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343336 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343334 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343333 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343331 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343330 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343303 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343302 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343300 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335343299 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335342678 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335342586 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335342507 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335342410 depend.output_id : 0 input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ()} output_args : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',)} args : 1335336339 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 : {20357224: [{'environnement': 20357253, 'kraft': 20357254, 'autre_refus': 20357255, 'cartonnette': 20357256, 'mal_croppe': 20357257, 'papier': 20357258, 'Teint_Dans_La_Masse': 20357259, 'plastique': 20357260, 'metal': 20357261, 'flou': 20357262, 'Carton_brun': 20357263, 'Carton_gris': 20357264}]} input_args_next_step : {1335344596: ('0.0',), 1335344361: ('0.0',), 1335344346: ('0.0',), 1335344340: ('0.0',), 1335344335: ('0.0',), 1335344331: ('0.0',), 1335344301: ('0.0',), 1335344297: ('0.0',), 1335344212: ('0.0',), 1335344195: ('0.0',), 1335344190: ('0.0',), 1335344172: ('0.0',), 1335344133: ('0.0',), 1335344127: ('0.0',), 1335344115: ('0.0',), 1335344079: ('0.0',), 1335344030: ('0.0',), 1335343946: ('0.0',), 1335343848: ('0.0',), 1335343775: ('0.0',), 1335343593: ('0.0',), 1335343592: ('0.0',), 1335343589: ('0.0',), 1335343555: ('0.0',), 1335343474: ('0.0',), 1335343434: ('0.0',), 1335343341: ('0.0',), 1335343339: ('0.0',), 1335343337: ('0.0',), 1335343336: ('0.0',), 1335343334: ('0.0',), 1335343333: ('0.0',), 1335343331: ('0.0',), 1335343330: ('0.0',), 1335343303: ('0.0',), 1335343302: ('0.0',), 1335343300: ('0.0',), 1335343299: ('0.0',), 1335342678: ('0.0',), 1335342586: ('0.0',), 1335342507: ('0.0',), 1335342410: ('0.0',), 1335336339: ('0.0',), 20357224: ()} output_args : {20357224: [{'environnement': 20357253, 'kraft': 20357254, 'autre_refus': 20357255, 'cartonnette': 20357256, 'mal_croppe': 20357257, 'papier': 20357258, 'Teint_Dans_La_Masse': 20357259, 'plastique': 20357260, 'metal': 20357261, 'flou': 20357262, 'Carton_brun': 20357263, 'Carton_gris': 20357264}]} args : 20357224 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 :44, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20357224) 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 (1335344596,1335344361,1335344346,1335344340,1335344335,1335344331,1335344301,1335344297,1335344212,1335344195,1335344190,1335344172,1335344133,1335344127,1335344115,1335344079,1335344030,1335343946,1335343848,1335343775,1335343593,1335343592,1335343589,1335343555,1335343474,1335343434,1335343341,1335343339,1335343337,1335343336,1335343334,1335343333,1335343331,1335343330,1335343303,1335343302,1335343300,1335343299,1335342678,1335342586,1335342507,1335342410,1335336339) Found this number of photos: 43 ##### Call download_photos : nb_thread : 5 begin to download photo : 1335336339 begin to download photo : 1335343330 begin to download photo : 1335343474 begin to download photo : 1335344079 begin to download photo : 1335344301 download finish for photo 1335344301 begin to download photo : 1335344331 download finish for photo 1335343474 begin to download photo : 1335343555 download finish for photo 1335343330 begin to download photo : 1335343331 download finish for photo 1335336339 begin to download photo : 1335342410 download finish for photo 1335344079 begin to download photo : 1335344115 download finish for photo 1335344331 begin to download photo : 1335344335 download finish for photo 1335343555 begin to download photo : 1335343589 download finish for photo 1335343331 begin to download photo : 1335343333 download finish for photo 1335344115 begin to download photo : 1335344127 download finish for photo 1335344335 begin to download photo : 1335344340 download finish for photo 1335343333 begin to download photo : 1335343334 download finish for photo 1335343589 begin to download photo : 1335343592 download finish for photo 1335342410 begin to download photo : 1335342507 download finish for photo 1335344127 begin to download photo : 1335344133 download finish for photo 1335344340 begin to download photo : 1335344346 download finish for photo 1335342507 begin to download photo : 1335342586 download finish for photo 1335343334 begin to download photo : 1335343336 download finish for photo 1335343592 begin to download photo : 1335343593 download finish for photo 1335344133 begin to download photo : 1335344172 download finish for photo 1335342586 begin to download photo : 1335342678 download finish for photo 1335344346 begin to download photo : 1335344361 download finish for photo 1335343336 begin to download photo : 1335343337 download finish for photo 1335343593 begin to download photo : 1335343775 download finish for photo 1335344172 begin to download photo : 1335344190 download finish for photo 1335344361 begin to download photo : 1335344596 download finish for photo 1335342678 begin to download photo : 1335343299 download finish for photo 1335343337 begin to download photo : 1335343339 download finish for photo 1335343775 begin to download photo : 1335343848 download finish for photo 1335344190 begin to download photo : 1335344195 download finish for photo 1335344596 download finish for photo 1335343299 begin to download photo : 1335343300 download finish for photo 1335343848 begin to download photo : 1335343946 download finish for photo 1335344195 begin to download photo : 1335344212 download finish for photo 1335343339 begin to download photo : 1335343341 download finish for photo 1335343300 begin to download photo : 1335343302 download finish for photo 1335343946 begin to download photo : 1335344030 download finish for photo 1335344212 begin to download photo : 1335344297 download finish for photo 1335343341 begin to download photo : 1335343434 download finish for photo 1335343302 begin to download photo : 1335343303 download finish for photo 1335344030 download finish for photo 1335343434 download finish for photo 1335344297 download finish for photo 1335343303 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette203572541739203172/ imagette203572551739203172/ imagette203572561739203172/ imagette203572571739203172/ imagette203572601739203172/ imagette203572611739203172/ imagette203572621739203172/ imagette203572591739203172/ imagette203572631739203172/ imagette203572641739203172/ length of list_filenames : 43 ; length of list_pids : 43 ; length of list_args : 43 results_Auto_P20357224_10-02-2025_16_59_32.pdf 20357254 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=20357254 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203572541739203172 20357255 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=20357255 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203572551739203172 20357256 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=20357256 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203572561739203172 20357257 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=20357257 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203572571739203172 20357260 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=20357260 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203572601739203172 20357261 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=20357261 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203572611739203172 20357262 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=20357262 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203572621739203172 20357259 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=20357259 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203572591739203172 20357263 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=20357263 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203572631739203172 20357264 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=20357264 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203572641739203172 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20357224 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20357265,20357266,20357267,20357268,20357269,20357270,20357271,20357272,20357273,20357274,20357275,20357276?tags=environnement,kraft,autre_refus,cartonnette,mal_croppe,papier,Teint_Dans_La_Masse,plastique,metal,flou,Carton_brun,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1335344596] : ('0.0',) no score found for photo 1335344596 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344361] : ('0.0',) no score found for photo 1335344361 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344346] : ('0.0',) no score found for photo 1335344346 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344340] : ('0.0',) no score found for photo 1335344340 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344335] : ('0.0',) no score found for photo 1335344335 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344331] : ('0.0',) no score found for photo 1335344331 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344301] : ('0.0',) no score found for photo 1335344301 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344297] : ('0.0',) no score found for photo 1335344297 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344212] : ('0.0',) no score found for photo 1335344212 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344195] : ('0.0',) no score found for photo 1335344195 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344190] : ('0.0',) no score found for photo 1335344190 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344172] : ('0.0',) no score found for photo 1335344172 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344133] : ('0.0',) no score found for photo 1335344133 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344127] : ('0.0',) no score found for photo 1335344127 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344115] : ('0.0',) no score found for photo 1335344115 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344079] : ('0.0',) no score found for photo 1335344079 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335344030] : ('0.0',) no score found for photo 1335344030 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343946] : ('0.0',) no score found for photo 1335343946 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343848] : ('0.0',) no score found for photo 1335343848 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343775] : ('0.0',) no score found for photo 1335343775 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343593] : ('0.0',) no score found for photo 1335343593 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343592] : ('0.0',) no score found for photo 1335343592 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343589] : ('0.0',) no score found for photo 1335343589 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343555] : ('0.0',) no score found for photo 1335343555 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343474] : ('0.0',) no score found for photo 1335343474 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343434] : ('0.0',) no score found for photo 1335343434 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343341] : ('0.0',) no score found for photo 1335343341 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343339] : ('0.0',) no score found for photo 1335343339 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343337] : ('0.0',) no score found for photo 1335343337 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343336] : ('0.0',) no score found for photo 1335343336 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343334] : ('0.0',) no score found for photo 1335343334 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343333] : ('0.0',) no score found for photo 1335343333 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343331] : ('0.0',) no score found for photo 1335343331 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343330] : ('0.0',) no score found for photo 1335343330 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343303] : ('0.0',) no score found for photo 1335343303 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343302] : ('0.0',) no score found for photo 1335343302 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343300] : ('0.0',) no score found for photo 1335343300 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335343299] : ('0.0',) no score found for photo 1335343299 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335342678] : ('0.0',) no score found for photo 1335342678 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335342586] : ('0.0',) no score found for photo 1335342586 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335342507] : ('0.0',) no score found for photo 1335342507 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335342410] : ('0.0',) no score found for photo 1335342410 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335336339] : ('0.0',) no score found for photo 1335336339 apple ('0.0',) We are sending mail with results at report@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20357224 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_P20357224_10-02-2025_16_59_32.pdf results_Auto_P20357224_10-02-2025_16_59_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357224_10-02-2025_16_59_32.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','20357224','results_Auto_P20357224_10-02-2025_16_59_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357224_10-02-2025_16_59_32.pdf','pdf','','0.32','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20357224]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1335344596, 1335344361, 1335344346, 1335344340, 1335344335, 1335344331, 1335344301, 1335344297, 1335344212, 1335344195, 1335344190, 1335344172, 1335344133, 1335344127, 1335344115, 1335344079, 1335344030, 1335343946, 1335343848, 1335343775, 1335343593, 1335343592, 1335343589, 1335343555, 1335343474, 1335343434, 1335343341, 1335343339, 1335343337, 1335343336, 1335343334, 1335343333, 1335343331, 1335343330, 1335343303, 1335343302, 1335343300, 1335343299, 1335342678, 1335342586, 1335342507, 1335342410, 1335336339] map_info['map_portfolio_photo'] : {20357224: [1335344596, 1335344361, 1335344346, 1335344340, 1335344335, 1335344331, 1335344301, 1335344297, 1335344212, 1335344195, 1335344190, 1335344172, 1335344133, 1335344127, 1335344115, 1335344079, 1335344030, 1335343946, 1335343848, 1335343775, 1335343593, 1335343592, 1335343589, 1335343555, 1335343474, 1335343434, 1335343341, 1335343339, 1335343337, 1335343336, 1335343334, 1335343333, 1335343331, 1335343330, 1335343303, 1335343302, 1335343300, 1335343299, 1335342678, 1335342586, 1335342507, 1335342410, 1335336339]} final : False mtd_id 4302 list_pids : [1335344596, 1335344361, 1335344346, 1335344340, 1335344335, 1335344331, 1335344301, 1335344297, 1335344212, 1335344195, 1335344190, 1335344172, 1335344133, 1335344127, 1335344115, 1335344079, 1335344030, 1335343946, 1335343848, 1335343775, 1335343593, 1335343592, 1335343589, 1335343555, 1335343474, 1335343434, 1335343341, 1335343339, 1335343337, 1335343336, 1335343334, 1335343333, 1335343331, 1335343330, 1335343303, 1335343302, 1335343300, 1335343299, 1335342678, 1335342586, 1335342507, 1335342410, 1335336339] 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, '2572566') ('4302', '20357224', '1335344596', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344361', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344346', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344340', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344335', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344331', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344301', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344297', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344212', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344195', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344190', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344172', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344133', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344127', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344115', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344079', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344030', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343946', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343848', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343775', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343593', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343592', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343589', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343555', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343474', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343434', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343341', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343339', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343337', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343336', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343334', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343333', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343331', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343330', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343303', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343302', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343300', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343299', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342678', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342586', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342507', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342410', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335336339', None, None, None, None, None, '2572566') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 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', '20357224', '1335344596', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344361', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344346', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344340', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344335', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344331', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344301', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344297', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344212', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344195', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344190', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344172', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344133', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344127', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344115', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344079', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344030', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343946', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343848', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343775', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343593', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343592', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343589', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343555', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343474', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343434', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343341', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343339', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343337', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343336', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343334', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343333', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343331', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343330', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343303', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343302', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343300', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343299', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335342678', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335342586', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335342507', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335342410', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335336339', None, None, None, None, None, '2572566')] time used for this insertion : 0.023653030395507812 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.125523805618286 time spend to save output : 0.024113178253173828 total time spend for step 4 : 4.14963698387146 step5:split_time_score Mon Feb 10 16:59:34 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 : ['20357224'] 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 : [('20357224',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20357224) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1335344301: {'path': 'temp/1739203170_3222553_1335344301_83b9e2fbadccc666425c91775f3e2a57.jpg', 'extension': 'jpg'}, 1335344331: {'path': 'temp/1739203170_3222553_1335344331_62e00c542bf26508bcb72720b137b319.jpg', 'extension': 'jpg'}, 1335344335: {'path': 'temp/1739203170_3222553_1335344335_0486db12bcf44294aa447ce27ccc16c4.jpg', 'extension': 'jpg'}, 1335344340: {'path': 'temp/1739203170_3222553_1335344340_38d78330ddfe15fb18ca95dec2e8ad43.jpg', 'extension': 'jpg'}, 1335344346: {'path': 'temp/1739203170_3222553_1335344346_6de78718030dd90a52f12495acde2c86.jpg', 'extension': 'jpg'}, 1335344361: {'path': 'temp/1739203170_3222553_1335344361_28c9e5c308803b134b159f208c7b0b5e.jpg', 'extension': 'jpg'}, 1335344596: {'path': 'temp/1739203170_3222553_1335344596_28d26f10cb02bb9e0668b7b0bb2a8b3d.jpg', 'extension': 'jpg'}, 1335343474: {'path': 'temp/1739203170_3222553_1335343474_d2f9a35faad7eefe1f5a2dcdb2515eb2.jpg', 'extension': 'jpg'}, 1335343555: {'path': 'temp/1739203170_3222553_1335343555_4e7cee696d6ce20bf057305036d0ce9f.jpg', 'extension': 'jpg'}, 1335343589: {'path': 'temp/1739203170_3222553_1335343589_4fe99c7b8a9b2face399feefb91291b8.jpg', 'extension': 'jpg'}, 1335343592: {'path': 'temp/1739203170_3222553_1335343592_d8c16683abdc8164bb734f1cf5c30615.jpg', 'extension': 'jpg'}, 1335343593: {'path': 'temp/1739203170_3222553_1335343593_a9f37a1f11be547ddb952d52e30ba72b.jpg', 'extension': 'jpg'}, 1335343775: {'path': 'temp/1739203170_3222553_1335343775_fe795821d544d87c86ddd7232c54060c.jpg', 'extension': 'jpg'}, 1335343848: {'path': 'temp/1739203170_3222553_1335343848_96656fd46b2239753af5a584d01f3d34.jpg', 'extension': 'jpg'}, 1335343946: {'path': 'temp/1739203170_3222553_1335343946_f767d38d27b0f2f425d47ad1ce0440bc.jpg', 'extension': 'jpg'}, 1335344030: {'path': 'temp/1739203170_3222553_1335344030_e45bca7b11fa5fcaa0af7d332a28fa0a.jpg', 'extension': 'jpg'}, 1335343330: {'path': 'temp/1739203170_3222553_1335343330_2fdb6dce38fb7fc2eee2c235b2cc1cba.jpg', 'extension': 'jpg'}, 1335343331: {'path': 'temp/1739203170_3222553_1335343331_c2c8b0a1e4838ef1164a2934a9f13e1e.jpg', 'extension': 'jpg'}, 1335343333: {'path': 'temp/1739203170_3222553_1335343333_f0efb2a4affd73d50fd8f81a1638aac6.jpg', 'extension': 'jpg'}, 1335343334: {'path': 'temp/1739203170_3222553_1335343334_717839ec2ccfa60b0f4d94f8d8f816df.jpg', 'extension': 'jpg'}, 1335343336: {'path': 'temp/1739203170_3222553_1335343336_7a6c1811b0cb07e58ab455b29dbb5eaa.jpg', 'extension': 'jpg'}, 1335343337: {'path': 'temp/1739203170_3222553_1335343337_5216d697c9f0239100b88b76372df9ce.jpg', 'extension': 'jpg'}, 1335343339: {'path': 'temp/1739203170_3222553_1335343339_149859cd82a680d20605c7920df8efde.jpg', 'extension': 'jpg'}, 1335343341: {'path': 'temp/1739203170_3222553_1335343341_f58a209f805587e3ddb65e303aaf2ff9.jpg', 'extension': 'jpg'}, 1335343434: {'path': 'temp/1739203170_3222553_1335343434_8ebdf6fedd2c8aea4ba826a7c4b5d58b.jpg', 'extension': 'jpg'}, 1335344079: {'path': 'temp/1739203170_3222553_1335344079_1eb84b51bc0fc83e68a6b167f37798fe.jpg', 'extension': 'jpg'}, 1335344115: {'path': 'temp/1739203170_3222553_1335344115_f7d508fe0e3db1a5e3783858c7dfb670.jpg', 'extension': 'jpg'}, 1335344127: {'path': 'temp/1739203170_3222553_1335344127_4e0a93e4fe32887bc54eeefeb8ffa05d.jpg', 'extension': 'jpg'}, 1335344133: {'path': 'temp/1739203170_3222553_1335344133_09ba175e1bc21e100f4269f1d2459a7d.jpg', 'extension': 'jpg'}, 1335344172: {'path': 'temp/1739203170_3222553_1335344172_b4105d2118974fdf492dbab220fd0735.jpg', 'extension': 'jpg'}, 1335344190: {'path': 'temp/1739203170_3222553_1335344190_1e8292cbcf70385a59b5431c8f80317e.jpg', 'extension': 'jpg'}, 1335344195: {'path': 'temp/1739203170_3222553_1335344195_859ca8ad74b93693b814eef58d545813.jpg', 'extension': 'jpg'}, 1335344212: {'path': 'temp/1739203170_3222553_1335344212_eaca6db75fc9a3a04241dbc55dd54a5b.jpg', 'extension': 'jpg'}, 1335344297: {'path': 'temp/1739203170_3222553_1335344297_66084f87a0007daf4bf7492812925204.jpg', 'extension': 'jpg'}, 1335336339: {'path': 'temp/1739203170_3222553_1335336339_b256be3b0ef7252b630c83ff286e487b.jpg', 'extension': 'jpg'}, 1335342410: {'path': 'temp/1739203170_3222553_1335342410_e644fb3c1cd08487e5275f04e9626fd3.jpg', 'extension': 'jpg'}, 1335342507: {'path': 'temp/1739203170_3222553_1335342507_011d33c567877f53c3ed3a54b7e7d16a.jpg', 'extension': 'jpg'}, 1335342586: {'path': 'temp/1739203170_3222553_1335342586_c9dca177be62a05e2d168033f39d2f2e.jpg', 'extension': 'jpg'}, 1335342678: {'path': 'temp/1739203170_3222553_1335342678_c36ddf7f42ac818155e31b3ace08f648.jpg', 'extension': 'jpg'}, 1335343299: {'path': 'temp/1739203170_3222553_1335343299_9393d1fc999ca8ff50a3f181ef340c0d.jpg', 'extension': 'jpg'}, 1335343300: {'path': 'temp/1739203170_3222553_1335343300_5ccc70d961f9f13487a974e28a89e795.jpg', 'extension': 'jpg'}, 1335343302: {'path': 'temp/1739203170_3222553_1335343302_f1029d6577ee6b4b3f3253aad7e3fd0b.jpg', 'extension': 'jpg'}, 1335343303: {'path': 'temp/1739203170_3222553_1335343303_6759cc62d896aff54661048229692496.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 = 20357224; (('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 = 20357224 group by h (('00', 43),) 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=20357224 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 (20357224) 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 (20357224) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07022025 20357224 Nombre de photos uploadées : 43 / 23040 (0%) 07022025 20357224 Nombre de photos taguées (types de déchets): 0 / 43 (0%) 07022025 20357224 Nombre de photos taguées (volume) : 0 / 43 (0%) [{'photo_id': 1335342678, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/c36ddf7f42ac818155e31b3ace08f648.jpg', 'username': None, 'uploaded_at': 1738890917, 'text': 'image_07022025_00_45_34_10152.jpg'}, {'photo_id': 1335342586, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/c9dca177be62a05e2d168033f39d2f2e.jpg', 'username': None, 'uploaded_at': 1738890917, 'text': 'image_07022025_00_45_44_10191.jpg'}, {'photo_id': 1335342507, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/011d33c567877f53c3ed3a54b7e7d16a.jpg', 'username': None, 'uploaded_at': 1738890917, 'text': 'image_07022025_00_46_03_9134.jpg'}, {'photo_id': 1335342410, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/e644fb3c1cd08487e5275f04e9626fd3.jpg', 'username': None, 'uploaded_at': 1738890917, 'text': 'image_07022025_00_46_24_10140.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ??????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0019681453704833984 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20357224, '2025-02-07' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1584783,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.2139110565185547 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1584783 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20357221, 'dashboard_result_id': 8778345, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357221_08-02-2025_06_05_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20357337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20357338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20357339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20357340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20357341, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20357342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20357343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20357344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20357345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20357346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20357347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20357348, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20357222, 'dashboard_result_id': 8778346, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357222_08-02-2025_06_04_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20357313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20357314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20357315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20357316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20357317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20357318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20357319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20357320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20357321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20357322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20357323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20357324, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20357223, 'dashboard_result_id': 8778347, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357223_08-02-2025_07_31_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20357229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20357230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20357231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20357232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20357233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20357234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20357235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20357236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20357237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20357238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20357239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20357240, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20357224, 'dashboard_result_id': 8778348, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357224_08-02-2025_06_04_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20357253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20357254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20357255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20357256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20357257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20357258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20357259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20357260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20357261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20357262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20357263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20357264, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20315569, 'dashboard_result_id': 8778349, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20315569_07-02-2025_02_29_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20315599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20315600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20315601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20315602, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20315603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20315604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20315605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20315606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20315607, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20315608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20315609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20315610, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20315692, 'dashboard_result_id': 8778350, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20315692_07-02-2025_02_39_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20315699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20315700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20315701, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20315702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20315703, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20315704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20315705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20315706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20315707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20315708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20315709, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20315710, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20316024, 'dashboard_result_id': 8778351, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316024_07-02-2025_02_39_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316088, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20316025, 'dashboard_result_id': 8778352, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316025_08-02-2025_06_03_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316103, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316109, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316112, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20317438, 'dashboard_result_id': 8778353, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20317438_07-02-2025_04_02_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317451, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317452, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20317982, 'dashboard_result_id': 8778354, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20317982_07-02-2025_04_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20318011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318022, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20318337, 'dashboard_result_id': 8778355, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20318337_07-02-2025_04_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20318366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318374, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20318874, 'dashboard_result_id': 8778356, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20318874_07-02-2025_05_05_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20318883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318892, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20319461, 'dashboard_result_id': 8778357, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20319461_07-02-2025_05_26_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20319479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20319480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20319481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20319482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20319483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20319484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20319485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20319486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20319487, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20319488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20319489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20319490, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20319822, 'dashboard_result_id': 8778358, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20319822_07-02-2025_05_32_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20319825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20319826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20319827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20319828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20319829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20319830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20319831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20319832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20319833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20319834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20319835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20319836, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20320244, 'dashboard_result_id': 8778359, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20320244_07-02-2025_05_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20320245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20320246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20320247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20320248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20320249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20320250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20320251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20320252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20320253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20320254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20320255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20320256, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20320591, 'dashboard_result_id': 8778360, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20320591_07-02-2025_06_05_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20320594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20320595, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20320596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20320597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20320598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20320599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20320600, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20320601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20320602, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20320603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20320604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20320605, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20321063, 'dashboard_result_id': 8778361, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321063_07-02-2025_06_23_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20321064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20321072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321075, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20321526, 'dashboard_result_id': 8778362, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321526_07-02-2025_06_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20321534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20321538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321539, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20321945, 'dashboard_result_id': 8778363, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321945_07-02-2025_06_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20321961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20321966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321969, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321972, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20322310, 'dashboard_result_id': 8778364, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20322310_07-02-2025_07_22_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20322363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20322364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20322365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20322366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20322367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20322368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20322369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20322370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20322371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20322372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20322373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20322374, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20322943, 'dashboard_result_id': 8778365, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20322943_07-02-2025_07_23_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20322946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20322947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20322948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20322949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20322950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20322951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20322952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20322953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20322954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20322955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20322956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20322957, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20323019, 'dashboard_result_id': 8778366, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20323019_07-02-2025_07_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20323025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20323026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20323027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20323028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20323029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20323030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20323031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20323032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20323033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20323034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20323035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20323036, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20323596, 'dashboard_result_id': 8778367, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20323596_07-02-2025_07_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20323601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20323602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20323603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20323604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20323605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20323606, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20323607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20323608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20323609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20323610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20323611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20323612, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20324009, 'dashboard_result_id': 8778368, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20324009_07-02-2025_08_02_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20324023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20324024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20324025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20324026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20324027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20324028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20324029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20324030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20324031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20324032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20324033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20324034, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20324595, 'dashboard_result_id': 8778369, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20324595_07-02-2025_08_16_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20324603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20324604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20324605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20324606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20324607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20324608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20324609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20324610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20324611, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20324612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20324613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20324614, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20325074, 'dashboard_result_id': 8778370, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20325074_07-02-2025_08_33_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20325083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20325084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20325085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20325086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20325087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20325088, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20325089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20325090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20325091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20325092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20325094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20325095, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20325725, 'dashboard_result_id': 8778371, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20325725_07-02-2025_08_47_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20325758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20325759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20325760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20325761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20325762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20325763, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20325764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20325765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20325766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20325767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20325768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20325769, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20326215, 'dashboard_result_id': 8778372, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20326215_07-02-2025_09_03_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20326223, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20326224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20326225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20326226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20326227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20326228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20326229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20326230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20326231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20326232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20326233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20326234, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20327948, 'dashboard_result_id': 8778373, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20327948_07-02-2025_09_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20327951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20327952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20327953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20327954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20327955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20327956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20327957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20327958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20327959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20327960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20327961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20327962, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20328450, 'dashboard_result_id': 8778374, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328450_07-02-2025_10_02_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328452, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328458, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328463, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20328924, 'dashboard_result_id': 8778375, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328924_07-02-2025_10_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328940, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20329678, 'dashboard_result_id': 8778376, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329678_07-02-2025_10_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20329689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329696, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20329897, 'dashboard_result_id': 8778377, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329897_07-02-2025_10_46_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20329944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329955, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20330538, 'dashboard_result_id': 8778378, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20330538_07-02-2025_11_02_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20330583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20330584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20330585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20330586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20330587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20330588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20330589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20330590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20330591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20330592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20330593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20330594, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20331959, 'dashboard_result_id': 8778379, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20331959_07-02-2025_11_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20331988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20331989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20331990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20331991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20331992, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20331993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20331994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20331995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20331996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20331997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20331998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20331999, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20332530, 'dashboard_result_id': 8778380, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20332530_07-02-2025_12_07_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20332534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20332535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20332536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20332537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20332538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20332539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20332540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20332541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20332542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20332543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20332544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20332545, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20332974, 'dashboard_result_id': 8778381, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20332974_07-02-2025_12_44_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20332984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20332985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20332986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20332987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20332988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20332989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20332990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20332991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20332992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20332993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20332994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20332995, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20334720, 'dashboard_result_id': 8778382, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20334720_07-02-2025_13_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20334721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20334722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20334723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20334724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20334725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20334726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20334727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20334728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20334729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20334730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20334731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20334732, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20334954, 'dashboard_result_id': 8778383, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20334954_07-02-2025_14_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20334981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20334982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20334983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20334984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20334985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20334986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20334987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20334988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20334989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20334990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20334991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20334992, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20335400, 'dashboard_result_id': 8778384, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20335400_07-02-2025_14_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20335417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20335418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20335419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20335420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20335421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20335422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20335423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20335424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20335425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20335426, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20335427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20335428, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20335893, 'dashboard_result_id': 8778385, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20335893_07-02-2025_14_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20335951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20335952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20335953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20335954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20335955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20335956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20335957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20335958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20335959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20335960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20335961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20335962, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20336499, 'dashboard_result_id': 8778386, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20336499_07-02-2025_14_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20336528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20336529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20336530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20336531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20336532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20336533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20336534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20336535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20336536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20336537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20336538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20336539, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20336877, 'dashboard_result_id': 8778387, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20336877_07-02-2025_15_11_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20336893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20336894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20336895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20336896, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20336897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20336898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20336899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20336900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20336901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20336902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20336903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20336904, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20337903, 'dashboard_result_id': 8778388, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20337903_07-02-2025_15_20_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20337929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20337931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20337935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20337940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20337945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20337950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20337951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20337952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20337953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20337954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20337955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20337956, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20338212, 'dashboard_result_id': 8778389, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20338212_07-02-2025_15_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20338214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20338215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20338216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20338217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20338218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20338219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20338220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20338221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20338222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20338223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20338224, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20338225, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20338563, 'dashboard_result_id': 8778390, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20338563_07-02-2025_15_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20338572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20338573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20338574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20338575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20338576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20338577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20338578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20338579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20338580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20338581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20338582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20338583, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20339390, 'dashboard_result_id': 8778391, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20339390_07-02-2025_16_06_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20339428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20339429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20339430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20339431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20339432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20339433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20339434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20339435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20339436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20339437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20339438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20339439, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20340006, 'dashboard_result_id': 8778392, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20340006_07-02-2025_16_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20340009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20340010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20340011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20340012, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20340013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20340014, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20340015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20340016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20340017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20340018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20340019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20340020, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20340339, 'dashboard_result_id': 8778393, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20340339_07-02-2025_16_33_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20340348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20340349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20340350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20340351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20340352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20340353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20340354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20340355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20340356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20340357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20340358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20340359, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20341179, 'dashboard_result_id': 8778394, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20341179_07-02-2025_16_46_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20341186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20341187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20341188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20341189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20341190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20341191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20341192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20341193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20341194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20341195, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20341196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20341197, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20341719, 'dashboard_result_id': 8778395, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20341719_07-02-2025_17_03_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20341735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20341736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20341737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20341738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20341739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20341740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20341741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20341742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20341743, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20341744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20341745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20341746, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20342056, 'dashboard_result_id': 8778396, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20342056_07-02-2025_17_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20342064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20342065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20342066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20342067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20342068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20342069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20342070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20342071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20342072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20342073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20342074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20342075, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20342262, 'dashboard_result_id': 8778397, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20342262_07-02-2025_17_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20342280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20342281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20342282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20342283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20342284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20342285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20342286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20342287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20342288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20342289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20342290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20342291, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20343639, 'dashboard_result_id': 8778398, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20343639_10-02-2025_16_59_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20343646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20343647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20343648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20343649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20343650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20343651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20343652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20343653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20343654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20343655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20343656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20343657, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20343892, 'dashboard_result_id': 8778399, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20343892_07-02-2025_18_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20343909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20343910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20343911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20343912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20343913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20343914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20343915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20343916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20343917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20343918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20343919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20343920, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20344230, 'dashboard_result_id': 8778400, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20344230_07-02-2025_18_48_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20344231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20344232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20344233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20344234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20344235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20344236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20344237, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20344238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20344239, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20344240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20344241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20344242, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20344666, 'dashboard_result_id': 8778401, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20344666_07-02-2025_19_02_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20344709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20344710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20344711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20344712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20344713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20344714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20344715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20344716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20344717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20344718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20344719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20344720, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20345370, 'dashboard_result_id': 8778402, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20345370_07-02-2025_19_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20345401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20345402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20345403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20345404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20345405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20345406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20345407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20345408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20345409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20345410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20345411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20345412, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20345968, 'dashboard_result_id': 8778403, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20345968_07-02-2025_19_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20345976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20345977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20345978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20345979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20345980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20345981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20345982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20345983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20345984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20345985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20345986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20345987, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20346586, 'dashboard_result_id': 8778404, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20346586_07-02-2025_19_47_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20346612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20346613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20346614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20346615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20346616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20346617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20346618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20346619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20346620, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20346621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20346622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20346623, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20347070, 'dashboard_result_id': 8778405, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20347070_07-02-2025_20_02_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20347113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20347114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20347115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20347116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20347117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20347118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20347119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20347120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20347121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20347122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20347123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20347124, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20347727, 'dashboard_result_id': 8778406, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20347727_07-02-2025_20_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20347736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20347737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20347738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20347739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20347740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20347741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20347742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20347743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20347744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20347745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20347746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20347747, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20348300, 'dashboard_result_id': 8778407, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20348300_07-02-2025_20_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20348424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20348425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20348426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20348428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20348429, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20348430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20348431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20348432, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20348433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20348434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20348435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20348436, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1597405, 'mtr_portfolio_id': 20349397, 'dashboard_result_id': 8778408, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20349397_07-02-2025_21_10_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20349404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20349405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20349406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20349407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20349408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20349409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20349410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20349411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20349412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20349413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20349414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20349415, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357221 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357221 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20357221 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357221 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357221 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20357221 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357221_08-02-2025_06_05_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20357221 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357221_08-02-2025_06_05_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20357337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20357338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20357339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20357340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20357341, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20357342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20357343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20357344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20357345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20357346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20357347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20357348, 'pht': 3726}}" where mtr_portfolio_id = 20357221 and dashboard_run_id = 1597405 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357222 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357222 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20357222 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357222 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357222 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20357222 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357222_08-02-2025_06_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20357222 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357222_08-02-2025_06_04_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20357313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20357314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20357315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20357316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20357317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20357318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20357319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20357320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20357321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20357322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20357323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20357324, 'pht': 3726}}" where mtr_portfolio_id = 20357222 and dashboard_run_id = 1597405 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357223 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357223 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20357223 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357223 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357223 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20357223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357223_08-02-2025_07_31_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20357223 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357223_08-02-2025_07_31_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20357229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20357230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20357231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20357232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20357233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20357234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20357235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20357236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20357237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20357238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20357239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20357240, 'pht': 3726}}" where mtr_portfolio_id = 20357223 and dashboard_run_id = 1597405 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357224 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357224 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20357224 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357224 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20357224 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20357224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357224_10-02-2025_16_59_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20357224 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20357224_10-02-2025_16_59_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20357253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20357254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20357255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20357256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20357257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20357258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20357259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20357260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20357261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20357262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20357263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20357264, 'pht': 3726}}" where mtr_portfolio_id = 20357224 and dashboard_run_id = 1597405 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20315569 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2560955, 'mtr_portfolio_id': 20315569, 'created_at': datetime.datetime(2025, 2, 7, 2, 29, 1), 'result': '0.01710279502736528', 'result_long': None, 'result_double': None}] Qualite : 0.01710279502736528 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20315569 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20315569_07-02-2025_02_29_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20315569 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20315569_07-02-2025_02_29_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20315599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20315600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20315601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20315602, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20315603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20315604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20315605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20315606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20315607, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20315608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20315609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20315610, 'pht': 3726}}" where mtr_portfolio_id = 20315569 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20315569 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778349, 0.01710279502736528, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20315569_07-02-2025_02_29_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20315599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20315600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20315601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20315602, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20315603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20315604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20315605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20315606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20315607, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20315608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20315609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20315610, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20315692 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2560963, 'mtr_portfolio_id': 20315692, 'created_at': datetime.datetime(2025, 2, 7, 2, 39, 27), 'result': '0.046067199191629125', 'result_long': None, 'result_double': None}] Qualite : 0.046067199191629125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20315692 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20315692_07-02-2025_02_39_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20315692 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20315692_07-02-2025_02_39_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20315699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20315700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20315701, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20315702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20315703, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20315704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20315705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20315706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20315707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20315708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20315709, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20315710, 'pht': 3726}}" where mtr_portfolio_id = 20315692 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20315692 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778350, 0.046067199191629125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20315692_07-02-2025_02_39_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20315699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20315700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20315701, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20315702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20315703, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20315704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20315705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20315706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20315707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20315708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20315709, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20315710, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316024 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2560995, 'mtr_portfolio_id': 20316024, 'created_at': datetime.datetime(2025, 2, 7, 2, 39, 58), 'result': '0.041986435057008935', 'result_long': None, 'result_double': None}] Qualite : 0.041986435057008935 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316024 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316024_07-02-2025_02_39_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316024 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316024_07-02-2025_02_39_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316088, 'pht': 3726}}" where mtr_portfolio_id = 20316024 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20316024 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778351, 0.041986435057008935, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316024_07-02-2025_02_39_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316088, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316025 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2560996, 'mtr_portfolio_id': 20316025, 'created_at': datetime.datetime(2025, 2, 8, 6, 3, 3), 'result': '0.029249015508997347', 'result_long': None, 'result_double': None}] Qualite : 0.029249015508997347 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20316025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316025_08-02-2025_06_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316025_08-02-2025_06_03_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316103, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316109, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316112, 'pht': 3726}}" where mtr_portfolio_id = 20316025 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20316025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778352, 0.029249015508997347, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316025_08-02-2025_06_03_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20316101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20316102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20316103, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20316104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20316105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20316106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20316107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20316108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20316109, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20316110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20316111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20316112, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20317438 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561100, 'mtr_portfolio_id': 20317438, 'created_at': datetime.datetime(2025, 2, 7, 4, 2, 30), 'result': '0.03455338263752863', 'result_long': None, 'result_double': None}] Qualite : 0.03455338263752863 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20317438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20317438_07-02-2025_04_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20317438 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20317438_07-02-2025_04_02_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317451, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317452, 'pht': 3726}}" where mtr_portfolio_id = 20317438 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20317438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778353, 0.03455338263752863, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20317438_07-02-2025_04_02_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20317441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20317442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20317443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20317444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20317445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20317446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20317447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20317448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20317449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20317450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20317451, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20317452, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20317982 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561139, 'mtr_portfolio_id': 20317982, 'created_at': datetime.datetime(2025, 2, 7, 4, 16, 58), 'result': '0.032857104735288606', 'result_long': None, 'result_double': None}] Qualite : 0.032857104735288606 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20317982 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20317982_07-02-2025_04_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20317982 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20317982_07-02-2025_04_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20318011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318022, 'pht': 3726}}" where mtr_portfolio_id = 20317982 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20317982 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778354, 0.032857104735288606, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20317982_07-02-2025_04_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20318011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318022, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20318337 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561157, 'mtr_portfolio_id': 20318337, 'created_at': datetime.datetime(2025, 2, 7, 4, 33), 'result': '0.04152238855495941', 'result_long': None, 'result_double': None}] Qualite : 0.04152238855495941 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20318337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20318337_07-02-2025_04_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20318337 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20318337_07-02-2025_04_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20318366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318374, 'pht': 3726}}" where mtr_portfolio_id = 20318337 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20318337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778355, 0.04152238855495941, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20318337_07-02-2025_04_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20318366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318374, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20318874 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561182, 'mtr_portfolio_id': 20318874, 'created_at': datetime.datetime(2025, 2, 7, 5, 5), 'result': '0.04539250344944499', 'result_long': None, 'result_double': None}] Qualite : 0.04539250344944499 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20318874 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20318874_07-02-2025_05_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20318874 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20318874_07-02-2025_05_05_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20318883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318892, 'pht': 3726}}" where mtr_portfolio_id = 20318874 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20318874 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778356, 0.04539250344944499, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20318874_07-02-2025_05_05_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20318881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20318882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20318883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20318884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20318885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20318886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20318887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20318888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20318889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20318890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20318891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20318892, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20319461 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561240, 'mtr_portfolio_id': 20319461, 'created_at': datetime.datetime(2025, 2, 7, 5, 26, 58), 'result': '0.01044382739579811', 'result_long': None, 'result_double': None}] Qualite : 0.01044382739579811 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20319461 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20319461_07-02-2025_05_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20319461 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20319461_07-02-2025_05_26_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20319479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20319480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20319481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20319482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20319483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20319484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20319485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20319486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20319487, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20319488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20319489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20319490, 'pht': 3726}}" where mtr_portfolio_id = 20319461 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20319461 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778357, 0.01044382739579811, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20319461_07-02-2025_05_26_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20319479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20319480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20319481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20319482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20319483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20319484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20319485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20319486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20319487, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20319488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20319489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20319490, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20319822 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561265, 'mtr_portfolio_id': 20319822, 'created_at': datetime.datetime(2025, 2, 7, 5, 32, 31), 'result': '0.03844202721267339', 'result_long': None, 'result_double': None}] Qualite : 0.03844202721267339 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20319822 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20319822_07-02-2025_05_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20319822 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20319822_07-02-2025_05_32_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20319825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20319826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20319827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20319828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20319829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20319830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20319831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20319832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20319833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20319834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20319835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20319836, 'pht': 3726}}" where mtr_portfolio_id = 20319822 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20319822 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778358, 0.03844202721267339, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20319822_07-02-2025_05_32_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20319825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20319826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20319827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20319828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20319829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20319830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20319831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20319832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20319833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20319834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20319835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20319836, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20320244 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561410, 'mtr_portfolio_id': 20320244, 'created_at': datetime.datetime(2025, 2, 7, 5, 46, 59), 'result': '0.03112599004572641', 'result_long': None, 'result_double': None}] Qualite : 0.03112599004572641 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20320244 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20320244_07-02-2025_05_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20320244 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20320244_07-02-2025_05_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20320245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20320246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20320247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20320248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20320249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20320250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20320251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20320252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20320253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20320254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20320255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20320256, 'pht': 3726}}" where mtr_portfolio_id = 20320244 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20320244 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778359, 0.03112599004572641, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20320244_07-02-2025_05_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20320245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20320246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20320247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20320248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20320249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20320250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20320251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20320252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20320253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20320254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20320255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20320256, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20320591 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561435, 'mtr_portfolio_id': 20320591, 'created_at': datetime.datetime(2025, 2, 7, 6, 5, 28), 'result': '0.039836311905120665', 'result_long': None, 'result_double': None}] Qualite : 0.039836311905120665 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20320591 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20320591_07-02-2025_06_05_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20320591 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20320591_07-02-2025_06_05_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20320594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20320595, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20320596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20320597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20320598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20320599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20320600, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20320601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20320602, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20320603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20320604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20320605, 'pht': 3726}}" where mtr_portfolio_id = 20320591 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20320591 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778360, 0.039836311905120665, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20320591_07-02-2025_06_05_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20320594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20320595, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20320596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20320597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20320598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20320599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20320600, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20320601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20320602, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20320603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20320604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20320605, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20321063 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561479, 'mtr_portfolio_id': 20321063, 'created_at': datetime.datetime(2025, 2, 7, 6, 23, 1), 'result': '0.045950469882550304', 'result_long': None, 'result_double': None}] Qualite : 0.045950469882550304 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20321063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321063_07-02-2025_06_23_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20321063 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321063_07-02-2025_06_23_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20321064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20321072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321075, 'pht': 3726}}" where mtr_portfolio_id = 20321063 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20321063 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778361, 0.045950469882550304, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321063_07-02-2025_06_23_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20321064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20321072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321075, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20321526 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561507, 'mtr_portfolio_id': 20321526, 'created_at': datetime.datetime(2025, 2, 7, 6, 32, 58), 'result': '0.04888521584194615', 'result_long': None, 'result_double': None}] Qualite : 0.04888521584194615 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20321526 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321526_07-02-2025_06_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20321526 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321526_07-02-2025_06_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20321534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20321538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321539, 'pht': 3726}}" where mtr_portfolio_id = 20321526 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20321526 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778362, 0.04888521584194615, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321526_07-02-2025_06_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20321534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20321538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321539, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20321945 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561556, 'mtr_portfolio_id': 20321945, 'created_at': datetime.datetime(2025, 2, 7, 6, 48, 57), 'result': '0.06380609661924626', 'result_long': None, 'result_double': None}] Qualite : 0.06380609661924626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20321945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321945_07-02-2025_06_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20321945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321945_07-02-2025_06_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20321961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20321966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321969, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321972, 'pht': 3726}}" where mtr_portfolio_id = 20321945 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20321945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778363, 0.06380609661924626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20321945_07-02-2025_06_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20321961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20321962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20321963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20321964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20321965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20321966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20321967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20321968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20321969, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20321970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20321971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20321972, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20322310 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561581, 'mtr_portfolio_id': 20322310, 'created_at': datetime.datetime(2025, 2, 7, 7, 22, 59), 'result': '0.04657092787778363', 'result_long': None, 'result_double': None}] Qualite : 0.04657092787778363 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20322310 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20322310_07-02-2025_07_22_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20322310 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20322310_07-02-2025_07_22_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20322363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20322364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20322365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20322366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20322367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20322368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20322369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20322370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20322371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20322372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20322373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20322374, 'pht': 3726}}" where mtr_portfolio_id = 20322310 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20322310 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778364, 0.04657092787778363, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20322310_07-02-2025_07_22_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20322363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20322364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20322365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20322366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20322367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20322368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20322369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20322370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20322371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20322372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20322373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20322374, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20322943 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561649, 'mtr_portfolio_id': 20322943, 'created_at': datetime.datetime(2025, 2, 7, 7, 23, 29), 'result': '0.02704197444944989', 'result_long': None, 'result_double': None}] Qualite : 0.02704197444944989 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20322943 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20322943_07-02-2025_07_23_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20322943 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20322943_07-02-2025_07_23_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20322946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20322947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20322948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20322949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20322950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20322951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20322952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20322953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20322954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20322955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20322956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20322957, 'pht': 3726}}" where mtr_portfolio_id = 20322943 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20322943 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778365, 0.02704197444944989, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20322943_07-02-2025_07_23_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20322946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20322947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20322948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20322949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20322950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20322951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20322952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20322953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20322954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20322955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20322956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20322957, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20323019 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561655, 'mtr_portfolio_id': 20323019, 'created_at': datetime.datetime(2025, 2, 7, 7, 32, 57), 'result': '0.031096395621148448', 'result_long': None, 'result_double': None}] Qualite : 0.031096395621148448 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20323019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20323019_07-02-2025_07_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20323019 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20323019_07-02-2025_07_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20323025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20323026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20323027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20323028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20323029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20323030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20323031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20323032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20323033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20323034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20323035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20323036, 'pht': 3726}}" where mtr_portfolio_id = 20323019 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20323019 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778366, 0.031096395621148448, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20323019_07-02-2025_07_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20323025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20323026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20323027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20323028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20323029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20323030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20323031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20323032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20323033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20323034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20323035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20323036, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20323596 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561694, 'mtr_portfolio_id': 20323596, 'created_at': datetime.datetime(2025, 2, 7, 7, 46, 59), 'result': '0.05076025138146329', 'result_long': None, 'result_double': None}] Qualite : 0.05076025138146329 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20323596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20323596_07-02-2025_07_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20323596 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20323596_07-02-2025_07_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20323601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20323602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20323603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20323604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20323605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20323606, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20323607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20323608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20323609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20323610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20323611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20323612, 'pht': 3726}}" where mtr_portfolio_id = 20323596 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20323596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778367, 0.05076025138146329, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20323596_07-02-2025_07_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20323601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20323602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20323603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20323604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20323605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20323606, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20323607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20323608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20323609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20323610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20323611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20323612, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20324009 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561726, 'mtr_portfolio_id': 20324009, 'created_at': datetime.datetime(2025, 2, 7, 8, 2, 30), 'result': '0.0505059462516795', 'result_long': None, 'result_double': None}] Qualite : 0.0505059462516795 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20324009 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20324009_07-02-2025_08_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20324009 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20324009_07-02-2025_08_02_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20324023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20324024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20324025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20324026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20324027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20324028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20324029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20324030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20324031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20324032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20324033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20324034, 'pht': 3726}}" where mtr_portfolio_id = 20324009 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20324009 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778368, 0.0505059462516795, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20324009_07-02-2025_08_02_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20324023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20324024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20324025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20324026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20324027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20324028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20324029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20324030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20324031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20324032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20324033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20324034, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20324595 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561783, 'mtr_portfolio_id': 20324595, 'created_at': datetime.datetime(2025, 2, 7, 8, 16, 58), 'result': '0.048098676741726396', 'result_long': None, 'result_double': None}] Qualite : 0.048098676741726396 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20324595 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20324595_07-02-2025_08_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20324595 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20324595_07-02-2025_08_16_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20324603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20324604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20324605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20324606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20324607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20324608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20324609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20324610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20324611, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20324612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20324613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20324614, 'pht': 3726}}" where mtr_portfolio_id = 20324595 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20324595 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778369, 0.048098676741726396, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20324595_07-02-2025_08_16_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20324603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20324604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20324605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20324606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20324607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20324608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20324609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20324610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20324611, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20324612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20324613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20324614, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20325074 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561874, 'mtr_portfolio_id': 20325074, 'created_at': datetime.datetime(2025, 2, 7, 8, 33, 31), 'result': '0.04353647464996593', 'result_long': None, 'result_double': None}] Qualite : 0.04353647464996593 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20325074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20325074_07-02-2025_08_33_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20325074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20325074_07-02-2025_08_33_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20325083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20325084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20325085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20325086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20325087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20325088, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20325089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20325090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20325091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20325092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20325094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20325095, 'pht': 3726}}" where mtr_portfolio_id = 20325074 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20325074 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778370, 0.04353647464996593, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20325074_07-02-2025_08_33_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20325083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20325084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20325085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20325086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20325087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20325088, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20325089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20325090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20325091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20325092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20325094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20325095, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20325725 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2561966, 'mtr_portfolio_id': 20325725, 'created_at': datetime.datetime(2025, 2, 7, 8, 47, 1), 'result': '0.043658420107330044', 'result_long': None, 'result_double': None}] Qualite : 0.043658420107330044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20325725 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20325725_07-02-2025_08_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20325725 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20325725_07-02-2025_08_47_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20325758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20325759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20325760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20325761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20325762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20325763, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20325764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20325765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20325766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20325767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20325768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20325769, 'pht': 3726}}" where mtr_portfolio_id = 20325725 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20325725 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778371, 0.043658420107330044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20325725_07-02-2025_08_47_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20325758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20325759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20325760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20325761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20325762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20325763, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20325764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20325765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20325766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20325767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20325768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20325769, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20326215 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2562107, 'mtr_portfolio_id': 20326215, 'created_at': datetime.datetime(2025, 2, 7, 9, 3, 27), 'result': '0.059858173533595474', 'result_long': None, 'result_double': None}] Qualite : 0.059858173533595474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20326215 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20326215_07-02-2025_09_03_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20326215 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20326215_07-02-2025_09_03_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20326223, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20326224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20326225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20326226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20326227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20326228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20326229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20326230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20326231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20326232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20326233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20326234, 'pht': 3726}}" where mtr_portfolio_id = 20326215 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20326215 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778372, 0.059858173533595474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20326215_07-02-2025_09_03_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20326223, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20326224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20326225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20326226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20326227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20326228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20326229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20326230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20326231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20326232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20326233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20326234, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20327948 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2562427, 'mtr_portfolio_id': 20327948, 'created_at': datetime.datetime(2025, 2, 7, 9, 46, 58), 'result': '0.03978647542793224', 'result_long': None, 'result_double': None}] Qualite : 0.03978647542793224 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20327948 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20327948_07-02-2025_09_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20327948 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20327948_07-02-2025_09_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20327951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20327952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20327953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20327954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20327955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20327956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20327957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20327958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20327959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20327960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20327961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20327962, 'pht': 3726}}" where mtr_portfolio_id = 20327948 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20327948 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778373, 0.03978647542793224, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20327948_07-02-2025_09_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20327951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20327952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20327953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20327954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20327955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20327956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20327957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20327958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20327959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20327960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20327961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20327962, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20328450 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2562461, 'mtr_portfolio_id': 20328450, 'created_at': datetime.datetime(2025, 2, 7, 10, 2, 32), 'result': '0.045037108386477044', 'result_long': None, 'result_double': None}] Qualite : 0.045037108386477044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20328450 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328450_07-02-2025_10_02_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20328450 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328450_07-02-2025_10_02_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328452, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328458, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328463, 'pht': 3726}}" where mtr_portfolio_id = 20328450 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20328450 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778374, 0.045037108386477044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328450_07-02-2025_10_02_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328452, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328458, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328463, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20328924 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2562503, 'mtr_portfolio_id': 20328924, 'created_at': datetime.datetime(2025, 2, 7, 10, 17), 'result': '0.035546290283588064', 'result_long': None, 'result_double': None}] Qualite : 0.035546290283588064 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20328924 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328924_07-02-2025_10_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20328924 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328924_07-02-2025_10_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328940, 'pht': 3726}}" where mtr_portfolio_id = 20328924 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20328924 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778375, 0.035546290283588064, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328924_07-02-2025_10_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328940, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20329678 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2562557, 'mtr_portfolio_id': 20329678, 'created_at': datetime.datetime(2025, 2, 7, 10, 32, 57), 'result': '0.02811429950318194', 'result_long': None, 'result_double': None}] Qualite : 0.02811429950318194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20329678 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329678_07-02-2025_10_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20329678 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329678_07-02-2025_10_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20329689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329696, 'pht': 3726}}" where mtr_portfolio_id = 20329678 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20329678 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778376, 0.02811429950318194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329678_07-02-2025_10_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20329689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329696, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20329897 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2562582, 'mtr_portfolio_id': 20329897, 'created_at': datetime.datetime(2025, 2, 7, 10, 46, 58), 'result': '0.02525678900687404', 'result_long': None, 'result_double': None}] Qualite : 0.02525678900687404 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20329897 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329897_07-02-2025_10_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20329897 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329897_07-02-2025_10_46_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20329944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329955, 'pht': 3726}}" where mtr_portfolio_id = 20329897 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20329897 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778377, 0.02525678900687404, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329897_07-02-2025_10_46_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20329944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329955, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20330538 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2562697, 'mtr_portfolio_id': 20330538, 'created_at': datetime.datetime(2025, 2, 7, 11, 2, 30), 'result': '0.03511019176051157', 'result_long': None, 'result_double': None}] Qualite : 0.03511019176051157 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20330538 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20330538_07-02-2025_11_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20330538 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20330538_07-02-2025_11_02_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20330583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20330584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20330585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20330586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20330587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20330588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20330589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20330590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20330591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20330592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20330593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20330594, 'pht': 3726}}" where mtr_portfolio_id = 20330538 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20330538 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778378, 0.03511019176051157, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20330538_07-02-2025_11_02_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20330583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20330584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20330585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20330586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20330587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20330588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20330589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20330590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20330591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20330592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20330593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20330594, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20331959 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2564137, 'mtr_portfolio_id': 20331959, 'created_at': datetime.datetime(2025, 2, 7, 11, 46, 58), 'result': '0.03520284079510341', 'result_long': None, 'result_double': None}] Qualite : 0.03520284079510341 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20331959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20331959_07-02-2025_11_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20331959 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20331959_07-02-2025_11_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20331988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20331989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20331990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20331991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20331992, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20331993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20331994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20331995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20331996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20331997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20331998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20331999, 'pht': 3726}}" where mtr_portfolio_id = 20331959 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20331959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778379, 0.03520284079510341, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20331959_07-02-2025_11_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20331988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20331989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20331990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20331991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20331992, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20331993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20331994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20331995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20331996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20331997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20331998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20331999, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20332530 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2564183, 'mtr_portfolio_id': 20332530, 'created_at': datetime.datetime(2025, 2, 7, 12, 7), 'result': '0.05810365084858669', 'result_long': None, 'result_double': None}] Qualite : 0.05810365084858669 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20332530 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20332530_07-02-2025_12_07_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20332530 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20332530_07-02-2025_12_07_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20332534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20332535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20332536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20332537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20332538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20332539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20332540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20332541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20332542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20332543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20332544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20332545, 'pht': 3726}}" where mtr_portfolio_id = 20332530 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20332530 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778380, 0.05810365084858669, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20332530_07-02-2025_12_07_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20332534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20332535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20332536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20332537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20332538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20332539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20332540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20332541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20332542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20332543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20332544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20332545, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20332974 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2564217, 'mtr_portfolio_id': 20332974, 'created_at': datetime.datetime(2025, 2, 7, 12, 44, 57), 'result': '0.03779781876407411', 'result_long': None, 'result_double': None}] Qualite : 0.03779781876407411 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20332974 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20332974_07-02-2025_12_44_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20332974 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20332974_07-02-2025_12_44_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20332984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20332985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20332986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20332987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20332988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20332989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20332990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20332991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20332992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20332993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20332994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20332995, 'pht': 3726}}" where mtr_portfolio_id = 20332974 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20332974 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778381, 0.03779781876407411, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20332974_07-02-2025_12_44_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20332984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20332985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20332986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20332987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20332988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20332989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20332990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20332991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20332992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20332993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20332994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20332995, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20334720 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2564415, 'mtr_portfolio_id': 20334720, 'created_at': datetime.datetime(2025, 2, 7, 13, 46, 58), 'result': '0.04448295430109324', 'result_long': None, 'result_double': None}] Qualite : 0.04448295430109324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20334720 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20334720_07-02-2025_13_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20334720 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20334720_07-02-2025_13_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20334721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20334722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20334723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20334724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20334725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20334726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20334727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20334728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20334729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20334730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20334731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20334732, 'pht': 3726}}" where mtr_portfolio_id = 20334720 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20334720 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778382, 0.04448295430109324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20334720_07-02-2025_13_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20334721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20334722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20334723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20334724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20334725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20334726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20334727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20334728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20334729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20334730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20334731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20334732, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20334954 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2564441, 'mtr_portfolio_id': 20334954, 'created_at': datetime.datetime(2025, 2, 7, 14, 2, 58), 'result': '0.049352256562041105', 'result_long': None, 'result_double': None}] Qualite : 0.049352256562041105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20334954 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20334954_07-02-2025_14_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20334954 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20334954_07-02-2025_14_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20334981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20334982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20334983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20334984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20334985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20334986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20334987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20334988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20334989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20334990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20334991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20334992, 'pht': 3726}}" where mtr_portfolio_id = 20334954 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20334954 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778383, 0.049352256562041105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20334954_07-02-2025_14_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20334981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20334982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20334983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20334984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20334985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20334986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20334987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20334988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20334989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20334990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20334991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20334992, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20335400 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2564482, 'mtr_portfolio_id': 20335400, 'created_at': datetime.datetime(2025, 2, 7, 14, 18, 58), 'result': '0.03983541906813907', 'result_long': None, 'result_double': None}] Qualite : 0.03983541906813907 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20335400 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20335400_07-02-2025_14_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20335400 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20335400_07-02-2025_14_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20335417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20335418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20335419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20335420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20335421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20335422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20335423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20335424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20335425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20335426, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20335427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20335428, 'pht': 3726}}" where mtr_portfolio_id = 20335400 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20335400 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778384, 0.03983541906813907, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20335400_07-02-2025_14_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20335417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20335418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20335419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20335420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20335421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20335422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20335423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20335424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20335425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20335426, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20335427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20335428, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20335893 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2564528, 'mtr_portfolio_id': 20335893, 'created_at': datetime.datetime(2025, 2, 7, 14, 32, 58), 'result': '0.03430549937182513', 'result_long': None, 'result_double': None}] Qualite : 0.03430549937182513 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20335893 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20335893_07-02-2025_14_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20335893 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20335893_07-02-2025_14_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20335951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20335952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20335953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20335954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20335955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20335956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20335957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20335958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20335959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20335960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20335961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20335962, 'pht': 3726}}" where mtr_portfolio_id = 20335893 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20335893 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778385, 0.03430549937182513, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20335893_07-02-2025_14_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20335951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20335952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20335953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20335954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20335955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20335956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20335957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20335958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20335959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20335960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20335961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20335962, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20336499 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2564576, 'mtr_portfolio_id': 20336499, 'created_at': datetime.datetime(2025, 2, 7, 14, 49), 'result': '0.04279415881202916', 'result_long': None, 'result_double': None}] Qualite : 0.04279415881202916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20336499 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20336499_07-02-2025_14_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20336499 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20336499_07-02-2025_14_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20336528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20336529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20336530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20336531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20336532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20336533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20336534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20336535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20336536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20336537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20336538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20336539, 'pht': 3726}}" where mtr_portfolio_id = 20336499 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20336499 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778386, 0.04279415881202916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20336499_07-02-2025_14_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20336528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20336529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20336530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20336531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20336532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20336533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20336534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20336535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20336536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20336537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20336538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20336539, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20336877 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2564628, 'mtr_portfolio_id': 20336877, 'created_at': datetime.datetime(2025, 2, 7, 15, 10, 59), 'result': '0.022748209043018795', 'result_long': None, 'result_double': None}] Qualite : 0.022748209043018795 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20336877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20336877_07-02-2025_15_11_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20336877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20336877_07-02-2025_15_11_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20336893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20336894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20336895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20336896, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20336897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20336898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20336899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20336900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20336901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20336902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20336903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20336904, 'pht': 3726}}" where mtr_portfolio_id = 20336877 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20336877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778387, 0.022748209043018795, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20336877_07-02-2025_15_11_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20336893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20336894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20336895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20336896, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20336897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20336898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20336899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20336900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20336901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20336902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20336903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20336904, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20337903 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2564792, 'mtr_portfolio_id': 20337903, 'created_at': datetime.datetime(2025, 2, 7, 15, 20, 34), 'result': '0.010440955800959464', 'result_long': None, 'result_double': None}] Qualite : 0.010440955800959464 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20337903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20337903_07-02-2025_15_20_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20337903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20337903_07-02-2025_15_20_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20337929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20337931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20337935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20337940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20337945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20337950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20337951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20337952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20337953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20337954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20337955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20337956, 'pht': 3726}}" where mtr_portfolio_id = 20337903 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20337903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778388, 0.010440955800959464, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20337903_07-02-2025_15_20_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20337929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20337931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20337935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20337940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20337945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20337950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20337951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20337952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20337953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20337954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20337955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20337956, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20338212 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2564812, 'mtr_portfolio_id': 20338212, 'created_at': datetime.datetime(2025, 2, 7, 15, 33), 'result': '0.04257063308707382', 'result_long': None, 'result_double': None}] Qualite : 0.04257063308707382 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20338212 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20338212_07-02-2025_15_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20338212 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20338212_07-02-2025_15_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20338214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20338215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20338216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20338217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20338218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20338219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20338220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20338221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20338222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20338223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20338224, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20338225, 'pht': 3726}}" where mtr_portfolio_id = 20338212 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20338212 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778389, 0.04257063308707382, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20338212_07-02-2025_15_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20338214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20338215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20338216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20338217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20338218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20338219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20338220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20338221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20338222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20338223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20338224, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20338225, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20338563 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2564861, 'mtr_portfolio_id': 20338563, 'created_at': datetime.datetime(2025, 2, 7, 15, 48, 59), 'result': '0.03766165164144633', 'result_long': None, 'result_double': None}] Qualite : 0.03766165164144633 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20338563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20338563_07-02-2025_15_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20338563 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20338563_07-02-2025_15_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20338572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20338573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20338574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20338575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20338576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20338577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20338578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20338579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20338580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20338581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20338582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20338583, 'pht': 3726}}" where mtr_portfolio_id = 20338563 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20338563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778390, 0.03766165164144633, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20338563_07-02-2025_15_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20338572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20338573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20338574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20338575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20338576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20338577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20338578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20338579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20338580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20338581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20338582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20338583, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20339390 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2564915, 'mtr_portfolio_id': 20339390, 'created_at': datetime.datetime(2025, 2, 7, 16, 6, 59), 'result': '0.04405120693996621', 'result_long': None, 'result_double': None}] Qualite : 0.04405120693996621 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20339390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20339390_07-02-2025_16_06_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20339390 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20339390_07-02-2025_16_06_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20339428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20339429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20339430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20339431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20339432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20339433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20339434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20339435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20339436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20339437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20339438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20339439, 'pht': 3726}}" where mtr_portfolio_id = 20339390 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20339390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778391, 0.04405120693996621, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20339390_07-02-2025_16_06_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20339428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20339429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20339430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20339431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20339432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20339433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20339434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20339435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20339436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20339437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20339438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20339439, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20340006 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2564986, 'mtr_portfolio_id': 20340006, 'created_at': datetime.datetime(2025, 2, 7, 16, 18, 57), 'result': '0.037716373192041006', 'result_long': None, 'result_double': None}] Qualite : 0.037716373192041006 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20340006 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20340006_07-02-2025_16_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20340006 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20340006_07-02-2025_16_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20340009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20340010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20340011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20340012, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20340013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20340014, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20340015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20340016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20340017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20340018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20340019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20340020, 'pht': 3726}}" where mtr_portfolio_id = 20340006 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20340006 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778392, 0.037716373192041006, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20340006_07-02-2025_16_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20340009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20340010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20340011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20340012, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20340013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20340014, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20340015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20340016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20340017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20340018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20340019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20340020, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20340339 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2565011, 'mtr_portfolio_id': 20340339, 'created_at': datetime.datetime(2025, 2, 7, 16, 33, 2), 'result': '0.043779345615952765', 'result_long': None, 'result_double': None}] Qualite : 0.043779345615952765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20340339 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20340339_07-02-2025_16_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20340339 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20340339_07-02-2025_16_33_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20340348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20340349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20340350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20340351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20340352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20340353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20340354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20340355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20340356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20340357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20340358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20340359, 'pht': 3726}}" where mtr_portfolio_id = 20340339 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20340339 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778393, 0.043779345615952765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20340339_07-02-2025_16_33_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20340348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20340349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20340350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20340351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20340352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20340353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20340354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20340355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20340356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20340357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20340358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20340359, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20341179 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2565067, 'mtr_portfolio_id': 20341179, 'created_at': datetime.datetime(2025, 2, 7, 16, 46, 33), 'result': '0.039501469538361964', 'result_long': None, 'result_double': None}] Qualite : 0.039501469538361964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20341179 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20341179_07-02-2025_16_46_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20341179 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20341179_07-02-2025_16_46_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20341186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20341187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20341188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20341189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20341190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20341191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20341192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20341193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20341194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20341195, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20341196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20341197, 'pht': 3726}}" where mtr_portfolio_id = 20341179 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20341179 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778394, 0.039501469538361964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20341179_07-02-2025_16_46_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20341186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20341187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20341188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20341189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20341190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20341191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20341192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20341193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20341194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20341195, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20341196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20341197, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20341719 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2565143, 'mtr_portfolio_id': 20341719, 'created_at': datetime.datetime(2025, 2, 7, 17, 3, 30), 'result': '0.04095429880090979', 'result_long': None, 'result_double': None}] Qualite : 0.04095429880090979 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20341719 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20341719_07-02-2025_17_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20341719 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20341719_07-02-2025_17_03_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20341735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20341736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20341737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20341738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20341739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20341740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20341741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20341742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20341743, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20341744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20341745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20341746, 'pht': 3726}}" where mtr_portfolio_id = 20341719 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20341719 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778395, 0.04095429880090979, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20341719_07-02-2025_17_03_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20341735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20341736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20341737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20341738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20341739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20341740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20341741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20341742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20341743, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20341744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20341745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20341746, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20342056 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2565236, 'mtr_portfolio_id': 20342056, 'created_at': datetime.datetime(2025, 2, 7, 17, 18, 59), 'result': '0.0333572076400957', 'result_long': None, 'result_double': None}] Qualite : 0.0333572076400957 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20342056 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20342056_07-02-2025_17_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20342056 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20342056_07-02-2025_17_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20342064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20342065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20342066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20342067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20342068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20342069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20342070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20342071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20342072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20342073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20342074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20342075, 'pht': 3726}}" where mtr_portfolio_id = 20342056 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20342056 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778396, 0.0333572076400957, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20342056_07-02-2025_17_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20342064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20342065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20342066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20342067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20342068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20342069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20342070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20342071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20342072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20342073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20342074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20342075, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20342262 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2565334, 'mtr_portfolio_id': 20342262, 'created_at': datetime.datetime(2025, 2, 7, 17, 32, 59), 'result': '0.05320489838554412', 'result_long': None, 'result_double': None}] Qualite : 0.05320489838554412 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20342262 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20342262_07-02-2025_17_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20342262 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20342262_07-02-2025_17_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20342280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20342281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20342282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20342283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20342284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20342285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20342286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20342287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20342288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20342289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20342290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20342291, 'pht': 3726}}" where mtr_portfolio_id = 20342262 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20342262 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778397, 0.05320489838554412, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20342262_07-02-2025_17_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20342280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20342281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20342282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20342283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20342284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20342285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20342286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20342287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20342288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20342289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20342290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20342291, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20343639 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572567, 'mtr_portfolio_id': 20343639, 'created_at': datetime.datetime(2025, 2, 10, 16, 58, 59), 'result': '0.007113145455815645', 'result_long': None, 'result_double': None}] Qualite : 0.007113145455815645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20343639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20343639_10-02-2025_16_59_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20343639 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20343639_10-02-2025_16_59_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20343646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20343647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20343648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20343649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20343650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20343651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20343652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20343653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20343654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20343655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20343656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20343657, 'pht': 3726}}" where mtr_portfolio_id = 20343639 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20343639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778398, 0.007113145455815645, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20343639_10-02-2025_16_59_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20343646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20343647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20343648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20343649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20343650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20343651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20343652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20343653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20343654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20343655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20343656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20343657, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20343892 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2565799, 'mtr_portfolio_id': 20343892, 'created_at': datetime.datetime(2025, 2, 7, 18, 32, 59), 'result': '0.031176818326054723', 'result_long': None, 'result_double': None}] Qualite : 0.031176818326054723 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20343892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20343892_07-02-2025_18_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20343892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20343892_07-02-2025_18_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20343909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20343910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20343911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20343912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20343913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20343914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20343915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20343916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20343917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20343918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20343919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20343920, 'pht': 3726}}" where mtr_portfolio_id = 20343892 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20343892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778399, 0.031176818326054723, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20343892_07-02-2025_18_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20343909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20343910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20343911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20343912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20343913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20343914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20343915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20343916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20343917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20343918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20343919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20343920, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20344230 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2565947, 'mtr_portfolio_id': 20344230, 'created_at': datetime.datetime(2025, 2, 7, 18, 48, 57), 'result': '0.03734942722547355', 'result_long': None, 'result_double': None}] Qualite : 0.03734942722547355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20344230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20344230_07-02-2025_18_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20344230 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20344230_07-02-2025_18_48_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20344231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20344232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20344233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20344234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20344235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20344236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20344237, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20344238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20344239, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20344240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20344241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20344242, 'pht': 3726}}" where mtr_portfolio_id = 20344230 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20344230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778400, 0.03734942722547355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20344230_07-02-2025_18_48_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20344231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20344232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20344233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20344234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20344235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20344236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20344237, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20344238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20344239, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20344240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20344241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20344242, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20344666 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2566126, 'mtr_portfolio_id': 20344666, 'created_at': datetime.datetime(2025, 2, 7, 19, 2, 57), 'result': '0.027172037783226806', 'result_long': None, 'result_double': None}] Qualite : 0.027172037783226806 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20344666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20344666_07-02-2025_19_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20344666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20344666_07-02-2025_19_02_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20344709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20344710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20344711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20344712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20344713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20344714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20344715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20344716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20344717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20344718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20344719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20344720, 'pht': 3726}}" where mtr_portfolio_id = 20344666 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20344666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778401, 0.027172037783226806, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20344666_07-02-2025_19_02_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20344709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20344710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20344711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20344712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20344713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20344714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20344715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20344716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20344717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20344718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20344719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20344720, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20345370 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2566394, 'mtr_portfolio_id': 20345370, 'created_at': datetime.datetime(2025, 2, 7, 19, 16, 59), 'result': '0.024892283304878502', 'result_long': None, 'result_double': None}] Qualite : 0.024892283304878502 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20345370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20345370_07-02-2025_19_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20345370 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20345370_07-02-2025_19_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20345401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20345402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20345403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20345404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20345405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20345406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20345407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20345408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20345409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20345410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20345411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20345412, 'pht': 3726}}" where mtr_portfolio_id = 20345370 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20345370 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778402, 0.024892283304878502, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20345370_07-02-2025_19_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20345401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20345402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20345403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20345404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20345405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20345406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20345407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20345408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20345409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20345410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20345411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20345412, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20345968 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2566747, 'mtr_portfolio_id': 20345968, 'created_at': datetime.datetime(2025, 2, 7, 19, 32, 58), 'result': '0.04437706855715071', 'result_long': None, 'result_double': None}] Qualite : 0.04437706855715071 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20345968 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20345968_07-02-2025_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20345968 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20345968_07-02-2025_19_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20345976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20345977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20345978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20345979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20345980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20345981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20345982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20345983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20345984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20345985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20345986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20345987, 'pht': 3726}}" where mtr_portfolio_id = 20345968 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20345968 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778403, 0.04437706855715071, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20345968_07-02-2025_19_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20345976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20345977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20345978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20345979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20345980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20345981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20345982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20345983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20345984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20345985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20345986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20345987, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20346586 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2566946, 'mtr_portfolio_id': 20346586, 'created_at': datetime.datetime(2025, 2, 7, 19, 47, 3), 'result': '0.048045274043306524', 'result_long': None, 'result_double': None}] Qualite : 0.048045274043306524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20346586 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20346586_07-02-2025_19_47_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20346586 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20346586_07-02-2025_19_47_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20346612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20346613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20346614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20346615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20346616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20346617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20346618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20346619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20346620, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20346621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20346622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20346623, 'pht': 3726}}" where mtr_portfolio_id = 20346586 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20346586 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778404, 0.048045274043306524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20346586_07-02-2025_19_47_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20346612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20346613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20346614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20346615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20346616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20346617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20346618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20346619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20346620, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20346621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20346622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20346623, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20347070 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2567029, 'mtr_portfolio_id': 20347070, 'created_at': datetime.datetime(2025, 2, 7, 20, 2, 30), 'result': '0.04495981272032346', 'result_long': None, 'result_double': None}] Qualite : 0.04495981272032346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20347070 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20347070_07-02-2025_20_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20347070 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20347070_07-02-2025_20_02_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20347113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20347114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20347115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20347116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20347117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20347118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20347119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20347120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20347121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20347122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20347123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20347124, 'pht': 3726}}" where mtr_portfolio_id = 20347070 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20347070 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778405, 0.04495981272032346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20347070_07-02-2025_20_02_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20347113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20347114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20347115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20347116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20347117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20347118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20347119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20347120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20347121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20347122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20347123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20347124, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20347727 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2567176, 'mtr_portfolio_id': 20347727, 'created_at': datetime.datetime(2025, 2, 7, 20, 18, 59), 'result': '0.04825216038726739', 'result_long': None, 'result_double': None}] Qualite : 0.04825216038726739 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20347727 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20347727_07-02-2025_20_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20347727 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20347727_07-02-2025_20_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20347736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20347737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20347738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20347739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20347740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20347741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20347742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20347743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20347744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20347745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20347746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20347747, 'pht': 3726}}" where mtr_portfolio_id = 20347727 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20347727 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778406, 0.04825216038726739, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20347727_07-02-2025_20_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20347736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20347737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20347738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20347739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20347740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20347741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20347742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20347743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20347744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20347745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20347746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20347747, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20348300 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2567290, 'mtr_portfolio_id': 20348300, 'created_at': datetime.datetime(2025, 2, 7, 20, 32, 57), 'result': '0.048404273896974506', 'result_long': None, 'result_double': None}] Qualite : 0.048404273896974506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20348300 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20348300_07-02-2025_20_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20348300 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20348300_07-02-2025_20_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20348424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20348425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20348426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20348428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20348429, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20348430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20348431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20348432, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20348433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20348434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20348435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20348436, 'pht': 3726}}" where mtr_portfolio_id = 20348300 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20348300 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778407, 0.048404273896974506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20348300_07-02-2025_20_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20348424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20348425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20348426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20348428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20348429, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20348430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20348431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20348432, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20348433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20348434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20348435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20348436, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20349397 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2567425, 'mtr_portfolio_id': 20349397, 'created_at': datetime.datetime(2025, 2, 7, 21, 10, 58), 'result': '0.0488004584930215', 'result_long': None, 'result_double': None}] Qualite : 0.0488004584930215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20349397 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20349397_07-02-2025_21_10_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20349397 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20349397_07-02-2025_21_10_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20349404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20349405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20349406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20349407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20349408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20349409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20349410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20349411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20349412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20349413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20349414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20349415, 'pht': 3726}}" where mtr_portfolio_id = 20349397 and dashboard_run_id = 1597405 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20349397 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8778408, 0.0488004584930215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20349397_07-02-2025_21_10_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20349404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20349405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20349406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20349407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20349408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20349409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20349410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20349411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20349412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20349413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20349414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20349415, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20357221,20357222,20357223,20357224,20315569,20315692,20316024,20316025,20317438,20317982,20318337,20318874,20319461,20319822,20320244,20320591,20321063,20321526,20321945,20322310,20322943,20323019,20323596,20324009,20324595,20325074,20325725,20326215,20327948,20328450,20328924,20329678,20329897,20330538,20331959,20332530,20332974,20334720,20334954,20335400,20335893,20336499,20336877,20337903,20338212,20338563,20339390,20340006,20340339,20341179,20341719,20342056,20342262,20343639,20343892,20344230,20344666,20345370,20345968,20346586,20347070,20347727,20348300,20349397) result : ((1335336319,), (1335336323,), (1335344495,), (1335344498,), (1335344502,), (1335344508,), (1335344512,), (1335344517,), (1335344577,), (1335344581,), (1335344600,), (1335344604,), (1335344606,), (1335344609,), (1335344614,), (1335344618,), (1335345095,), (1335345097,), (1335345183,), (1335345214,), (1335345348,), (1335345375,), (1335345527,), (1335345550,), (1335345686,), (1335345712,), (1335345866,), (1335345867,), (1335346008,), (1335346010,), (1335346016,), (1335346019,), (1335346022,), (1335346027,), (1335348017,), (1335348046,), (1335348068,), (1335348106,), (1335348325,), (1335348328,), (1335348346,), (1335348352,), (1335348365,), (1335348481,), (1335348418,), (1335348423,), (1335348427,), (1335348431,), (1335348435,), (1335348470,), (1335348478,), (1335348479,), (1335348487,), (1335348491,), (1335348494,), (1335348499,), (1335348503,), (1335348520,), (1335348523,), (1335348525,), (1335348526,), (1335348527,), (1335348533,), (1335349176,), (1335349219,), (1335349220,), (1335349222,), (1335349224,), (1335348484,), (1335348756,), (1335348842,), (1335348922,), (1335349007,), (1335349089,), (1335349228,), (1335349231,), (1335349401,), (1335349438,), (1335350040,), (1335350041,), (1335350144,), (1335350587,), (1335350593,), (1335369066,), (1335368975,), (1335369252,), (1335369253,), (1335369254,), (1335369270,), (1335369649,), (1335369685,), (1335369686,), (1335369732,), (1335369781,), (1335369788,), (1335369789,), (1335369802,), (1335369805,), (1335369850,), (1335371131,), (1335371302,), (1335371779,), (1335371788,), (1335371791,), (1335371824,), (1335372001,), (1335372066,), (1335372692,), (1335372938,), (1335373077,), (1335373196,), (1335373236,), (1335373300,), (1335373302,), (1335373305,), (1335373307,), (1335373311,), (1335373508,), (1335373385,), (1335373433,), (1335374085,), (1335374107,), (1335374111,), (1335374564,), (1335374594,), (1335374611,), (1335374835,), (1335374859,), (1335374996,), (1335374999,), (1335375002,), (1335375020,), (1335375024,), (1335375032,), (1335375062,), (1335375142,), (1335376006,), (1335376010,), (1335376014,), (1335376018,), (1335376039,), (1335376042,), (1335376556,), (1335376558,), (1335376560,), (1335376564,), (1335376568,), (1335376605,), (1335376607,), (1335376612,), (1335376616,), (1335378010,), (1335378014,), (1335378113,), (1335378118,), (1335378121,), (1335378124,), (1335378564,), (1335378211,), (1335378283,), (1335378371,), (1335379101,), (1335379136,), (1335379162,), (1335379644,), (1335379798,), (1335379848,), (1335381896,), (1335381923,), (1335381928,), (1335381933,), (1335381935,), (1335381954,), (1335381956,), (1335381974,), (1335381988,), (1335381991,), (1335381994,), (1335382044,), (1335382047,), (1335382050,), (1335382613,), (1335382687,), (1335382759,), (1335382835,), (1335383141,), (1335383145,), (1335383149,), (1335383160,), (1335383490,), (1335383471,), (1335383482,), (1335383487,), (1335383603,), (1335383626,), (1335383651,), (1335383825,), (1335383938,), (1335383947,), (1335383957,), (1335384038,), (1335384040,), (1335384047,), (1335384049,), (1335384090,), (1335384093,), (1335384096,), (1335384098,), (1335384136,), (1335384181,), (1335384184,), (1335384186,), (1335384192,), (1335384213,), (1335384216,), (1335384220,), (1335384241,), (1335384243,), (1335384245,), (1335384247,), (1335384251,), (1335384276,), (1335384279,), (1335384281,), (1335384284,), (1335384303,), (1335384332,), (1335384335,), (1335384338,), (1335384439,), (1335384448,), (1335384455,), (1335386245,), (1335392084,), (1335392082,), (1335392157,), (1335392162,), (1335394485,), (1335394531,), (1335394534,), (1335394617,), (1335395567,), (1335395621,), (1335395682,), (1335396049,), (1335397020,), (1335396954,), (1335397018,), (1335397039,), (1335397041,), (1335397043,), (1335397123,), (1335397125,), (1335397148,), (1335397190,), (1335397214,), (1335397210,), (1335397212,), (1335397604,), (1335397660,), (1335398174,), (1335398417,), (1335398419,), (1335398447,), (1335398478,), (1335398480,), (1335398482,), (1335398517,), (1335398520,), (1335398541,), (1335398544,), (1335398563,), (1335398567,), (1335398569,), (1335398643,), (1335398644,), (1335398645,), (1335398708,), (1335398709,), (1335398794,), (1335398923,), (1335399630,), (1335400290,), (1335400215,), (1335400815,), (1335400864,), (1335400902,), (1335401073,), (1335401777,), (1335401783,), (1335401823,), (1335402074,), (1335402082,), (1335402108,), (1335402538,), (1335402984,), (1335403341,), (1335403353,), (1335403355,), (1335403380,), (1335403382,), (1335403424,), (1335403425,), (1335403427,), (1335403429,), (1335403431,), (1335403531,), (1335403533,), (1335403535,), (1335403606,), (1335403609,), (1335403611,), (1335403614,), (1335403927,), (1335403932,), (1335403936,), (1335403940,), (1335404085,), (1335404105,), (1335404122,), (1335404140,), (1335404146,), (1335404239,), (1335404160,), (1335404163,), (1335404165,), (1335404191,), (1335404827,), (1335404905,), (1335404977,), (1335405048,), (1335405573,), (1335405575,), (1335405577,), (1335405579,), (1335405582,), (1335405744,), (1335405749,), (1335405751,), (1335405753,), (1335405818,), (1335407040,), (1335410525,), (1335409329,), (1335410521,), (1335410523,), (1335410958,), (1335411035,), (1335411037,), (1335411089,), (1335411123,), (1335411127,), (1335411220,), (1335411222,), (1335411224,), (1335411225,), (1335411227,), (1335411230,), (1335411270,), (1335411275,), (1335411277,), (1335411279,), (1335411440,), (1335411443,), (1335411468,), (1335411512,), (1335411528,), (1335411530,), (1335411588,), (1335411590,), (1335411592,), (1335411594,), (1335411629,), (1335411631,), (1335411633,), (1335411749,), (1335411751,), (1335411776,), (1335411829,), (1335411831,), (1335412122,), (1335412124,), (1335412126,), (1335412299,), (1335412305,), (1335412307,), (1335412328,), (1335412341,), (1335412344,), (1335412346,), (1335412368,), (1335412378,), (1335412467,), (1335412468,), (1335412469,), (1335412470,), (1335412471,), (1335412562,), (1335412569,), (1335412575,), (1335412582,), (1335412586,), (1335412781,), (1335412843,), (1335412868,), (1335412879,), (1335412952,), (1335412953,), (1335412954,), (1335412955,), (1335412958,), (1335412976,), (1335412977,), (1335413550,), (1335413615,), (1335413657,), (1335413822,), (1335413824,), (1335413826,), (1335413828,), (1335414123,), (1335414124,), (1335414125,), (1335414170,), (1335414186,), (1335414203,), (1335414205,), (1335414268,), (1335414302,), (1335414412,), (1335414403,), (1335414409,), (1335414410,), (1335414483,), (1335414484,), (1335414485,), (1335414486,), (1335414488,), (1335414872,), (1335414883,), (1335414922,), (1335414924,), (1335415055,), (1335415058,), (1335415119,), (1335415120,), (1335415172,), (1335415173,), (1335415941,), (1335415944,), (1335415945,), (1335416125,), (1335416138,), (1335416148,), (1335416151,), (1335416180,), (1335416181,), (1335416182,), (1335416214,), (1335416215,), (1335416216,), (1335416217,), (1335416240,), (1335416241,), (1335416242,), (1335416284,), (1335416287,), (1335416288,), (1335416349,), (1335416350,), (1335416386,), (1335416566,), (1335417177,), (1335421128,), (1335420084,), (1335420091,), (1335420096,), (1335420102,), (1335420109,), (1335420116,), (1335420133,), (1335420134,), (1335420135,), (1335420136,), (1335420161,), (1335420167,), (1335420172,), (1335420189,), (1335420194,), (1335420199,), (1335420202,), (1335420208,), (1335420212,), (1335420236,), (1335420241,), (1335420244,), (1335420253,), (1335420254,), (1335420256,), (1335420258,), (1335420260,), (1335420265,), (1335421001,), (1335420128,), (1335420130,), (1335420142,), (1335420147,), (1335420155,), (1335420221,), (1335420225,), (1335420233,), (1335420292,), (1335420293,), (1335420298,), (1335420299,), (1335420305,), (1335420309,), (1335420379,), (1335420387,), (1335420453,), (1335420462,), (1335420531,), (1335420534,), (1335420756,), (1335420806,), (1335420849,), (1335420916,), (1335420976,), (1335421375,), (1335421377,), (1335421381,), (1335421384,), (1335421417,), (1335421420,), (1335421426,), (1335421431,), (1335421441,), (1335421497,), (1335421500,), (1335421503,), (1335421507,), (1335421638,), (1335421642,), (1335421680,), (1335421685,), (1335421696,), (1335421699,), (1335421744,), (1335421973,), (1335422012,), (1335422016,), (1335422020,), (1335422024,), (1335422261,), (1335422095,), (1335422152,), (1335422182,), (1335422227,), (1335422344,), (1335422353,), (1335422359,), (1335422394,), (1335422398,), (1335422401,), (1335422762,), (1335422766,), (1335422815,), (1335422848,), (1335422890,), (1335422893,), (1335422897,), (1335422914,), (1335422920,), (1335422951,), (1335423036,), (1335423042,), (1335423046,), (1335423050,), (1335423077,), (1335423084,), (1335423093,), (1335423137,), (1335423149,), (1335423161,), (1335423168,), (1335423269,), (1335423273,), (1335423309,), (1335423313,), (1335423317,), (1335423322,), (1335423347,), (1335423353,), (1335423356,), (1335423360,), (1335423397,), (1335423410,), (1335423453,), (1335423456,), (1335423462,), (1335423466,), (1335423507,), (1335423508,), (1335423512,), (1335423514,), (1335423519,), (1335423548,), (1335423555,), (1335423559,), (1335423561,), (1335423565,), (1335423577,), (1335423648,), (1335423641,), (1335423643,), (1335423645,), (1335423755,), (1335423757,), (1335423760,), (1335423766,), (1335423771,), (1335423894,), (1335423907,), (1335424604,), (1335424747,), (1335424751,), (1335424754,), (1335425365,), (1335425416,), (1335425464,), (1335425548,), (1335425590,), (1335425632,), (1335426150,), (1335426365,), (1335426411,), (1335426531,), (1335426599,), (1335426692,), (1335427000,), (1335427001,), (1335427030,), (1335427032,), (1335427035,), (1335427038,), (1335427194,), (1335427270,), (1335427326,), (1335427360,), (1335427362,), (1335427375,), (1335427482,), (1335427485,), (1335427489,), (1335427492,), (1335427495,), (1335428026,), (1335428067,), (1335428109,), (1335428317,), (1335428347,), (1335428390,), (1335428442,), (1335428690,), (1335428764,), (1335428824,), (1335429949,), (1335429982,), (1335430034,), (1335430116,), (1335430136,), (1335430202,), (1335430182,), (1335430186,), (1335430191,), (1335430198,), (1335430224,), (1335430227,), (1335430230,), (1335430244,), (1335430248,), (1335430252,), (1335430277,), (1335430280,), (1335430285,), (1335430333,), (1335430337,), (1335430341,), (1335430344,), (1335430347,), (1335430376,), (1335430379,), (1335430383,), (1335430386,), (1335430388,), (1335430647,), (1335430710,), (1335430789,), (1335430813,), (1335430875,), (1335431320,), (1335431321,), (1335431325,), (1335431568,), (1335431624,), (1335431647,), (1335431651,), (1335431748,), (1335431750,), (1335431752,), (1335431761,), (1335431767,), (1335431918,), (1335431997,), (1335432066,), (1335432109,), (1335432159,), (1335432631,), (1335432632,), (1335432634,), (1335434148,), (1335434184,), (1335434186,), (1335434188,), (1335434287,), (1335434470,), (1335434559,), (1335434568,), (1335434571,), (1335434572,), (1335435075,), (1335435146,), (1335435225,), (1335435479,), (1335435481,), (1335435517,), (1335435519,), (1335435520,), (1335435523,), (1335435600,), (1335435573,), (1335435574,), (1335435644,), (1335435650,), (1335435742,), (1335435809,), (1335435812,), (1335435814,), (1335436016,), (1335436017,), (1335436019,), (1335436021,), (1335436023,), (1335436135,), (1335436215,), (1335436285,), (1335436656,), (1335436660,), (1335436744,), (1335436794,), (1335436848,), (1335436850,), (1335436874,), (1335436911,), (1335436913,), (1335436916,), (1335436918,), (1335437014,), (1335437018,), (1335437021,), (1335437024,), (1335437082,), (1335437085,), (1335437087,), (1335437143,), (1335437152,), (1335437162,), (1335437208,), (1335437209,), (1335437212,), (1335437215,), (1335437219,), (1335437240,), (1335437244,), (1335437248,), (1335437258,), (1335437262,), (1335437292,), (1335437295,), (1335437297,), (1335437299,), (1335437360,), (1335437361,), (1335437367,), (1335437371,), (1335437408,), (1335437410,), (1335438173,), (1335437751,), (1335437835,), (1335437919,), (1335437992,), (1335438067,), (1335438567,), (1335438569,), (1335438592,), (1335438603,), (1335438751,), (1335438788,), (1335438860,), (1335438989,), (1335439060,), (1335439327,), (1335439354,), (1335439356,), (1335439399,), (1335439401,), (1335439404,), (1335439456,), (1335439466,), (1335439514,), (1335439554,), (1335439811,), (1335439813,), (1335439815,), (1335439818,), (1335440168,), (1335440273,), (1335440369,), (1335440401,), (1335440552,), (1335440555,), (1335440558,), (1335440599,), (1335440601,), (1335440604,), (1335440639,), (1335440640,), (1335440643,), (1335440646,), (1335440824,), (1335440901,), (1335440923,), (1335440949,), (1335440962,), (1335441030,), (1335441032,), (1335441035,), (1335441069,), (1335441071,), (1335441073,), (1335441075,), (1335441079,), (1335441116,), (1335441119,), (1335441121,), (1335441198,), (1335441189,), (1335441193,), (1335441247,), (1335441249,), (1335441252,), (1335441255,), (1335441353,), (1335441416,), (1335441437,), (1335441510,), (1335441852,), (1335441889,), (1335441921,), (1335441966,), (1335441968,), (1335441970,), (1335441972,), (1335441974,), (1335441977,), (1335442012,), (1335442015,), (1335442018,), (1335442055,), (1335442056,), (1335442059,), (1335442116,), (1335442118,), (1335442120,), (1335442123,), (1335442552,), (1335442573,), (1335442647,), (1335442713,), (1335442726,), (1335442914,), (1335442923,), (1335442925,), (1335442927,), (1335442928,), (1335442930,), (1335442975,), (1335442977,), (1335443000,), (1335443003,), (1335443032,), (1335443039,), (1335443042,), (1335443053,), (1335443069,), (1335443078,), (1335443474,), (1335443523,), (1335443559,), (1335443603,), (1335443633,), (1335444755,), (1335444775,), (1335444793,), (1335445111,), (1335445125,), (1335445130,), (1335445164,), (1335445166,), (1335445238,), (1335454078,), (1335454122,), (1335454133,), (1335454145,), (1335454150,), (1335454180,), (1335454183,), (1335454221,), (1335454365,), (1335454368,), (1335454372,), (1335454378,), (1335454447,), (1335454713,), (1335455389,), (1335455396,), (1335455856,), (1335455888,), (1335455900,), (1335455927,), (1335456247,), (1335456251,), (1335456290,), (1335457014,), (1335457080,), (1335457153,), (1335457225,), (1335457276,), (1335457314,), (1335457430,), (1335457435,), (1335457439,), (1335457470,), (1335457537,), (1335457593,), (1335457800,), (1335457803,), (1335457845,), (1335457855,), (1335457859,), (1335457889,), (1335457892,), (1335457895,), (1335457929,), (1335457932,), (1335457936,), (1335457940,), (1335457944,), (1335458006,), (1335458010,), (1335458031,), (1335458113,), (1335458194,), (1335458987,), (1335458973,), (1335458978,), (1335458983,), (1335459380,), (1335459389,), (1335460252,), (1335460260,), (1335460391,), (1335460394,), (1335460456,), (1335460459,), (1335460529,), (1335460532,), (1335460627,), (1335460631,), (1335460634,), (1335460637,), (1335460641,), (1335460692,), (1335460694,), (1335460698,), (1335461256,), (1335461340,), (1335461583,), (1335461585,), (1335461588,), (1335461652,), (1335461654,), (1335461657,), (1335461660,), (1335461664,), (1335461671,), (1335461708,), (1335461710,), (1335461755,), (1335461768,), (1335461781,), (1335461785,), (1335461788,), (1335461789,), (1335461902,), (1335461907,), (1335461913,), (1335461919,), (1335461925,), (1335462692,), (1335462430,), (1335462517,), (1335462594,), (1335462645,), (1335462919,), (1335462955,), (1335462959,), (1335463492,), (1335463496,), (1335463499,), (1335463505,), (1335463510,), (1335463698,), (1335463701,), (1335463705,), (1335463708,), (1335463713,), (1335463715,), (1335463741,), (1335463745,), (1335463751,), (1335463755,), (1335463804,), (1335463806,), (1335463809,), (1335463812,), (1335463886,), (1335463969,), (1335464668,), (1335464706,), (1335464738,), (1335464740,), (1335464744,), (1335464746,), (1335464836,), (1335464888,), (1335464951,), (1335465033,), (1335465202,), (1335465204,), (1335465207,), (1335465209,), (1335465213,), (1335465237,), (1335465239,), (1335465242,), (1335465245,), (1335465248,), (1335465302,), (1335465304,), (1335465306,), (1335465307,), (1335465873,), (1335465915,), (1335465979,), (1335466040,), (1335466110,), (1335466148,), (1335466157,), (1335466160,), (1335466164,), (1335466516,), (1335466531,), (1335466534,), (1335466579,), (1335466632,), (1335466644,), (1335466705,), (1335466712,), (1335466716,), (1335466989,), (1335468115,), (1335468230,), (1335468362,), (1335469297,), (1335469308,), (1335469317,), (1335469321,), (1335469325,), (1335469329,), (1335469410,), (1335469411,), (1335469413,), (1335469480,), (1335469866,), (1335469932,), (1335469943,), (1335469998,), (1335470000,), (1335470002,), (1335470003,), (1335470005,), (1335470631,), (1335470700,), (1335470766,), (1335470768,), (1335470771,), (1335470773,), (1335470918,), (1335470992,), (1335471218,), (1335471220,), (1335471223,), (1335471227,), (1335471257,), (1335471259,), (1335471262,), (1335471265,), (1335471267,), (1335471323,), (1335471310,), (1335471314,), (1335471317,), (1335471846,), (1335471944,), (1335472053,), (1335472078,), (1335472081,), (1335472549,), (1335472627,), (1335472714,), (1335472791,), (1335472872,), (1335472948,), (1335473318,), (1335473322,), (1335473327,), (1335473331,), (1335473685,), (1335473696,), (1335473699,), (1335473703,), (1335473903,), (1335473905,), (1335473908,), (1335473911,), (1335473963,), (1335473979,), (1335474145,), (1335474148,), (1335474151,), (1335474159,), (1335474170,), (1335474172,), (1335474223,), (1335474231,), (1335474235,), (1335474243,), (1335474247,), (1335474285,), (1335474288,), (1335474293,), (1335474298,), (1335474304,), (1335474352,), (1335474367,), (1335474372,), (1335474375,), (1335474408,), (1335474414,), (1335475217,), (1335475260,), (1335475265,), (1335475269,), (1335475508,), (1335475537,), (1335475557,), (1335475584,), (1335475591,), (1335476069,), (1335476126,), (1335476192,), (1335476199,), (1335476203,), (1335476413,), (1335476425,), (1335476472,), (1335476550,), (1335476542,), (1335476545,), (1335476698,), (1335476774,), (1335476870,), (1335476930,), (1335477155,), (1335477177,), (1335477182,), (1335477265,), (1335477269,), (1335477272,), (1335477278,), (1335477283,), (1335477286,), (1335477342,), (1335477344,), (1335477348,), (1335477350,), (1335477355,), (1335477359,), (1335477394,), (1335477397,), (1335477401,), (1335477405,), (1335477428,), (1335477430,), (1335477434,), (1335477436,), (1335477440,), (1335477445,), (1335477463,), (1335477466,), (1335477469,), (1335477473,), (1335477480,), (1335477515,), (1335477517,), (1335477520,), (1335477548,), (1335477550,), (1335477553,), (1335477556,), (1335477559,), (1335477588,), (1335477591,), (1335477626,), (1335477629,), (1335477656,), (1335477872,), (1335477874,), (1335477877,), (1335477881,), (1335477884,), (1335478002,), (1335478007,), (1335478093,), (1335478188,), (1335479265,), (1335486864,), (1335487236,), (1335487238,), (1335487242,), (1335487248,), (1335487252,), (1335487256,), (1335487522,), (1335487594,), (1335487691,), (1335488439,), (1335488606,), (1335488610,), (1335488614,), (1335488618,), (1335488622,), (1335488696,), (1335488703,), (1335488712,), (1335488719,), (1335488755,), (1335488759,), (1335488763,), (1335488767,), (1335488797,), (1335488800,), (1335488803,), (1335488836,), (1335488841,), (1335488845,), (1335488847,), (1335488850,), (1335488903,), (1335488906,), (1335488919,), (1335489015,), (1335489062,), (1335489326,), (1335489402,), (1335489458,), (1335489906,), (1335489925,), (1335489937,), (1335489948,), (1335490076,), (1335490112,), (1335490161,), (1335490219,), (1335490312,), (1335490638,), (1335490545,), (1335490548,), (1335490562,), (1335490906,), (1335490967,), (1335493405,), (1335493783,), (1335493805,), (1335493888,), (1335493945,), (1335494039,), (1335494081,), (1335494518,), (1335494562,), (1335494615,), (1335494774,), (1335494778,), (1335494782,), (1335494786,), (1335494791,), (1335495183,), (1335495202,), (1335495575,), (1335495578,), (1335495582,), (1335495661,), (1335495664,), (1335495667,), (1335495761,), (1335495765,), (1335495775,), (1335495810,), (1335495814,), (1335495945,), (1335495952,), (1335495962,), (1335495969,), (1335495993,), (1335495994,), (1335495998,), (1335496000,), (1335496002,), (1335496003,), (1335496045,), (1335496037,), (1335496042,), (1335496080,), (1335496088,), (1335496125,), (1335496138,), (1335496146,), (1335496150,), (1335496154,), (1335496181,), (1335496186,), (1335496219,), (1335496223,), (1335496226,), (1335496229,), (1335496234,), (1335496263,), (1335496266,), (1335496271,), (1335496276,), (1335496300,), (1335496304,), (1335496308,), (1335496312,), (1335496338,), (1335496341,), (1335496345,), (1335496349,), (1335496625,), (1335496707,), (1335497549,), (1335497612,), (1335497680,), (1335497684,), (1335497689,), (1335497717,), (1335497719,), (1335497724,), (1335497727,), (1335507289,), (1335516367,), (1335516954,), (1335517498,), (1335517500,), (1335517503,), (1335517533,), (1335517538,), (1335517541,), (1335517544,), (1335517546,), (1335517585,), (1335517611,), (1335517614,), (1335517618,), (1335517654,), (1335517656,), (1335517810,), (1335517820,), (1335517823,), (1335517826,), (1335517934,), (1335517943,), (1335517953,), (1335518025,), (1335518035,), (1335518052,), (1335518068,), (1335518075,), (1335518110,), (1335518106,), (1335518232,), (1335518235,), (1335518238,), (1335518257,), (1335518363,), (1335518368,), (1335518372,), (1335518389,), (1335518396,), (1335518430,), (1335518882,), (1335518884,), (1335518904,), (1335519176,), (1335519184,), (1335519188,), (1335519361,), (1335519485,), (1335519489,), (1335519582,), (1335519584,), (1335519592,), (1335519596,), (1335519605,), (1335519644,), (1335519650,), (1335519653,), (1335519656,), (1335519692,), (1335519694,), (1335519697,), (1335519708,), (1335519736,), (1335519738,), (1335519741,), (1335519744,), (1335519746,), (1335519857,), (1335519862,), (1335519882,), (1335519890,), (1335519919,), (1335519926,), (1335520066,), (1335520096,), (1335520101,), (1335520120,), (1335520350,), (1335520358,), (1335520382,), (1335520387,), (1335520409,), (1335520411,), (1335520412,), (1335520424,), (1335520460,), (1335520452,), (1335520454,), (1335520457,), (1335520566,), (1335520568,), (1335520574,), (1335520584,), (1335520586,), (1335520611,), (1335520614,), (1335520619,), (1335520624,), (1335520648,), (1335520657,), (1335520661,), (1335520665,), (1335520669,), (1335520686,), (1335520688,), (1335520700,), (1335520707,), (1335520754,), (1335520757,), (1335520760,), (1335520763,), (1335520773,), (1335520778,), (1335520820,), (1335520832,), (1335520844,), (1335520847,), (1335520850,), (1335520894,), (1335520910,), (1335520934,), (1335521094,), (1335521234,), (1335521484,), (1335521600,), (1335521699,), (1335522222,), (1335522227,), (1335522231,), (1335522232,), (1335522234,), (1335522236,), (1335522341,), (1335522390,), (1335522394,), (1335522397,), (1335522874,), (1335522877,), (1335522880,), (1335523061,), (1335523079,), (1335523087,), (1335523102,), (1335523133,), (1335523137,), (1335523189,), (1335523191,), (1335523194,), (1335523240,), (1335523245,), (1335523250,), (1335523252,), (1335523280,), (1335523435,), (1335523411,), (1335523420,), (1335523425,), (1335523429,), (1335523434,), (1335523668,), (1335523669,), (1335523686,), (1335523688,), (1335523809,), (1335523811,), (1335523813,), (1335523815,), (1335523824,), (1335523867,), (1335523868,), (1335523870,), (1335523871,), (1335523874,), (1335523876,), (1335523915,), (1335523918,), (1335523920,), (1335523921,), (1335524117,), (1335524260,), (1335524356,), (1335524494,), (1335524586,), (1335524682,), (1335524719,), (1335524721,), (1335524724,), (1335524889,), (1335525115,), (1335525119,), (1335525123,), (1335525127,), (1335525230,), (1335525250,), (1335525261,), (1335525271,), (1335525277,), (1335525351,), (1335525356,), (1335525360,), (1335525365,), (1335525381,), (1335525784,), (1335525876,), (1335525971,), (1335526083,), (1335526368,), (1335526398,), (1335526408,), (1335526419,), (1335526529,), (1335526531,), (1335526535,), (1335526554,), (1335526574,), (1335526606,), (1335526608,), (1335526611,), (1335526750,), (1335526776,), (1335526800,), (1335526811,), (1335526825,), (1335526893,), (1335526885,), (1335526889,), (1335527015,), (1335527036,), (1335527127,), (1335527149,), (1335527301,), (1335527305,), (1335527309,), (1335527314,), (1335527318,), (1335527477,), (1335527487,), (1335527493,), (1335527651,), (1335527664,), (1335527667,), (1335527669,), (1335527706,), (1335527728,), (1335527758,), (1335527761,), (1335527767,), (1335527783,), (1335527787,), (1335527790,), (1335528008,), (1335528018,), (1335528022,), (1335528112,), (1335528116,), (1335528120,), (1335528123,), (1335528137,), (1335528182,), (1335528186,), (1335528229,), (1335528233,), (1335528241,), (1335528246,), (1335528286,), (1335528300,), (1335528312,), (1335528326,), (1335528426,), (1335528433,), (1335528438,), (1335528442,), (1335528450,), (1335528527,), (1335528529,), (1335528532,), (1335528535,), (1335528539,), (1335528568,), (1335528570,), (1335528575,), (1335528580,), (1335528630,), (1335528638,), (1335528646,), (1335528657,), (1335528706,), (1335528713,), (1335528717,), (1335528720,), (1335528724,), (1335528726,), (1335528967,), (1335528945,), (1335528949,), (1335528955,), (1335528958,), (1335528963,), (1335528991,), (1335529017,), (1335529029,), (1335529128,), (1335529130,), (1335529135,), (1335529140,), (1335529143,), (1335529174,), (1335529179,), (1335529185,), (1335529188,), (1335529190,), (1335529193,), (1335529218,), (1335529222,), (1335529227,), (1335529233,), (1335529273,), (1335529276,), (1335529280,), (1335529285,), (1335529368,), (1335529373,), (1335529427,), (1335529601,), (1335529754,), (1335530028,), (1335530030,), (1335530096,), (1335530109,), (1335530188,), (1335530240,), (1335530332,), (1335530335,), (1335530339,), (1335530582,), (1335530586,), (1335530590,), (1335530593,), (1335530597,), (1335530599,), (1335530650,), (1335530653,), (1335532751,), (1335532750,), (1335532798,), (1335532799,), (1335532801,), (1335532803,), (1335532806,), (1335532871,), (1335532873,), (1335533106,), (1335533107,), (1335533457,), (1335535679,), (1335533888,), (1335536002,), (1335536004,), (1335536007,), (1335536012,), (1335536245,), (1335536247,), (1335536249,), (1335536250,), (1335536254,), (1335536589,), (1335536603,), (1335536605,), (1335536610,), (1335536613,), (1335536616,), (1335536631,), (1335536633,), (1335536636,), (1335536639,), (1335536715,), (1335536718,), (1335536720,), (1335536722,), (1335536724,), (1335536727,), (1335536783,), (1335536784,), (1335536786,), (1335536802,), (1335536857,), (1335536877,), (1335537077,), (1335537107,), (1335537112,), (1335537124,), (1335537127,), (1335537146,), (1335537148,), (1335537152,), (1335537158,), (1335537176,), (1335537246,), (1335537247,), (1335537249,), (1335537251,), (1335537254,), (1335537282,), (1335537284,), (1335537287,), (1335537291,), (1335537345,), (1335537347,), (1335537350,), (1335537360,), (1335537373,), (1335537465,), (1335537408,), (1335537433,), (1335537443,), (1335537445,), (1335537519,), (1335537558,), (1335537737,), (1335537739,), (1335537742,), (1335537745,), (1335537748,), (1335537752,), (1335538124,), (1335538133,), (1335538143,), (1335538149,), (1335538242,), (1335538249,), (1335538519,), (1335538522,), (1335538526,), (1335538545,), (1335538587,), (1335538646,), (1335538700,), (1335538708,), (1335538752,), (1335538754,), (1335538756,), (1335538762,), (1335538764,), (1335538769,), (1335538903,), (1335538977,), (1335538992,), (1335538999,), (1335539002,), (1335539025,), (1335539029,), (1335539033,), (1335539036,), (1335539110,), (1335539115,), (1335539129,), (1335539137,), (1335539141,), (1335539145,), (1335539172,), (1335539173,), (1335539187,), (1335539272,), (1335539275,), (1335539294,), (1335539358,), (1335539389,), (1335539392,), (1335539420,), (1335539421,), (1335539423,), (1335539425,), (1335539450,), (1335539472,), (1335539476,), (1335539481,), (1335539564,), (1335539568,), (1335539581,), (1335539585,), (1335539592,), (1335539596,), (1335539724,), (1335539704,), (1335539705,), (1335539707,), (1335539709,), (1335539711,), (1335539767,), (1335539770,), (1335539775,), (1335539885,), (1335539903,), (1335539912,), (1335539935,), (1335540014,), (1335540035,), (1335540177,), (1335540180,), (1335540183,), (1335540282,), (1335540285,), (1335540432,), (1335540435,), (1335540439,), (1335540442,), (1335540444,), (1335540493,), (1335540497,), (1335542027,), (1335541864,), (1335542024,), (1335542025,), (1335542058,), (1335542098,), (1335542100,), (1335542103,), (1335542105,), (1335542110,), (1335542118,), (1335542169,), (1335542384,), (1335542554,), (1335542679,), (1335543234,), (1335543236,), (1335543239,), (1335543712,), (1335543725,), (1335543729,), (1335543792,), (1335543824,), (1335543832,), (1335544216,), (1335544219,), (1335544222,), (1335544225,), (1335544229,), (1335544232,), (1335544287,), (1335544295,), (1335544303,), (1335544391,), (1335544395,), (1335544399,), (1335544403,), (1335544407,), (1335544585,), (1335544589,), (1335544595,), (1335544600,), (1335544605,), (1335544608,), (1335544639,), (1335544644,), (1335544648,), (1335544652,), (1335544714,), (1335544684,), (1335544687,), (1335544690,), (1335544696,), (1335544703,), (1335544746,), (1335544755,), (1335544763,), (1335544765,), (1335544849,), (1335544851,), (1335544854,), (1335544907,), (1335544989,), (1335545092,), (1335545934,), (1335546022,), (1335546039,), (1335546044,), (1335546134,), (1335546139,), (1335546142,), (1335546145,), (1335546151,), (1335546222,), (1335546312,), (1335546319,), (1335546323,), (1335546329,), (1335546522,), (1335547312,), (1335547315,), (1335547329,), (1335547337,), (1335547687,), (1335547728,), (1335547845,), (1335547849,), (1335547888,), (1335548242,), (1335548318,), (1335548396,), (1335548419,), (1335548421,), (1335548423,), (1335548783,), (1335548836,), (1335548839,), (1335548842,), (1335549059,), (1335549075,), (1335549081,), (1335549087,), (1335549090,), (1335549099,), (1335549167,), (1335549170,), (1335549185,), (1335549269,), (1335549274,), (1335549291,), (1335549299,), (1335549302,), (1335549326,), (1335549330,), (1335549334,), (1335549363,), (1335549366,), (1335549371,), (1335549378,), (1335549391,), (1335549462,), (1335549444,), (1335549450,), (1335549456,), (1335549507,), (1335549509,), (1335549512,), (1335549516,), (1335549520,), (1335549523,), (1335549740,), (1335549747,), (1335549752,), (1335549769,), (1335549785,), (1335549792,), (1335549832,), (1335549834,), (1335549850,), (1335549853,), (1335549875,), (1335549977,), (1335549987,), (1335549994,), (1335550016,), (1335550026,), (1335550037,), (1335550150,), (1335550153,), (1335550161,), (1335550165,), (1335550169,), (1335550173,), (1335550233,), (1335550236,), (1335550239,), (1335550246,), (1335550281,), (1335550285,), (1335550289,), (1335550292,), (1335550295,), (1335550315,), (1335550317,), (1335550323,), (1335550372,), (1335550403,), (1335550432,), (1335550556,), (1335550562,), (1335550676,), (1335550744,), (1335551619,), (1335551699,), (1335551792,), (1335551874,), (1335551883,), (1335551886,), (1335551992,), (1335551995,), (1335551999,), (1335552003,), (1335552009,), (1335552317,), (1335552368,), (1335552395,), (1335552581,), (1335552601,), (1335552634,), (1335552650,), (1335552654,), (1335552682,), (1335552697,), (1335552712,), (1335552739,), (1335552745,), (1335552788,), (1335552772,), (1335552779,), (1335552784,), (1335552838,), (1335552841,), (1335552903,), (1335552909,), (1335552913,), (1335552917,), (1335552922,), (1335552925,), (1335552940,), (1335552943,), (1335552947,), (1335552952,), (1335552956,), (1335552983,), (1335552991,), (1335552995,), (1335553016,), (1335553029,), (1335553153,), (1335553156,), (1335553162,), (1335553165,), (1335553220,), (1335553222,), (1335553225,), (1335553299,), (1335553302,), (1335553305,), (1335553310,), (1335553316,), (1335553371,), (1335553374,), (1335553420,), (1335553430,), (1335553515,), (1335553516,), (1335553518,), (1335553520,), (1335553523,), (1335553559,), (1335553580,), (1335553584,), (1335553587,), (1335553589,), (1335553618,), (1335553620,), (1335553626,), (1335553630,), (1335553631,), (1335553672,), (1335553701,), (1335553770,), (1335553826,), (1335553852,), (1335553868,), (1335553989,), (1335553993,), (1335553997,), (1335554054,), (1335554044,), (1335554050,), (1335554086,), (1335554089,), (1335554093,), (1335554134,), (1335554138,), (1335554141,), (1335554144,), (1335554159,), (1335554194,), (1335554198,), (1335554203,), (1335554213,), (1335554217,), (1335554241,), (1335554244,), (1335554247,), (1335554276,), (1335554359,), (1335554392,), (1335554400,), (1335554408,), (1335554419,), (1335554442,), (1335554445,), (1335554448,), (1335554451,), (1335554453,), (1335554478,), (1335554484,), (1335554488,), (1335554517,), (1335554520,), (1335554524,), (1335554614,), (1335554617,), (1335554739,), (1335554743,), (1335554747,), (1335554827,), (1335554891,), (1335554893,), (1335554896,), (1335554900,), (1335554901,), (1335554929,), (1335554931,), (1335554933,), (1335554935,), (1335554989,), (1335554967,), (1335554971,), (1335554975,), (1335554978,), (1335554984,), (1335555015,), (1335555021,), (1335555027,), (1335555036,), (1335555039,), (1335555094,), (1335555096,), (1335555099,), (1335555102,), (1335555127,), (1335555130,), (1335555133,), (1335555134,), (1335555177,), (1335555179,), (1335555182,), (1335555185,), (1335555189,), (1335555259,), (1335555261,), (1335555263,), (1335555265,), (1335555931,), (1335556051,), (1335556188,), (1335556889,), (1335556925,), (1335556931,), (1335556936,), (1335556944,), (1335557010,), (1335559783,), (1335559888,), (1335560595,), (1335560613,), (1335560638,), (1335560652,), (1335560660,), (1335561273,), (1335565728,), (1335565780,), (1335565788,), (1335565790,), (1335565794,), (1335565833,), (1335565837,), (1335565841,), (1335565882,), (1335566149,), (1335566168,), (1335566177,), (1335566188,), (1335566196,), (1335566250,), (1335566253,), (1335566256,), (1335566310,), (1335566312,), (1335566314,), (1335566318,), (1335566321,), (1335566326,), (1335566638,), (1335566668,), (1335566673,), (1335566678,), (1335567492,), (1335567580,), (1335567588,), (1335567659,), (1335567663,), (1335567667,), (1335567670,), (1335567674,), (1335567678,), (1335567725,), (1335567728,), (1335567730,), (1335567733,), (1335567736,), (1335567738,), (1335567756,), (1335567758,), (1335567761,), (1335567764,), (1335567789,), (1335567793,), (1335567797,), (1335567801,), (1335567803,), (1335567829,), (1335567831,), (1335567834,), (1335567837,), (1335567858,), (1335567861,), (1335567864,), (1335567919,), (1335567894,), (1335567897,), (1335567901,), (1335567916,), (1335567946,), (1335567952,), (1335567956,), (1335567960,), (1335567965,), (1335567968,), (1335568065,), (1335568075,), (1335568087,), (1335568099,), (1335568130,), (1335568133,), (1335568139,), (1335568142,), (1335568170,), (1335568171,), (1335568173,), (1335568175,), (1335568177,), (1335568207,), (1335568208,), (1335568210,), (1335568675,), (1335568751,), (1335568830,), (1335569205,), (1335569207,), (1335569210,), (1335569248,), (1335569319,), (1335569557,), (1335569581,), (1335569620,), (1335569624,), (1335569628,), (1335569634,), (1335569665,), (1335569666,), (1335569668,), (1335569681,), (1335570535,), (1335570566,), (1335570630,), (1335570650,), (1335570652,), (1335570896,), (1335570921,), (1335570941,), (1335570944,), (1335570946,), (1335570948,), (1335570970,), (1335570972,), (1335570973,), (1335570975,), (1335571006,), (1335571007,), (1335571010,), (1335571012,), (1335571014,), (1335571016,), (1335571039,), (1335571042,), (1335571045,), (1335571048,), (1335571052,), (1335571054,), (1335571085,), (1335571074,), (1335571078,), (1335571082,), (1335571227,), (1335571253,), (1335571275,), (1335571278,), (1335571322,), (1335571325,), (1335571343,), (1335571344,), (1335571346,), (1335571367,), (1335571402,), (1335571403,), (1335571405,), (1335571407,), (1335571408,), (1335571410,), (1335571479,), (1335571532,), (1335571607,), (1335571613,), (1335571615,), (1335571654,), (1335571657,), (1335571658,), (1335571661,), (1335571726,), (1335571729,), (1335571739,), (1335571742,), (1335571747,), (1335571749,), (1335571887,), (1335571898,), (1335571911,), (1335571920,), (1335571926,), (1335571944,), (1335571946,), (1335571949,), (1335571952,), (1335571954,), (1335571961,), (1335571994,), (1335571995,), (1335571998,), (1335572001,), (1335572062,), (1335572064,), (1335572066,), (1335572068,), (1335572071,), (1335572096,), (1335572097,), (1335572099,), (1335572101,), (1335572300,), (1335572302,), (1335572304,), (1335572305,), (1335572343,), (1335572378,), (1335572379,), (1335572381,), (1335572383,), (1335572385,), (1335572430,), (1335572432,), (1335572434,), (1335572862,), (1335572717,), (1335572718,), (1335572764,), (1335572830,), (1335572840,), (1335572956,), (1335572960,), (1335572963,), (1335572968,), (1335572973,), (1335572977,), (1335572995,), (1335572996,), (1335573000,), (1335573121,), (1335573181,), (1335573318,), (1335573443,), (1335573813,), (1335573814,), (1335573816,), (1335575107,), (1335575283,), (1335575316,), (1335575320,), (1335575323,), (1335575341,), (1335575348,), (1335575351,), (1335575354,), (1335575737,), (1335575800,), (1335575831,), (1335575833,), (1335575836,), (1335575839,), (1335575940,), (1335575941,), (1335575942,), (1335575944,), (1335576338,), (1335576340,), (1335576351,), (1335576354,), (1335576357,), (1335576359,), (1335576909,), (1335576959,), (1335577026,), (1335577027,), (1335577030,), (1335577528,), (1335577541,), (1335577545,), (1335577549,), (1335577773,), (1335577775,), (1335577787,), (1335577862,), (1335577877,), (1335578184,), (1335578188,), (1335578192,), (1335578198,), (1335578205,), (1335578273,), (1335578262,), (1335578265,), (1335578269,), (1335578441,), (1335578443,), (1335578446,), (1335578449,), (1335578452,), (1335578542,), (1335578545,), (1335578552,), (1335578560,), (1335578565,), (1335578569,), (1335578603,), (1335578607,), (1335578610,), (1335578614,), (1335578640,), (1335578642,), (1335578644,), (1335578646,), (1335578649,), (1335578652,), (1335578683,), (1335578724,), (1335578726,), (1335578728,), (1335578729,), (1335578733,), (1335578754,), (1335578755,), (1335578757,), (1335578762,), (1335578816,), (1335578818,), (1335578834,), (1335578861,), (1335578868,), (1335578874,), (1335578879,), (1335578882,), (1335578885,), (1335578917,), (1335578918,), (1335578919,), (1335578921,), (1335578953,), (1335578956,), (1335579016,), (1335579018,), (1335579020,), (1335579105,), (1335579107,), (1335579109,), (1335579110,), (1335579112,), (1335579144,), (1335579151,), (1335579158,), (1335579207,), (1335579209,), (1335579212,), (1335579215,), (1335579285,), (1335579324,), (1335579386,), (1335579443,), (1335579507,), (1335579994,), (1335579981,), (1335579983,), (1335579986,), (1335580276,), (1335580280,), (1335580284,), (1335580325,), (1335580574,), (1335580640,), (1335580668,), (1335580671,), (1335580673,), (1335580711,), (1335580713,), (1335580742,), (1335580752,), (1335580755,), (1335580770,), (1335580810,), (1335580813,), (1335580816,), (1335580848,), (1335580850,), (1335580853,), (1335580856,), (1335580860,), (1335580930,), (1335581003,), (1335581076,), (1335581142,), (1335581255,), (1335581371,), (1335581964,), (1335581966,), (1335581971,), (1335582339,), (1335582340,), (1335582342,), (1335582344,), (1335582345,), (1335582440,), (1335582441,), (1335582443,), (1335582446,), (1335582448,), (1335582452,), (1335582505,), (1335582597,), (1335582600,), (1335582603,), (1335582606,), (1335582642,), (1335582644,), (1335582647,), (1335582669,), (1335582673,), (1335582676,), (1335582679,), (1335582727,), (1335582729,), (1335582734,), (1335582742,), (1335582748,), (1335582839,), (1335583842,), (1335583573,), (1335583695,), (1335583817,), (1335583927,), (1335583934,), (1335583943,), (1335583950,), (1335583963,), (1335584111,), (1335584239,), (1335584244,), (1335584247,), (1335584250,), (1335584254,), (1335584293,), (1335584305,), (1335584308,), (1335584310,), (1335584453,), (1335584455,), (1335584458,), (1335584460,), (1335584463,), (1335584495,), (1335584497,), (1335584501,), (1335584504,), (1335584505,), (1335584508,), (1335584533,), (1335584537,), (1335584540,), (1335584543,), (1335584546,), (1335584895,), (1335585068,), (1335585071,), (1335585075,), (1335585078,), (1335585081,), (1335585309,), (1335585318,), (1335585326,), (1335585329,), (1335585395,), (1335585472,), (1335585614,), (1335585687,), (1335585702,), (1335585736,), (1335585801,), (1335585805,), (1335585810,), (1335585815,), (1335585819,), (1335585822,), (1335585844,), (1335585848,), (1335585850,), (1335585879,), (1335586696,), (1335586769,), (1335586836,), (1335586906,), (1335586972,), (1335587085,), (1335587130,), (1335587133,), (1335587137,), (1335587140,), (1335587144,), (1335587540,), (1335587542,), (1335587545,), (1335587741,), (1335588322,), (1335588342,), (1335588399,), (1335588488,), (1335588579,), (1335588976,), (1335588979,), (1335588983,), (1335588992,), (1335589055,), (1335589059,), (1335589112,), (1335589120,), (1335589130,), (1335589134,), (1335589179,), (1335589183,), (1335589186,), (1335589190,), (1335589195,), (1335589223,), (1335589225,), (1335589228,), (1335589231,), (1335589235,), (1335589248,), (1335589343,), (1335589346,), (1335589352,), (1335589499,), (1335589500,), (1335589502,), (1335589504,), (1335589506,), (1335589528,), (1335589530,), (1335589532,), (1335589542,), (1335589559,), (1335589560,), (1335589605,), (1335589609,), (1335589617,), (1335589620,), (1335589817,), (1335589824,), (1335589833,), (1335589836,), (1335589839,), (1335589844,), (1335589868,), (1335589869,), (1335589871,), (1335589873,), (1335591120,), (1335591131,), (1335591137,), (1335591141,), (1335591147,), (1335591152,), (1335591162,), (1335591165,), (1335591170,), (1335591174,), (1335591179,), (1335591494,), (1335591279,), (1335591328,), (1335591423,), (1335591604,), (1335591608,), (1335591611,), (1335591634,), (1335591711,), (1335591788,), (1335591888,), (1335591892,), (1335591896,), (1335591900,), (1335591902,), (1335592258,), (1335592284,), (1335592289,), (1335592290,), (1335592293,), (1335592319,), (1335592690,), (1335592699,), (1335592723,), (1335592726,), (1335592729,), (1335592737,), (1335592790,), (1335592793,), (1335592801,), (1335592806,), (1335592811,), (1335592829,), (1335592831,), (1335592833,), (1335593295,), (1335593334,), (1335593385,), (1335593389,), (1335593393,), (1335593403,), (1335593520,), (1335593524,), (1335593532,), (1335593555,), (1335593566,), (1335593570,), (1335594558,), (1335594660,), (1335594663,), (1335594667,), (1335594685,), (1335594689,), (1335594692,), (1335594694,), (1335594701,), (1335594709,), (1335595182,), (1335595199,), (1335595240,), (1335595265,), (1335595306,), (1335595308,), (1335595313,), (1335595316,), (1335595330,), (1335595333,), (1335595364,), (1335595366,), (1335595369,), (1335595372,), (1335595374,), (1335595377,), (1335595532,), (1335595536,), (1335595542,), (1335595669,), (1335595595,), (1335595598,), (1335595602,), (1335595606,), (1335595610,), (1335595989,), (1335596146,), (1335596230,), (1335596236,), (1335596269,), (1335596350,), (1335596373,), (1335596400,), (1335596402,), (1335596413,), (1335596448,), (1335596460,), (1335596472,), (1335596475,), (1335596480,), (1335596483,), (1335596517,), (1335596522,), (1335596538,), (1335596573,), (1335596575,), (1335596578,), (1335596581,), (1335596583,), (1335596615,), (1335596618,), (1335596622,), (1335596625,), (1335596627,), (1335596663,), (1335596665,), (1335596668,), (1335596673,), (1335596799,), (1335596810,), (1335596813,), (1335596821,), (1335596828,), (1335596835,), (1335596878,), (1335596880,), (1335596883,), (1335596886,), (1335596917,), (1335596918,), (1335596920,), (1335596923,), (1335596925,), (1335596926,), (1335596955,), (1335597217,), (1335597335,), (1335597370,), (1335597375,), (1335597376,), (1335597616,), (1335597627,), (1335597634,), (1335597642,), (1335597711,), (1335597714,), (1335597716,), (1335597719,), (1335597722,), (1335597725,), (1335597765,), (1335597766,), (1335597769,), (1335597771,), (1335597772,), (1335597775,), (1335597862,), (1335597861,), (1335597984,), (1335597986,), (1335597988,), (1335597990,), (1335597993,), (1335598002,), (1335598620,), (1335598731,), (1335598748,), (1335598755,), (1335598756,), (1335598835,), (1335598881,), (1335598932,), (1335598977,), (1335599279,), (1335599280,), (1335599289,), (1335599299,), (1335599627,), (1335599628,), (1335599630,), (1335600014,), (1335600015,), (1335600020,), (1335600022,), (1335600024,), (1335600069,), (1335600070,), (1335600072,), (1335600074,), (1335600076,), (1335600079,), (1335600109,), (1335600111,), (1335600114,), (1335600165,), (1335600174,), (1335600181,), (1335600183,), (1335600186,), (1335600348,), (1335600349,), (1335600368,), (1335600406,), (1335605734,), (1335336388,), (1335336391,), (1335341067,), (1335341489,), (1335341492,), (1335341495,), (1335341498,), (1335341499,), (1335341503,), (1335341619,), (1335341623,), (1335341644,), (1335341646,), (1335341652,), (1335341654,), (1335341661,), (1335341664,), (1335341665,), (1335341668,), (1335341671,), (1335341690,), (1335341708,), (1335341709,), (1335341713,), (1335341714,), (1335341720,), (1335341723,), (1335341727,), (1335341728,), (1335341730,), (1335341731,), (1335341745,), (1335341749,), (1335341847,), (1335341850,), (1335341859,), (1335341954,), (1335342019,), (1335342089,), (1335342092,), (1335342097,), (1335342104,), (1335342106,), (1335342109,), (1335344483,), (1335336383,), (1335336386,), (1335342169,), (1335342172,), (1335342175,), (1335342178,), (1335342181,), (1335344480,), (1335336379,), (1335342115,), (1335342118,), (1335342120,), (1335342123,), (1335342147,), (1335342150,), (1335342166,), (1335342200,), (1335342206,), (1335342208,), (1335342210,), (1335342212,), (1335342215,), (1335342736,), (1335342764,), (1335342933,), (1335342977,), (1335343022,), (1335343096,), (1335343179,), (1335343249,), (1335344364,), (1335344367,), (1335344401,), (1335344402,), (1335344403,), (1335344425,), (1335344429,), (1335344433,), (1335344437,), (1335344440,), (1335344442,), (1335344450,), (1335344452,), (1335344453,), (1335344455,), (1335344457,), (1335344460,), (1335344467,), (1335344472,), (1335344477,), (1335336339,), (1335342410,), (1335342507,), (1335342586,), (1335342678,), (1335343299,), (1335343300,), (1335343302,), (1335343303,), (1335343330,), (1335343331,), (1335343333,), (1335343334,), (1335343336,), (1335343337,), (1335343339,), (1335343341,), (1335343434,), (1335343474,), (1335343555,), (1335343589,), (1335343592,), (1335343593,), (1335343775,), (1335343848,), (1335343946,), (1335344030,), (1335344079,), (1335344115,), (1335344127,), (1335344133,), (1335344172,), (1335344190,), (1335344195,), (1335344212,), (1335344297,), (1335344301,), (1335344331,), (1335344335,), (1335344340,), (1335344346,), (1335344361,), (1335344596,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07022025': {'nb_upload': 43, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20357224]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1335344596, 1335344361, 1335344346, 1335344340, 1335344335, 1335344331, 1335344301, 1335344297, 1335344212, 1335344195, 1335344190, 1335344172, 1335344133, 1335344127, 1335344115, 1335344079, 1335344030, 1335343946, 1335343848, 1335343775, 1335343593, 1335343592, 1335343589, 1335343555, 1335343474, 1335343434, 1335343341, 1335343339, 1335343337, 1335343336, 1335343334, 1335343333, 1335343331, 1335343330, 1335343303, 1335343302, 1335343300, 1335343299, 1335342678, 1335342586, 1335342507, 1335342410, 1335336339] map_info['map_portfolio_photo'] : {20357224: [1335344596, 1335344361, 1335344346, 1335344340, 1335344335, 1335344331, 1335344301, 1335344297, 1335344212, 1335344195, 1335344190, 1335344172, 1335344133, 1335344127, 1335344115, 1335344079, 1335344030, 1335343946, 1335343848, 1335343775, 1335343593, 1335343592, 1335343589, 1335343555, 1335343474, 1335343434, 1335343341, 1335343339, 1335343337, 1335343336, 1335343334, 1335343333, 1335343331, 1335343330, 1335343303, 1335343302, 1335343300, 1335343299, 1335342678, 1335342586, 1335342507, 1335342410, 1335336339]} final : True mtd_id 4302 list_pids : [1335344596, 1335344361, 1335344346, 1335344340, 1335344335, 1335344331, 1335344301, 1335344297, 1335344212, 1335344195, 1335344190, 1335344172, 1335344133, 1335344127, 1335344115, 1335344079, 1335344030, 1335343946, 1335343848, 1335343775, 1335343593, 1335343592, 1335343589, 1335343555, 1335343474, 1335343434, 1335343341, 1335343339, 1335343337, 1335343336, 1335343334, 1335343333, 1335343331, 1335343330, 1335343303, 1335343302, 1335343300, 1335343299, 1335342678, 1335342586, 1335342507, 1335342410, 1335336339] Looping around the photos to save general results len do output : 1 /20357224Didn'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, '2572566') ('4302', '20357224', '1335344596', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344361', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344346', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344340', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344335', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344331', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344301', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344297', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344212', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344195', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344190', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344172', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344133', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344127', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344115', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344079', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335344030', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343946', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343848', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343775', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343593', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343592', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343589', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343555', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343474', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343434', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343341', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343339', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343337', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343336', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343334', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343333', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343331', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343330', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343303', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343302', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343300', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335343299', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342678', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342586', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342507', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335342410', None, None, None, None, None, '2572566') ('4302', None, None, None, None, None, None, None, '2572566') ('4302', '20357224', '1335336339', None, None, None, None, None, '2572566') 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', None, '20357224', 'None', None, None, None, None, '2572566'), ('4302', '20357224', '1335344596', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344361', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344346', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344340', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344335', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344331', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344301', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344297', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344212', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344195', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344190', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344172', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344133', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344127', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344115', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344079', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335344030', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343946', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343848', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343775', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343593', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343592', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343589', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343555', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343474', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343434', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343341', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343339', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343337', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343336', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343334', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343333', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343331', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343330', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343303', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343302', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343300', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335343299', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335342678', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335342586', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335342507', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335342410', None, None, None, None, None, '2572566'), ('4302', '20357224', '1335336339', None, None, None, None, None, '2572566')] time used for this insertion : 0.023473501205444336 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.2578511238098145 time spend to save output : 0.023897409439086914 total time spend for step 5 : 4.281748533248901 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 (2572566) 3.03user 2.36system 0:13.66elapsed 39%CPU (0avgtext+0avgdata 168172maxresident)k 760inputs+26168outputs (19major+76783minor)pagefaults 0swaps