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 : 489564 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 (2660968) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2660968) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21274348 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2660968'] with mtr_portfolio_ids : ['21274348'] and first list_photo_ids : [] new path : /proc/489564/ Name: python3 Umask: 0002 State: R (running) Tgid: 489564 Ngid: 0 Pid: 489564 PPid: 489562 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 489564 NSpid: 489564 NSpgid: 488817 NSsid: 488817 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100112 kB VmRSS: 100112 kB RssAnon: 59756 kB RssFile: 40356 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 540 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: 44 nonvoluntary_ctxt_switches: 118 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '489564', 'Ngid': '0', 'Pid': '489564', 'PPid': '489562', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '489564', 'NSpid': '489564', 'NSpgid': '488817', 'NSsid': '488817', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100112 kB', 'VmRSS': '100112 kB', 'RssAnon': '59756 kB', 'RssFile': '40356 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '540 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': '44', 'nonvoluntary_ctxt_switches': '118'} ('datou_batch_current', '489564', '1106844', '0', '1106844', '865592', '100112', b'', 'marlene', '2660968') 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 (21274348) 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 (2660968 ) ) 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 (21274348) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1342933833, 'portfolio_id': 21274348}, {'photo_id': 1342933103, 'portfolio_id': 21274348}, {'photo_id': 1342933064, 'portfolio_id': 21274348}, {'photo_id': 1342933009, 'portfolio_id': 21274348}, {'photo_id': 1342932278, 'portfolio_id': 21274348}, {'photo_id': 1342932183, 'portfolio_id': 21274348}, {'photo_id': 1342932100, 'portfolio_id': 21274348}, {'photo_id': 1342931515, 'portfolio_id': 21274348}, {'photo_id': 1342931460, 'portfolio_id': 21274348}, {'photo_id': 1342931433, 'portfolio_id': 21274348}, {'photo_id': 1342931397, 'portfolio_id': 21274348}, {'photo_id': 1342930957, 'portfolio_id': 21274348}, {'photo_id': 1342930860, 'portfolio_id': 21274348}, {'photo_id': 1342930755, 'portfolio_id': 21274348}, {'photo_id': 1342930704, 'portfolio_id': 21274348}, {'photo_id': 1342930659, 'portfolio_id': 21274348}, {'photo_id': 1342930115, 'portfolio_id': 21274348}, {'photo_id': 1342930066, 'portfolio_id': 21274348}, {'photo_id': 1342930007, 'portfolio_id': 21274348}, {'photo_id': 1342929926, 'portfolio_id': 21274348}, {'photo_id': 1342929576, 'portfolio_id': 21274348}, {'photo_id': 1342929486, 'portfolio_id': 21274348}, {'photo_id': 1342929439, 'portfolio_id': 21274348}, {'photo_id': 1342929398, 'portfolio_id': 21274348}, {'photo_id': 1342929349, 'portfolio_id': 21274348}, {'photo_id': 1342928994, 'portfolio_id': 21274348}, {'photo_id': 1342928922, 'portfolio_id': 21274348}, {'photo_id': 1342928856, 'portfolio_id': 21274348}, {'photo_id': 1342928796, 'portfolio_id': 21274348}, {'photo_id': 1342928726, 'portfolio_id': 21274348}, {'photo_id': 1342928561, 'portfolio_id': 21274348}, {'photo_id': 1342927605, 'portfolio_id': 21274348}, {'photo_id': 1342927352, 'portfolio_id': 21274348}] map_portfolio_id_photo_id: {21274348: [1342933833, 1342933103, 1342933064, 1342933009, 1342932278, 1342932183, 1342932100, 1342931515, 1342931460, 1342931433, 1342931397, 1342930957, 1342930860, 1342930755, 1342930704, 1342930659, 1342930115, 1342930066, 1342930007, 1342929926, 1342929576, 1342929486, 1342929439, 1342929398, 1342929349, 1342928994, 1342928922, 1342928856, 1342928796, 1342928726, 1342928561, 1342927605, 1342927352]} ##### 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.9595253467559814 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Mar 12 05:52:28 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 (21274348) 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 : 21274348 get user id for portfolio 21274348 get sub ptf for main ptf 21274348, type 3726 and hashtags ['Carton_gris', 'autre_refus', 'cartonnette', 'mal_croppe', 'flou', 'papier', 'environnement', 'metal', 'plastique', 'Teint_Dans_La_Masse', 'kraft', 'Carton_brun'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21274348 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','autre_refus','cartonnette','mal_croppe','flou','papier','environnement','metal','plastique','Teint_Dans_La_Masse','kraft','Carton_brun')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21274348 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','autre_refus','cartonnette','mal_croppe','flou','papier','environnement','metal','plastique','Teint_Dans_La_Masse','kraft','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 21274348, 'sub_port_id': 21274349, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860959, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 29)}, 'plastique': {'main_port_id': 21274348, 'sub_port_id': 21274350, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860960, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 29)}, 'papier': {'main_port_id': 21274348, 'sub_port_id': 21274351, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860961, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 29)}, 'kraft': {'main_port_id': 21274348, 'sub_port_id': 21274353, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860962, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 29)}, 'cartonnette': {'main_port_id': 21274348, 'sub_port_id': 21274355, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860963, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 29)}, 'flou': {'main_port_id': 21274348, 'sub_port_id': 21274357, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860964, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 29)}, 'environnement': {'main_port_id': 21274348, 'sub_port_id': 21274359, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860965, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 21274348, 'sub_port_id': 21274361, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860966, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 29)}, 'autre_refus': {'main_port_id': 21274348, 'sub_port_id': 21274363, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860967, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 29)}, 'Carton_gris': {'main_port_id': 21274348, 'sub_port_id': 21274365, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860968, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 29)}, 'metal': {'main_port_id': 21274348, 'sub_port_id': 21274367, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860969, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 29)}, 'Carton_brun': {'main_port_id': 21274348, 'sub_port_id': 21274370, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860970, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21274349 , 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=21274348 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 (21274349) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21274348) result : ((1342927352,), (1342927605,), (1342928561,), (1342928726,), (1342928796,), (1342928856,), (1342928922,), (1342928994,), (1342929349,), (1342929398,), (1342929439,), (1342929486,), (1342929576,), (1342929926,), (1342930007,), (1342930066,), (1342930115,), (1342930659,), (1342930704,), (1342930755,), (1342930860,), (1342930957,), (1342931397,), (1342931433,), (1342931460,), (1342931515,), (1342932100,), (1342932183,), (1342932278,), (1342933009,), (1342933064,), (1342933103,), (1342933833,)) 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 (1342932100) 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 21274350 , 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=21274348 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 (21274350) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21274348) result : ((1342927352,), (1342927605,), (1342928561,), (1342928726,), (1342928796,), (1342928856,), (1342928922,), (1342928994,), (1342929349,), (1342929398,), (1342929439,), (1342929486,), (1342929576,), (1342929926,), (1342930007,), (1342930066,), (1342930115,), (1342930659,), (1342930704,), (1342930755,), (1342930860,), (1342930957,), (1342931397,), (1342931433,), (1342931460,), (1342931515,), (1342932100,), (1342932183,), (1342932278,), (1342933009,), (1342933064,), (1342933103,), (1342933833,)) 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 (1342932100) 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 21274351 , 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=21274348 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 (21274351) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21274348) result : ((1342927352,), (1342927605,), (1342928561,), (1342928726,), (1342928796,), (1342928856,), (1342928922,), (1342928994,), (1342929349,), (1342929398,), (1342929439,), (1342929486,), (1342929576,), (1342929926,), (1342930007,), (1342930066,), (1342930115,), (1342930659,), (1342930704,), (1342930755,), (1342930860,), (1342930957,), (1342931397,), (1342931433,), (1342931460,), (1342931515,), (1342932100,), (1342932183,), (1342932278,), (1342933009,), (1342933064,), (1342933103,), (1342933833,)) 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 (1342932100) 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 21274353 , 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=21274348 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 (21274353) result : ((1342932866,), (1342932867,), (1342934341,), (1342934342,), (1342948086,), (1342959848,), (1342959852,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21274348) result : ((1342927352,), (1342927605,), (1342928561,), (1342928726,), (1342928796,), (1342928856,), (1342928922,), (1342928994,), (1342929349,), (1342929398,), (1342929439,), (1342929486,), (1342929576,), (1342929926,), (1342930007,), (1342930066,), (1342930115,), (1342930659,), (1342930704,), (1342930755,), (1342930860,), (1342930957,), (1342931397,), (1342931433,), (1342931460,), (1342931515,), (1342932100,), (1342932183,), (1342932278,), (1342933009,), (1342933064,), (1342933103,), (1342933833,)) 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 (1342932100) 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 21274355 , 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=21274348 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 (21274355) result : ((1342931751,), (1342932831,), (1342932837,), (1342934021,), (1342934025,), (1342934317,), (1342934318,), (1342948038,), (1342948039,), (1342948040,), (1342948041,), (1342948042,), (1342959790,), (1342959795,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21274348) result : ((1342927352,), (1342927605,), (1342928561,), (1342928726,), (1342928796,), (1342928856,), (1342928922,), (1342928994,), (1342929349,), (1342929398,), (1342929439,), (1342929486,), (1342929576,), (1342929926,), (1342930007,), (1342930066,), (1342930115,), (1342930659,), (1342930704,), (1342930755,), (1342930860,), (1342930957,), (1342931397,), (1342931433,), (1342931460,), (1342931515,), (1342932100,), (1342932183,), (1342932278,), (1342933009,), (1342933064,), (1342933103,), (1342933833,)) 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 (1342932100) 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 21274357 , 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=21274348 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 (21274357) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21274348) result : ((1342927352,), (1342927605,), (1342928561,), (1342928726,), (1342928796,), (1342928856,), (1342928922,), (1342928994,), (1342929349,), (1342929398,), (1342929439,), (1342929486,), (1342929576,), (1342929926,), (1342930007,), (1342930066,), (1342930115,), (1342930659,), (1342930704,), (1342930755,), (1342930860,), (1342930957,), (1342931397,), (1342931433,), (1342931460,), (1342931515,), (1342932100,), (1342932183,), (1342932278,), (1342933009,), (1342933064,), (1342933103,), (1342933833,)) 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 (1342932100) 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 21274359 , 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=21274348 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 (21274359) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21274348) result : ((1342927352,), (1342927605,), (1342928561,), (1342928726,), (1342928796,), (1342928856,), (1342928922,), (1342928994,), (1342929349,), (1342929398,), (1342929439,), (1342929486,), (1342929576,), (1342929926,), (1342930007,), (1342930066,), (1342930115,), (1342930659,), (1342930704,), (1342930755,), (1342930860,), (1342930957,), (1342931397,), (1342931433,), (1342931460,), (1342931515,), (1342932100,), (1342932183,), (1342932278,), (1342933009,), (1342933064,), (1342933103,), (1342933833,)) 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 (1342932100) 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 21274361 , 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=21274348 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 (21274361) result : ((1342931604,), (1342931609,), (1342931610,), (1342931611,), (1342934249,), (1342934255,), (1342934257,), (1342934258,), (1342934259,), (1342934260,), (1342934261,), (1342935253,), (1342935254,), (1342947898,), (1342947900,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21274348) result : ((1342927352,), (1342927605,), (1342928561,), (1342928726,), (1342928796,), (1342928856,), (1342928922,), (1342928994,), (1342929349,), (1342929398,), (1342929439,), (1342929486,), (1342929576,), (1342929926,), (1342930007,), (1342930066,), (1342930115,), (1342930659,), (1342930704,), (1342930755,), (1342930860,), (1342930957,), (1342931397,), (1342931433,), (1342931460,), (1342931515,), (1342932100,), (1342932183,), (1342932278,), (1342933009,), (1342933064,), (1342933103,), (1342933833,)) 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 (1342932100) 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 21274363 , 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=21274348 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 (21274363) result : ((1342931673,), (1342931674,), (1342931678,), (1342931679,), (1342931681,), (1342931682,), (1342931683,), (1342931685,), (1342932773,), (1342932778,), (1342932780,), (1342932782,), (1342933978,), (1342933982,), (1342934092,), (1342934276,), (1342934277,), (1342934280,), (1342934281,), (1342935257,), (1342947964,), (1342947965,), (1342947967,), (1342947968,), (1342947972,), (1342947974,), (1342959426,), (1342959553,), (1342959742,), (1342959745,), (1342959749,), (1342959752,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21274348) result : ((1342927352,), (1342927605,), (1342928561,), (1342928726,), (1342928796,), (1342928856,), (1342928922,), (1342928994,), (1342929349,), (1342929398,), (1342929439,), (1342929486,), (1342929576,), (1342929926,), (1342930007,), (1342930066,), (1342930115,), (1342930659,), (1342930704,), (1342930755,), (1342930860,), (1342930957,), (1342931397,), (1342931433,), (1342931460,), (1342931515,), (1342932100,), (1342932183,), (1342932278,), (1342933009,), (1342933064,), (1342933103,), (1342933833,)) 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 (1342932100) 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 21274365 , 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=21274348 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 (21274365) result : ((1342929143,), (1342929144,), (1342931717,), (1342931720,), (1342932813,), (1342934105,), (1342934113,), (1342934291,), (1342935263,), (1342947996,), (1342948001,), (1342959565,), (1342959566,), (1342959769,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21274348) result : ((1342927352,), (1342927605,), (1342928561,), (1342928726,), (1342928796,), (1342928856,), (1342928922,), (1342928994,), (1342929349,), (1342929398,), (1342929439,), (1342929486,), (1342929576,), (1342929926,), (1342930007,), (1342930066,), (1342930115,), (1342930659,), (1342930704,), (1342930755,), (1342930860,), (1342930957,), (1342931397,), (1342931433,), (1342931460,), (1342931515,), (1342932100,), (1342932183,), (1342932278,), (1342933009,), (1342933064,), (1342933103,), (1342933833,)) 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 (1342932100) 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 21274367 , 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=21274348 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 (21274367) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21274348) result : ((1342927352,), (1342927605,), (1342928561,), (1342928726,), (1342928796,), (1342928856,), (1342928922,), (1342928994,), (1342929349,), (1342929398,), (1342929439,), (1342929486,), (1342929576,), (1342929926,), (1342930007,), (1342930066,), (1342930115,), (1342930659,), (1342930704,), (1342930755,), (1342930860,), (1342930957,), (1342931397,), (1342931433,), (1342931460,), (1342931515,), (1342932100,), (1342932183,), (1342932278,), (1342933009,), (1342933064,), (1342933103,), (1342933833,)) 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 (1342932100) 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 21274370 , 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=21274348 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 (21274370) result : ((1342931766,), (1342932847,), (1342934038,), (1342934332,), (1342934337,), (1342934339,), (1342935276,), (1342948068,), (1342959580,), (1342959818,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21274348) result : ((1342927352,), (1342927605,), (1342928561,), (1342928726,), (1342928796,), (1342928856,), (1342928922,), (1342928994,), (1342929349,), (1342929398,), (1342929439,), (1342929486,), (1342929576,), (1342929926,), (1342930007,), (1342930066,), (1342930115,), (1342930659,), (1342930704,), (1342930755,), (1342930860,), (1342930957,), (1342931397,), (1342931433,), (1342931460,), (1342931515,), (1342932100,), (1342932183,), (1342932278,), (1342933009,), (1342933064,), (1342933103,), (1342933833,)) 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 (1342932100) 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`=21274348 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','autre_refus','cartonnette','mal_croppe','flou','papier','environnement','metal','plastique','Teint_Dans_La_Masse','kraft','Carton_brun')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21274348 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','autre_refus','cartonnette','mal_croppe','flou','papier','environnement','metal','plastique','Teint_Dans_La_Masse','kraft','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 21274348, 'sub_port_id': 21274379, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860989, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 35)}, 'plastique': {'main_port_id': 21274348, 'sub_port_id': 21274380, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860990, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 35)}, 'papier': {'main_port_id': 21274348, 'sub_port_id': 21274381, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860991, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 35)}, 'kraft': {'main_port_id': 21274348, 'sub_port_id': 21274382, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860992, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 35)}, 'cartonnette': {'main_port_id': 21274348, 'sub_port_id': 21274384, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860993, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 35)}, 'flou': {'main_port_id': 21274348, 'sub_port_id': 21274385, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860994, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 35)}, 'environnement': {'main_port_id': 21274348, 'sub_port_id': 21274386, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860995, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 35)}, 'Teint_Dans_La_Masse': {'main_port_id': 21274348, 'sub_port_id': 21274387, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860996, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 35)}, 'autre_refus': {'main_port_id': 21274348, 'sub_port_id': 21274388, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860997, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 35)}, 'Carton_gris': {'main_port_id': 21274348, 'sub_port_id': 21274389, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860998, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 35)}, 'metal': {'main_port_id': 21274348, 'sub_port_id': 21274390, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13860999, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 41, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 35)}, 'Carton_brun': {'main_port_id': 21274348, 'sub_port_id': 21274392, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13861000, 'last_updated_at': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 10, 47, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 10, 41, 35)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21274379,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21274349 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21274380,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21274350 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21274381,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21274351 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21274382,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21274353 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21274384,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21274355 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21274385,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21274357 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21274386,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21274359 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21274387,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21274361 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21274388,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21274363 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21274389,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21274365 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21274390,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21274367 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21274392,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21274370 lien utilise dans velours : https://www.fotonower.com/velours/21274379,21274380,21274381,21274382,21274384,21274385,21274386,21274387,21274388,21274389,21274390,21274392?tags=mal_croppe,plastique,papier,kraft,cartonnette,flou,environnement,Teint_Dans_La_Masse,autre_refus,Carton_gris,metal,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21274348]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1342933833, 1342933103, 1342933064, 1342933009, 1342932278, 1342932183, 1342932100, 1342931515, 1342931460, 1342931433, 1342931397, 1342930957, 1342930860, 1342930755, 1342930704, 1342930659, 1342930115, 1342930066, 1342930007, 1342929926, 1342929576, 1342929486, 1342929439, 1342929398, 1342929349, 1342928994, 1342928922, 1342928856, 1342928796, 1342928726, 1342928561, 1342927605, 1342927352] map_info['map_portfolio_photo'] : {21274348: [1342933833, 1342933103, 1342933064, 1342933009, 1342932278, 1342932183, 1342932100, 1342931515, 1342931460, 1342931433, 1342931397, 1342930957, 1342930860, 1342930755, 1342930704, 1342930659, 1342930115, 1342930066, 1342930007, 1342929926, 1342929576, 1342929486, 1342929439, 1342929398, 1342929349, 1342928994, 1342928922, 1342928856, 1342928796, 1342928726, 1342928561, 1342927605, 1342927352]} final : False mtd_id 4302 list_pids : [1342933833, 1342933103, 1342933064, 1342933009, 1342932278, 1342932183, 1342932100, 1342931515, 1342931460, 1342931433, 1342931397, 1342930957, 1342930860, 1342930755, 1342930704, 1342930659, 1342930115, 1342930066, 1342930007, 1342929926, 1342929576, 1342929486, 1342929439, 1342929398, 1342929349, 1342928994, 1342928922, 1342928856, 1342928796, 1342928726, 1342928561, 1342927605, 1342927352] Looping around the photos to save general results len do output : 1 /21274348. 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, '2660968') ('4302', '21274348', '1342933833', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342933103', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342933064', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342933009', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342932278', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342932183', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342932100', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931515', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931460', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931433', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931397', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930957', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930860', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930755', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930704', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930659', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930115', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930066', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930007', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929926', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929576', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929486', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929439', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929398', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929349', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928994', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928922', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928856', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928796', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928726', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928561', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342927605', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342927352', None, None, None, None, None, '2660968') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21274348', "{'mal_croppe': 21274349, 'plastique': 21274350, 'papier': 21274351, 'kraft': 21274353, 'cartonnette': 21274355, 'flou': 21274357, 'environnement': 21274359, 'Teint_Dans_La_Masse': 21274361, 'autre_refus': 21274363, 'Carton_gris': 21274365, 'metal': 21274367, 'Carton_brun': 21274370}", None, None, None, None, '2660968'), ('4302', '21274348', '1342933833', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342933103', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342933064', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342933009', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342932278', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342932183', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342932100', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342931515', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342931460', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342931433', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342931397', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930957', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930860', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930755', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930704', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930659', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930115', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930066', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930007', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929926', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929576', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929486', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929439', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929398', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929349', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928994', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928922', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928856', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928796', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928726', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928561', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342927605', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342927352', None, None, None, None, None, '2660968')] time used for this insertion : 0.023670673370361328 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.501896619796753 time spend to save output : 0.024218320846557617 total time spend for step 1 : 3.5261149406433105 step2:final Wed Mar 12 05:52:32 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 (21274348) 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 21274348 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1342927352,1342927605,1342928994,1342928922,1342928856,1342928561,1342928796,1342928726,1342929576,1342929486,1342929439,1342929398,1342929349,1342930115,1342930066,1342930007,1342929926,1342930957,1342930860,1342930755,1342930704,1342930659,1342931515,1342931460,1342931433,1342931397,1342932278,1342932183,1342932100,1342933103,1342933064,1342933009,1342933833); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21274348]) Inside saveOutput : final : False verbose : True original output for save of step final : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} new output for save of step final : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} [1342933833, 1342933103, 1342933064, 1342933009, 1342932278, 1342932183, 1342932100, 1342931515, 1342931460, 1342931433, 1342931397, 1342930957, 1342930860, 1342930755, 1342930704, 1342930659, 1342930115, 1342930066, 1342930007, 1342929926, 1342929576, 1342929486, 1342929439, 1342929398, 1342929349, 1342928994, 1342928922, 1342928856, 1342928796, 1342928726, 1342928561, 1342927605, 1342927352] map_info['map_portfolio_photo'] : {21274348: [1342933833, 1342933103, 1342933064, 1342933009, 1342932278, 1342932183, 1342932100, 1342931515, 1342931460, 1342931433, 1342931397, 1342930957, 1342930860, 1342930755, 1342930704, 1342930659, 1342930115, 1342930066, 1342930007, 1342929926, 1342929576, 1342929486, 1342929439, 1342929398, 1342929349, 1342928994, 1342928922, 1342928856, 1342928796, 1342928726, 1342928561, 1342927605, 1342927352]} final : False mtd_id 4302 list_pids : [1342933833, 1342933103, 1342933064, 1342933009, 1342932278, 1342932183, 1342932100, 1342931515, 1342931460, 1342931433, 1342931397, 1342930957, 1342930860, 1342930755, 1342930704, 1342930659, 1342930115, 1342930066, 1342930007, 1342929926, 1342929576, 1342929486, 1342929439, 1342929398, 1342929349, 1342928994, 1342928922, 1342928856, 1342928796, 1342928726, 1342928561, 1342927605, 1342927352] Looping around the photos to save general results len do output : 33 /1342933833.Didn't retrieve data . /1342933103.Didn't retrieve data . /1342933064.Didn't retrieve data . /1342933009.Didn't retrieve data . /1342932278.Didn't retrieve data . /1342932183.Didn't retrieve data . /1342932100.Didn't retrieve data . /1342931515.Didn't retrieve data . /1342931460.Didn't retrieve data . /1342931433.Didn't retrieve data . /1342931397.Didn't retrieve data . /1342930957.Didn't retrieve data . /1342930860.Didn't retrieve data . /1342930755.Didn't retrieve data . /1342930704.Didn't retrieve data . /1342930659.Didn't retrieve data . /1342930115.Didn't retrieve data . /1342930066.Didn't retrieve data . /1342930007.Didn't retrieve data . /1342929926.Didn't retrieve data . /1342929576.Didn't retrieve data . /1342929486.Didn't retrieve data . /1342929439.Didn't retrieve data . /1342929398.Didn't retrieve data . /1342929349.Didn't retrieve data . /1342928994.Didn't retrieve data . /1342928922.Didn't retrieve data . /1342928856.Didn't retrieve data . /1342928796.Didn't retrieve data . /1342928726.Didn't retrieve data . /1342928561.Didn't retrieve data . /1342927605.Didn't retrieve data . /1342927352.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, '2660968') ('4302', '21274348', '1342933833', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342933103', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342933064', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342933009', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342932278', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342932183', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342932100', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931515', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931460', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931433', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931397', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930957', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930860', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930755', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930704', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930659', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930115', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930066', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930007', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929926', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929576', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929486', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929439', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929398', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929349', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928994', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928922', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928856', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928796', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928726', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928561', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342927605', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342927352', None, None, None, None, None, '2660968') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 99 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21274348', '1342933833', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342933103', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342933064', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342933009', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342932278', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342932183', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342932100', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342931515', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342931460', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342931433', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342931397', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342930957', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342930860', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342930755', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342930704', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342930659', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342930115', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342930066', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342930007', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342929926', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342929576', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342929486', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342929439', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342929398', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342929349', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342928994', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342928922', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342928856', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342928796', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342928726', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342928561', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342927605', '0.09243485031577982', None, None, None, None, '2660968'), ('4302', '21274348', '1342927352', '0.09243485031577982', None, None, None, None, '2660968')] time used for this insertion : 0.019611597061157227 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12584686279296875 time spend to save output : 0.02109384536743164 total time spend for step 2 : 0.1469407081604004 step3:velours_tree Wed Mar 12 05:52:32 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 : {21274348: [{'mal_croppe': 21274349, 'plastique': 21274350, 'papier': 21274351, 'kraft': 21274353, 'cartonnette': 21274355, 'flou': 21274357, 'environnement': 21274359, 'Teint_Dans_La_Masse': 21274361, 'autre_refus': 21274363, 'Carton_gris': 21274365, 'metal': 21274367, 'Carton_brun': 21274370}]} input_args_next_step : {21274348: ()} output_args : {21274348: [{'mal_croppe': 21274349, 'plastique': 21274350, 'papier': 21274351, 'kraft': 21274353, 'cartonnette': 21274355, 'flou': 21274357, 'environnement': 21274359, 'Teint_Dans_La_Masse': 21274361, 'autre_refus': 21274363, 'Carton_gris': 21274365, 'metal': 21274367, 'Carton_brun': 21274370}]} args : 21274348 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 : ({'mal_croppe': 21274349, 'plastique': 21274350, 'papier': 21274351, 'kraft': 21274353, 'cartonnette': 21274355, 'flou': 21274357, 'environnement': 21274359, 'Teint_Dans_La_Masse': 21274361, 'autre_refus': 21274363, 'Carton_gris': 21274365, 'metal': 21274367, 'Carton_brun': 21274370},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21274348) 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([21274348]) 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.36639857292175293 time spend to save output : 4.291534423828125e-05 total time spend for step 3 : 0.3664414882659912 step4:send_mail_cod Wed Mar 12 05:52:32 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 : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} input_args_next_step : {1342933833: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342933833 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342933103 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342933064 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342933009 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342932278 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342932183 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342932100 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342931515 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342931460 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342931433 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342931397 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342930957 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342930860 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342930755 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342930704 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342930659 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342930115 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342930066 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342930007 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342929926 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342929576 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342929486 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342929439 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342929398 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342929349 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342928994 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342928922 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342928856 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342928796 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342928726 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342928561 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342927605 depend.output_id : 0 input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ()} output_args : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',)} args : 1342927352 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 : {21274348: [{'mal_croppe': 21274349, 'plastique': 21274350, 'papier': 21274351, 'kraft': 21274353, 'cartonnette': 21274355, 'flou': 21274357, 'environnement': 21274359, 'Teint_Dans_La_Masse': 21274361, 'autre_refus': 21274363, 'Carton_gris': 21274365, 'metal': 21274367, 'Carton_brun': 21274370}]} input_args_next_step : {1342933833: ('0.09243485031577982',), 1342933103: ('0.09243485031577982',), 1342933064: ('0.09243485031577982',), 1342933009: ('0.09243485031577982',), 1342932278: ('0.09243485031577982',), 1342932183: ('0.09243485031577982',), 1342932100: ('0.09243485031577982',), 1342931515: ('0.09243485031577982',), 1342931460: ('0.09243485031577982',), 1342931433: ('0.09243485031577982',), 1342931397: ('0.09243485031577982',), 1342930957: ('0.09243485031577982',), 1342930860: ('0.09243485031577982',), 1342930755: ('0.09243485031577982',), 1342930704: ('0.09243485031577982',), 1342930659: ('0.09243485031577982',), 1342930115: ('0.09243485031577982',), 1342930066: ('0.09243485031577982',), 1342930007: ('0.09243485031577982',), 1342929926: ('0.09243485031577982',), 1342929576: ('0.09243485031577982',), 1342929486: ('0.09243485031577982',), 1342929439: ('0.09243485031577982',), 1342929398: ('0.09243485031577982',), 1342929349: ('0.09243485031577982',), 1342928994: ('0.09243485031577982',), 1342928922: ('0.09243485031577982',), 1342928856: ('0.09243485031577982',), 1342928796: ('0.09243485031577982',), 1342928726: ('0.09243485031577982',), 1342928561: ('0.09243485031577982',), 1342927605: ('0.09243485031577982',), 1342927352: ('0.09243485031577982',), 21274348: ()} output_args : {21274348: [{'mal_croppe': 21274349, 'plastique': 21274350, 'papier': 21274351, 'kraft': 21274353, 'cartonnette': 21274355, 'flou': 21274357, 'environnement': 21274359, 'Teint_Dans_La_Masse': 21274361, 'autre_refus': 21274363, 'Carton_gris': 21274365, 'metal': 21274367, 'Carton_brun': 21274370}]} args : 21274348 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :34, first value : ('0.09243485031577982',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21274348) 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 (1342933833,1342933103,1342933064,1342933009,1342932278,1342932183,1342932100,1342931515,1342931460,1342931433,1342931397,1342930957,1342930860,1342930755,1342930704,1342930659,1342930115,1342930066,1342930007,1342929926,1342929576,1342929486,1342929439,1342929398,1342929349,1342928994,1342928922,1342928856,1342928796,1342928726,1342928561,1342927605,1342927352) Found this number of photos: 33 ##### Call download_photos : nb_thread : 5 begin to download photo : 1342927352 begin to download photo : 1342928994 begin to download photo : 1342930007 begin to download photo : 1342930957 begin to download photo : 1342932278 download finish for photo 1342927352 begin to download photo : 1342927605 download finish for photo 1342930007 begin to download photo : 1342930066 download finish for photo 1342932278 begin to download photo : 1342933009 download finish for photo 1342928994 begin to download photo : 1342929349 download finish for photo 1342930957 begin to download photo : 1342931397 download finish for photo 1342927605 begin to download photo : 1342928561 download finish for photo 1342929349 begin to download photo : 1342929398 download finish for photo 1342930066 begin to download photo : 1342930115 download finish for photo 1342928561 begin to download photo : 1342928726 download finish for photo 1342931397 begin to download photo : 1342931433 download finish for photo 1342930115 begin to download photo : 1342930659 download finish for photo 1342929398 begin to download photo : 1342929439 download finish for photo 1342933009 begin to download photo : 1342933064 download finish for photo 1342928726 begin to download photo : 1342928796 download finish for photo 1342931433 begin to download photo : 1342931460 download finish for photo 1342930659 begin to download photo : 1342930704 download finish for photo 1342929439 begin to download photo : 1342929486 download finish for photo 1342928796 begin to download photo : 1342928856 download finish for photo 1342931460 begin to download photo : 1342931515 download finish for photo 1342933064 begin to download photo : 1342933103 download finish for photo 1342930704 begin to download photo : 1342930755 download finish for photo 1342929486 begin to download photo : 1342929576 download finish for photo 1342933103 begin to download photo : 1342933833 download finish for photo 1342931515 begin to download photo : 1342932100 download finish for photo 1342930755 begin to download photo : 1342930860 download finish for photo 1342928856 begin to download photo : 1342928922 download finish for photo 1342929576 begin to download photo : 1342929926 download finish for photo 1342933833 download finish for photo 1342932100 begin to download photo : 1342932183 download finish for photo 1342930860 download finish for photo 1342929926 download finish for photo 1342932183 download finish for photo 1342928922 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette212743491741755154/ imagette212743501741755154/ length of list_filenames : 33 ; length of list_pids : 33 ; length of list_args : 33 results_Auto_P21274348_12-03-2025_05_52_34.pdf 21274349 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=21274349 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212743491741755154 21274350 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=21274350 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212743501741755154 21274353 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=21274353 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342932866: '1741686251_896582_1342930704_3e33583b782234673b9edccc032f0ae0_rle_crop_3704870017_0.png', 1342932867: '1741686251_896582_1342930659_247245d3d2e77167fcc81ebdcbc254ba_rle_crop_3704870052_0.png', 1342934341: '1741686373_897994_1342932278_a2e012055e3bbcfb91c683d9ceec3543_rle_crop_3704874615_0.png', 1342934342: '1741686373_897994_1342931433_7e557c9f39bd865239121808df5f1e83_rle_crop_3704875094_0.png', 1342948086: '1741688132_924858_1342930115_ade0cce71d352e65be23e8ad71145a80_rle_crop_3704956037_0.png', 1342959848: '1741689626_1494088_1342930704_3e33583b782234673b9edccc032f0ae0_bib_crop_3704870017_0.jpg', 1342959852: '1741689626_1494088_1342930659_247245d3d2e77167fcc81ebdcbc254ba_bib_crop_3704870052_0.jpg'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/064448f12cf0b3e613ba752a4e8af410_19743398.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/23704cd7f22162a7181140d3f760b3c4_70247158.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/c8dfef7570a822286ccfb3c777d388fd_57474896.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/3bd9862feb67a88c0219b05a65127b83_95539881.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/2f4f2c51bdc7e9cc199816f54d401cfd_18486471.png change filename to text .wget -O 6.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/cf59b06b7987df981ceb761a53ad0779_10672003.jpg change filename to text .imagette212743531741755154/ imagette212743531741755154/1741688132_924858_1342930115_ade0cce71d352e65be23e8ad71145a80_rle_crop_3704956037_0.png.png imagette212743531741755154/1741686251_896582_1342930704_3e33583b782234673b9edccc032f0ae0_rle_crop_3704870017_0.png.png imagette212743531741755154/1741689626_1494088_1342930704_3e33583b782234673b9edccc032f0ae0_bib_crop_3704870017_0.jpg.jpg imagette212743531741755154/1741686373_897994_1342931433_7e557c9f39bd865239121808df5f1e83_rle_crop_3704875094_0.png.png imagette212743531741755154/1741689626_1494088_1342930659_247245d3d2e77167fcc81ebdcbc254ba_bib_crop_3704870052_0.jpg.jpg imagette212743531741755154/1741686373_897994_1342932278_a2e012055e3bbcfb91c683d9ceec3543_rle_crop_3704874615_0.png.png imagette212743531741755154/1741686251_896582_1342930659_247245d3d2e77167fcc81ebdcbc254ba_rle_crop_3704870052_0.png.png wget -O 7.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/8c6cf2f5b06b145e22dc85140359aa63_68928789.jpg imagette212743531741755154 21274355 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=21274355 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342931751: '1741686133_895375_1342928796_319011d2a755f5b43fa3459986bf86a4_rle_crop_3704867505_0.png', 1342932831: '1741686251_896582_1342930704_3e33583b782234673b9edccc032f0ae0_rle_crop_3704870013_0.png', 1342932837: '1741686251_896582_1342930659_247245d3d2e77167fcc81ebdcbc254ba_rle_crop_3704870054_0.png', 1342934021: '1741686265_1440967_1342930066_3d32b194720e7e59083c0fae5a4ceb4b_rle_crop_3704874122_0.png', 1342934025: '1741686265_1440967_1342930066_3d32b194720e7e59083c0fae5a4ceb4b_rle_crop_3704874118_0.png', 1342934317: '1741686373_897994_1342931433_7e557c9f39bd865239121808df5f1e83_rle_crop_3704875106_0.png', 1342934318: '1741686373_897994_1342931397_d3ad708ef273ef313a08e01ca119d28e_rle_crop_3704875239_0.png', 1342948038: '1741688132_924858_1342929486_2d9924766a2caf6624267b9c4600beef_rle_crop_3704956142_0.png', 1342948039: '1741688132_924858_1342929486_2d9924766a2caf6624267b9c4600beef_rle_crop_3704956143_0.png', 1342948040: '1741688132_924858_1342929439_e471ffb5f40f4d20e9d7cbde11c57082_rle_crop_3704956239_0.png', 1342948041: '1741688132_924858_1342929439_e471ffb5f40f4d20e9d7cbde11c57082_rle_crop_3704956237_0.png', 1342948042: '1741688132_924858_1342929398_3c2a96d8cdd11db618e985de77d7dda9_rle_crop_3704956438_0.png', 1342959790: '1741689626_1494088_1342930704_3e33583b782234673b9edccc032f0ae0_bib_crop_3704870013_0.jpg', 1342959795: '1741689626_1494088_1342930659_247245d3d2e77167fcc81ebdcbc254ba_bib_crop_3704870054_0.jpg'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ebab0b6a1e7f2f1a4a0c56593b05ebf0_7463978.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ef458b49ea447f5511847725b88f7fc6_51723272.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b860a5a0416c5ca85f89325c8295a8d0_59256792.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/68179fcef59388724ea899882e5c83c1_48325176.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/eafa976db575b33cbd13a7db3d5c5cba_90057482.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/23ff3a8afac2fe479cb20797a07f03e9_70071780.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/348bce9f31f16a8982b27cf10c5aada6_43715370.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/32e569e1c66711f6f6c5e780266c720b_37404322.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/56ad4605236dc42a2dcd4fcbd431c4cc_23830054.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/57595e60959e3fc90937cb4329c1f5a5_95036469.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/eb2914efe4a6ca58f97454c9c8225e32_27117387.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/4090596f924f60f1edf3713257cb79fc_87854307.png change filename to text .wget -O 13.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/7f2aae4cbc4ce340b691e315c9fc14b1_15555581.jpg change filename to text .imagette212743551741755155/ imagette212743551741755155/1741686265_1440967_1342930066_3d32b194720e7e59083c0fae5a4ceb4b_rle_crop_3704874122_0.png.png imagette212743551741755155/1741686251_896582_1342930659_247245d3d2e77167fcc81ebdcbc254ba_rle_crop_3704870054_0.png.png imagette212743551741755155/1741686373_897994_1342931397_d3ad708ef273ef313a08e01ca119d28e_rle_crop_3704875239_0.png.png imagette212743551741755155/1741686251_896582_1342930704_3e33583b782234673b9edccc032f0ae0_rle_crop_3704870013_0.png.png imagette212743551741755155/1741688132_924858_1342929486_2d9924766a2caf6624267b9c4600beef_rle_crop_3704956143_0.png.png imagette212743551741755155/1741688132_924858_1342929398_3c2a96d8cdd11db618e985de77d7dda9_rle_crop_3704956438_0.png.png imagette212743551741755155/1741686265_1440967_1342930066_3d32b194720e7e59083c0fae5a4ceb4b_rle_crop_3704874118_0.png.png imagette212743551741755155/1741689626_1494088_1342930659_247245d3d2e77167fcc81ebdcbc254ba_bib_crop_3704870054_0.jpg.jpg imagette212743551741755155/1741686133_895375_1342928796_319011d2a755f5b43fa3459986bf86a4_rle_crop_3704867505_0.png.png imagette212743551741755155/1741688132_924858_1342929439_e471ffb5f40f4d20e9d7cbde11c57082_rle_crop_3704956239_0.png.png imagette212743551741755155/1741688132_924858_1342929439_e471ffb5f40f4d20e9d7cbde11c57082_rle_crop_3704956237_0.png.png imagette212743551741755155/1741686373_897994_1342931433_7e557c9f39bd865239121808df5f1e83_rle_crop_3704875106_0.png.png imagette212743551741755155/1741688132_924858_1342929486_2d9924766a2caf6624267b9c4600beef_rle_crop_3704956142_0.png.png imagette212743551741755155/1741689626_1494088_1342930704_3e33583b782234673b9edccc032f0ae0_bib_crop_3704870013_0.jpg.jpg imagette212743571741755156/ wget -O 14.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/821549c382f64b869b76c66b6111f6e6_2815186.jpg imagette212743551741755155 21274357 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=21274357 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212743571741755156 21274363 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=21274363 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342934277: '1741686373_897994_1342931460_6b0f31b8589c2e7b00e16e15bee91a28_rle_crop_3704875030_0.png', 1342959752: '1741689626_1494088_1342930659_247245d3d2e77167fcc81ebdcbc254ba_bib_crop_3704870056_0.jpg', 1342959749: '1741689626_1494088_1342930704_3e33583b782234673b9edccc032f0ae0_bib_crop_3704870014_0.jpg', 1342959745: '1741689626_1494088_1342930755_016597e0a073afdab301676502c16de6_bib_crop_3705033124_0.jpg', 1342959742: '1741689626_1494088_1342930860_8208e48b0e5cd863e77cdb14ca363f49_bib_crop_3704869950_0.jpg', 1342959553: '1741689614_956692_1342932183_117ea1db64cf472a4a124f1e1cee2982_rle_crop_3704874838_0.png', 1342959426: '1741689552_956034_1342930755_016597e0a073afdab301676502c16de6_bib_crop_3704869982_0.jpg', 1342947974: '1741688132_924858_1342929349_fbac23e881976708ab8c18d879bcba5a_rle_crop_3704956561_0.png', 1342947972: '1741688132_924858_1342929398_3c2a96d8cdd11db618e985de77d7dda9_rle_crop_3704956443_0.png', 1342947968: '1741688132_924858_1342929439_e471ffb5f40f4d20e9d7cbde11c57082_rle_crop_3704956242_0.png', 1342947967: '1741688132_924858_1342929486_2d9924766a2caf6624267b9c4600beef_rle_crop_3704956144_0.png', 1342947965: '1741688132_924858_1342930115_ade0cce71d352e65be23e8ad71145a80_rle_crop_3704956041_0.png', 1342947964: '1741688132_924858_1342930115_ade0cce71d352e65be23e8ad71145a80_rle_crop_3704956040_0.png', 1342935257: '1741686514_900286_1342933009_fba559045dac36bb71bcdf2878f06627_rle_crop_3704884405_0.png', 1342934281: '1741686373_897994_1342931397_d3ad708ef273ef313a08e01ca119d28e_rle_crop_3704875245_0.png', 1342934280: '1741686373_897994_1342931433_7e557c9f39bd865239121808df5f1e83_rle_crop_3704875112_0.png', 1342931673: '1741686133_895375_1342929576_b606cb67e92e48a29f9dce89ef25e0e6_rle_crop_3704867438_0.png', 1342934276: '1741686373_897994_1342932278_a2e012055e3bbcfb91c683d9ceec3543_rle_crop_3704874619_0.png', 1342934092: '1741686386_1442520_1342932183_117ea1db64cf472a4a124f1e1cee2982_rle_crop_3704874838_0.png', 1342933982: '1741686265_1440967_1342930066_3d32b194720e7e59083c0fae5a4ceb4b_rle_crop_3704874123_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/237d0156d44677bb79bdd85066005908_48690552.png change filename to text .wget -O 2.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/2b9d631a3225d880d588f857a6161945_32795295.jpg change filename to text .wget -O 3.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/a10357d39c30f542226c5aaf153fc36a_65855946.jpg change filename to text .wget -O 4.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/1a8821f67ea7bd048973ee04e0b8a794_59835270.jpg change filename to text .wget -O 5.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/adfbba0e801fd457ec9f6ea139f46b5f_28685045.jpg change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f49176b94548b204c806fdaa67380be1_93802255.png change filename to text .wget -O 7.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/a3c1bc5a06e74fc95f037519708162d2_16593915.jpg change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/154a466a811951adb0bff151715de6c4_8973305.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/c3a1b4e77b8d7a6d36b203f2a427ab25_5275284.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/9fa2c044c23d586d221794060fd710ce_63799497.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/c3c107eb554977ca0120d4acdeab9787_81929712.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/26ebe0eac51bb98b3c4fcb08fb0f9e47_64273002.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e0e8b52fc921312ee151ec6b0d109f69_3580797.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/d8fe9f8de0a55271d1aa4cf6586f7da7_69198594.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/84f79889310ea776efb6553caa9ab3b8_71370580.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/eb864e2652f877241c5a4035fcd14452_82322422.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e8a93cd14921a0b7d8a4af51098bae21_93208489.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/07feef3e7f6f8f250756d7db02e80064_81268571.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ab7e756251b6670acbaf2ebbad1043d4_29302740.png change filename to text .imagette212743631741755156/ imagette212743631741755156/1741686514_900286_1342933009_fba559045dac36bb71bcdf2878f06627_rle_crop_3704884405_0.png.png imagette212743631741755156/1741688132_924858_1342929349_fbac23e881976708ab8c18d879bcba5a_rle_crop_3704956561_0.png.png imagette212743631741755156/1741689626_1494088_1342930860_8208e48b0e5cd863e77cdb14ca363f49_bib_crop_3704869950_0.jpg.jpg imagette212743631741755156/1741688132_924858_1342930115_ade0cce71d352e65be23e8ad71145a80_rle_crop_3704956041_0.png.png imagette212743631741755156/1741689626_1494088_1342930704_3e33583b782234673b9edccc032f0ae0_bib_crop_3704870014_0.jpg.jpg imagette212743631741755156/1741688132_924858_1342929486_2d9924766a2caf6624267b9c4600beef_rle_crop_3704956144_0.png.png imagette212743631741755156/1741686373_897994_1342932278_a2e012055e3bbcfb91c683d9ceec3543_rle_crop_3704874619_0.png.png imagette212743631741755156/1741686133_895375_1342929576_b606cb67e92e48a29f9dce89ef25e0e6_rle_crop_3704867438_0.png.png imagette212743631741755156/1741689626_1494088_1342930659_247245d3d2e77167fcc81ebdcbc254ba_bib_crop_3704870056_0.jpg.jpg imagette212743631741755156/1741689626_1494088_1342930755_016597e0a073afdab301676502c16de6_bib_crop_3705033124_0.jpg.jpg imagette212743631741755156/1741686265_1440967_1342930066_3d32b194720e7e59083c0fae5a4ceb4b_rle_crop_3704874123_0.png.png imagette212743631741755156/1741689614_956692_1342932183_117ea1db64cf472a4a124f1e1cee2982_rle_crop_3704874838_0.png.png imagette212743631741755156/1741686373_897994_1342931397_d3ad708ef273ef313a08e01ca119d28e_rle_crop_3704875245_0.png.png imagette212743631741755156/1741686373_897994_1342931460_6b0f31b8589c2e7b00e16e15bee91a28_rle_crop_3704875030_0.png.png imagette212743631741755156/1741686373_897994_1342931433_7e557c9f39bd865239121808df5f1e83_rle_crop_3704875112_0.png.png imagette212743631741755156/1741686386_1442520_1342932183_117ea1db64cf472a4a124f1e1cee2982_rle_crop_3704874838_0.png.png imagette212743631741755156/1741688132_924858_1342930115_ade0cce71d352e65be23e8ad71145a80_rle_crop_3704956040_0.png.png imagette212743631741755156/1741688132_924858_1342929439_e471ffb5f40f4d20e9d7cbde11c57082_rle_crop_3704956242_0.png.png imagette212743631741755156/1741689552_956034_1342930755_016597e0a073afdab301676502c16de6_bib_crop_3704869982_0.jpg.jpg imagette212743631741755156/1741688132_924858_1342929398_3c2a96d8cdd11db618e985de77d7dda9_rle_crop_3704956443_0.png.png imagette212743671741755158/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/2a1bc1a20917ee3855dfb8f9bed61c33_58458812.png imagette212743631741755156 21274367 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=21274367 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212743671741755158 21274361 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=21274361 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342931604: '1741686133_895375_1342929576_b606cb67e92e48a29f9dce89ef25e0e6_rle_crop_3704867443_0.png', 1342931609: '1741686133_895375_1342928856_1c55fccd4dac9f59e1f19b5137a630db_rle_crop_3704867493_0.png', 1342931610: '1741686133_895375_1342928796_319011d2a755f5b43fa3459986bf86a4_rle_crop_3704867504_0.png', 1342931611: '1741686133_895375_1342928561_087047d8f8f09b4938ff309dc2471eda_rle_crop_3704868115_0.png', 1342934249: '1741686373_897994_1342931460_6b0f31b8589c2e7b00e16e15bee91a28_rle_crop_3704875033_0.png', 1342934255: '1741686373_897994_1342931460_6b0f31b8589c2e7b00e16e15bee91a28_rle_crop_3704875028_0.png', 1342934257: '1741686373_897994_1342931460_6b0f31b8589c2e7b00e16e15bee91a28_rle_crop_3704875032_0.png', 1342934258: '1741686373_897994_1342931433_7e557c9f39bd865239121808df5f1e83_rle_crop_3704875109_0.png', 1342934259: '1741686373_897994_1342931433_7e557c9f39bd865239121808df5f1e83_rle_crop_3704875108_0.png', 1342934260: '1741686373_897994_1342931397_d3ad708ef273ef313a08e01ca119d28e_rle_crop_3704875243_0.png', 1342934261: '1741686373_897994_1342931397_d3ad708ef273ef313a08e01ca119d28e_rle_crop_3704875240_0.png', 1342935253: '1741686514_900286_1342933064_3ea616d650c4061b3f43f77dd7223c1c_rle_crop_3704883512_0.png', 1342935254: '1741686514_900286_1342933009_fba559045dac36bb71bcdf2878f06627_rle_crop_3704884403_0.png', 1342947898: '1741688132_924858_1342930115_ade0cce71d352e65be23e8ad71145a80_rle_crop_3704956044_0.png', 1342947900: '1741688132_924858_1342929349_fbac23e881976708ab8c18d879bcba5a_rle_crop_3704956562_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/bd71d53a409a59e577e4747c23a16984_829002.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/cd36231c04a96d24c13600b298cd544c_30431195.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/7c952ed9729ac0af85a14051a5c6d8bc_76509152.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/442728d122eb02dcef1f68c5f9308e42_81416266.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/50b8c65a2dbd6c09b4dfd4a082ab5c0f_13969485.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b7c2d486feb9bd11825f0bfd03d3fd61_68031599.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/398264ba04803a6acf0b971295075cc5_99721734.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/63f584ee1ba14e283eb614430bacd0a9_1422817.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/4c4847ba2506f4b4f154eb4191020f31_97527550.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/9c3d92f7f5f6769170d82d2844639e60_37338730.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/976a58f3d5d2baf320038421fc643f0a_33251564.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/a71c4bc8f0df833c4361b26f9901010f_38561078.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/29a7172cc49f407b1af73fc9de039df5_58181522.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/908ca7a3a72fa15985faaffade671cc4_6072316.png change filename to text .imagette212743611741755158/ imagette212743611741755158/1741686133_895375_1342928561_087047d8f8f09b4938ff309dc2471eda_rle_crop_3704868115_0.png.png imagette212743611741755158/1741686373_897994_1342931460_6b0f31b8589c2e7b00e16e15bee91a28_rle_crop_3704875028_0.png.png imagette212743611741755158/1741686373_897994_1342931397_d3ad708ef273ef313a08e01ca119d28e_rle_crop_3704875240_0.png.png imagette212743611741755158/1741686373_897994_1342931433_7e557c9f39bd865239121808df5f1e83_rle_crop_3704875108_0.png.png imagette212743611741755158/1741686373_897994_1342931397_d3ad708ef273ef313a08e01ca119d28e_rle_crop_3704875243_0.png.png imagette212743611741755158/1741686373_897994_1342931433_7e557c9f39bd865239121808df5f1e83_rle_crop_3704875109_0.png.png imagette212743611741755158/1741686133_895375_1342928796_319011d2a755f5b43fa3459986bf86a4_rle_crop_3704867504_0.png.png imagette212743611741755158/1741686373_897994_1342931460_6b0f31b8589c2e7b00e16e15bee91a28_rle_crop_3704875032_0.png.png imagette212743611741755158/1741688132_924858_1342930115_ade0cce71d352e65be23e8ad71145a80_rle_crop_3704956044_0.png.png imagette212743611741755158/1741686514_900286_1342933009_fba559045dac36bb71bcdf2878f06627_rle_crop_3704884403_0.png.png imagette212743611741755158/1741686514_900286_1342933064_3ea616d650c4061b3f43f77dd7223c1c_rle_crop_3704883512_0.png.png imagette212743611741755158/1741688132_924858_1342929349_fbac23e881976708ab8c18d879bcba5a_rle_crop_3704956562_0.png.png imagette212743611741755158/1741686373_897994_1342931460_6b0f31b8589c2e7b00e16e15bee91a28_rle_crop_3704875033_0.png.png imagette212743611741755158/1741686133_895375_1342929576_b606cb67e92e48a29f9dce89ef25e0e6_rle_crop_3704867443_0.png.png imagette212743611741755158/1741686133_895375_1342928856_1c55fccd4dac9f59e1f19b5137a630db_rle_crop_3704867493_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/0f6ab13d3dac57e29265ea09fee3ecc3_9055664.png imagette212743611741755158 21274365 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=21274365 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342929143: '1741685993_893836_1342927605_67afcee4b9ed54b438486190c8d2d732_rle_crop_3704859614_0.png', 1342929144: '1741685993_893836_1342927605_67afcee4b9ed54b438486190c8d2d732_rle_crop_3704859615_0.png', 1342931717: '1741686133_895375_1342928726_2e0d0a0582631ef3922429a54a54264b_rle_crop_3704868033_0.png', 1342931720: '1741686133_895375_1342928561_087047d8f8f09b4938ff309dc2471eda_rle_crop_3704868116_0.png', 1342932813: '1741686251_896582_1342930704_3e33583b782234673b9edccc032f0ae0_rle_crop_3704870006_0.png', 1342934105: '1741686386_1442520_1342932183_117ea1db64cf472a4a124f1e1cee2982_rle_crop_3704874830_0.png', 1342934113: '1741686386_1442520_1342932183_117ea1db64cf472a4a124f1e1cee2982_rle_crop_3704874836_0.png', 1342934291: '1741686373_897994_1342931460_6b0f31b8589c2e7b00e16e15bee91a28_rle_crop_3704875026_0.png', 1342935263: '1741686514_900286_1342933064_3ea616d650c4061b3f43f77dd7223c1c_rle_crop_3704883506_0.png', 1342947996: '1741688132_924858_1342929439_e471ffb5f40f4d20e9d7cbde11c57082_rle_crop_3704956235_0.png', 1342948001: '1741688132_924858_1342929398_3c2a96d8cdd11db618e985de77d7dda9_rle_crop_3704956442_0.png', 1342959565: '1741689614_956692_1342932183_117ea1db64cf472a4a124f1e1cee2982_rle_crop_3704874830_0.png', 1342959566: '1741689614_956692_1342932183_117ea1db64cf472a4a124f1e1cee2982_rle_crop_3704874836_0.png', 1342959769: '1741689626_1494088_1342930704_3e33583b782234673b9edccc032f0ae0_bib_crop_3704870006_0.jpg'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/5b384045e3eb8e4065929442484fc2d4_49052157.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ca4da7186b6cdf15cf3aa5addd1effa9_99950525.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/777fa57dabc3687f0da315207c9558b1_73245166.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/d7ed339eca8eea094613b692b5e8350f_96446143.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/8163d6ccf80b0b3f0bb8afaa2bf86399_61807958.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/688419823c0d3dcc65e618b24d7c9edd_4840241.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/acfec127b3efcdb59cbc5ec5cfcaa1cf_98041751.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/7a232ee387e7e4f6a3daf23f42f25abe_45377654.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/8de04dcd33bc81f66a60512d29a7e80c_25169272.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/75bf7ea072601b11cd5b04927c2ad470_20917412.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/c2f9946c44e0968f364b268046a58996_77320800.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/688419823c0d3dcc65e618b24d7c9edd_18116518.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/acfec127b3efcdb59cbc5ec5cfcaa1cf_3165553.png change filename to text .imagette212743651741755160/ imagette212743651741755160/1741685993_893836_1342927605_67afcee4b9ed54b438486190c8d2d732_rle_crop_3704859614_0.png.png imagette212743651741755160/1741689614_956692_1342932183_117ea1db64cf472a4a124f1e1cee2982_rle_crop_3704874830_0.png.png imagette212743651741755160/1741689626_1494088_1342930704_3e33583b782234673b9edccc032f0ae0_bib_crop_3704870006_0.jpg.jpg imagette212743651741755160/1741688132_924858_1342929439_e471ffb5f40f4d20e9d7cbde11c57082_rle_crop_3704956235_0.png.png imagette212743651741755160/1741689614_956692_1342932183_117ea1db64cf472a4a124f1e1cee2982_rle_crop_3704874836_0.png.png imagette212743651741755160/1741686133_895375_1342928561_087047d8f8f09b4938ff309dc2471eda_rle_crop_3704868116_0.png.png imagette212743651741755160/1741686373_897994_1342931460_6b0f31b8589c2e7b00e16e15bee91a28_rle_crop_3704875026_0.png.png imagette212743651741755160/1741686386_1442520_1342932183_117ea1db64cf472a4a124f1e1cee2982_rle_crop_3704874830_0.png.png imagette212743651741755160/1741686251_896582_1342930704_3e33583b782234673b9edccc032f0ae0_rle_crop_3704870006_0.png.png imagette212743651741755160/1741686386_1442520_1342932183_117ea1db64cf472a4a124f1e1cee2982_rle_crop_3704874836_0.png.png imagette212743651741755160/1741688132_924858_1342929398_3c2a96d8cdd11db618e985de77d7dda9_rle_crop_3704956442_0.png.png imagette212743651741755160/1741686133_895375_1342928726_2e0d0a0582631ef3922429a54a54264b_rle_crop_3704868033_0.png.png imagette212743651741755160/1741685993_893836_1342927605_67afcee4b9ed54b438486190c8d2d732_rle_crop_3704859615_0.png.png imagette212743651741755160/1741686514_900286_1342933064_3ea616d650c4061b3f43f77dd7223c1c_rle_crop_3704883506_0.png.png wget -O 14.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/86f79a44b19e622731b9eaa8df64ee4b_39626289.jpg imagette212743651741755160 21274370 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=21274370 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342931766: '1741686133_895375_1342928726_2e0d0a0582631ef3922429a54a54264b_rle_crop_3704868038_0.png', 1342932847: '1741686251_896582_1342930704_3e33583b782234673b9edccc032f0ae0_rle_crop_3704870015_0.png', 1342934038: '1741686265_1440967_1342930066_3d32b194720e7e59083c0fae5a4ceb4b_rle_crop_3704874120_0.png', 1342934332: '1741686373_897994_1342932278_a2e012055e3bbcfb91c683d9ceec3543_rle_crop_3704874620_0.png', 1342934337: '1741686373_897994_1342931433_7e557c9f39bd865239121808df5f1e83_rle_crop_3704875103_0.png', 1342934339: '1741686373_897994_1342931397_d3ad708ef273ef313a08e01ca119d28e_rle_crop_3704875237_0.png', 1342935276: '1741686514_900286_1342933009_fba559045dac36bb71bcdf2878f06627_rle_crop_3704884400_0.png', 1342948068: '1741688132_924858_1342930115_ade0cce71d352e65be23e8ad71145a80_rle_crop_3704956034_0.png', 1342959580: '1741689614_956692_1342933103_195d2b124e3547705001a4c594d09ff2_rle_crop_3705030315_0.png', 1342959818: '1741689626_1494088_1342930704_3e33583b782234673b9edccc032f0ae0_bib_crop_3704870015_0.jpg'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/288f9eabc24ed2ac61290eaf15045ecc_6446390.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/2917728f7f487b86f371ca17a46c58b5_16585902.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e1010d8781fddffbf8188b4b65bc864c_81849472.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/110fd8ab38aae9e2d141d63b87cc3da1_11165796.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/7e60cb5d6085579f37f0290ef3e16a0e_76535079.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/12d6484f3065daa213f97dc952b5d5f7_65327195.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/1bf004af2510b5f82e0eb1736e534f83_26043024.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/11eb26bb4d577c60676394632f9f3434_81065348.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/0c03b49b29ebbfcc9a26a0b04e46a720_92109893.png change filename to text .imagette212743701741755162/ imagette212743701741755162/1741686373_897994_1342931433_7e557c9f39bd865239121808df5f1e83_rle_crop_3704875103_0.png.png imagette212743701741755162/1741686251_896582_1342930704_3e33583b782234673b9edccc032f0ae0_rle_crop_3704870015_0.png.png imagette212743701741755162/1741686265_1440967_1342930066_3d32b194720e7e59083c0fae5a4ceb4b_rle_crop_3704874120_0.png.png imagette212743701741755162/1741689614_956692_1342933103_195d2b124e3547705001a4c594d09ff2_rle_crop_3705030315_0.png.png imagette212743701741755162/1741686373_897994_1342932278_a2e012055e3bbcfb91c683d9ceec3543_rle_crop_3704874620_0.png.png imagette212743701741755162/1741686133_895375_1342928726_2e0d0a0582631ef3922429a54a54264b_rle_crop_3704868038_0.png.png imagette212743701741755162/1741686373_897994_1342931397_d3ad708ef273ef313a08e01ca119d28e_rle_crop_3704875237_0.png.png imagette212743701741755162/1741689626_1494088_1342930704_3e33583b782234673b9edccc032f0ae0_bib_crop_3704870015_0.jpg.jpg imagette212743701741755162/1741688132_924858_1342930115_ade0cce71d352e65be23e8ad71145a80_rle_crop_3704956034_0.png.png imagette212743701741755162/1741686514_900286_1342933009_fba559045dac36bb71bcdf2878f06627_rle_crop_3704884400_0.png.png wget -O 10.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/6546b26df1172ac6a9d49b778c30a888_93748079.jpg imagette212743701741755162 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21274348 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21274379,21274380,21274381,21274382,21274384,21274385,21274386,21274387,21274388,21274389,21274390,21274392?tags=mal_croppe,plastique,papier,kraft,cartonnette,flou,environnement,Teint_Dans_La_Masse,autre_refus,Carton_gris,metal,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1342933833] : ('0.09243485031577982',) no score found for photo 1342933833 We are sending mail with results at report@fotonower.com args[1342933103] : ('0.09243485031577982',) no score found for photo 1342933103 We are sending mail with results at report@fotonower.com args[1342933064] : ('0.09243485031577982',) no score found for photo 1342933064 We are sending mail with results at report@fotonower.com args[1342933009] : ('0.09243485031577982',) no score found for photo 1342933009 We are sending mail with results at report@fotonower.com args[1342932278] : ('0.09243485031577982',) no score found for photo 1342932278 We are sending mail with results at report@fotonower.com args[1342932183] : ('0.09243485031577982',) no score found for photo 1342932183 We are sending mail with results at report@fotonower.com args[1342932100] : ('0.09243485031577982',) no score found for photo 1342932100 We are sending mail with results at report@fotonower.com args[1342931515] : ('0.09243485031577982',) no score found for photo 1342931515 We are sending mail with results at report@fotonower.com args[1342931460] : ('0.09243485031577982',) no score found for photo 1342931460 We are sending mail with results at report@fotonower.com args[1342931433] : ('0.09243485031577982',) no score found for photo 1342931433 We are sending mail with results at report@fotonower.com args[1342931397] : ('0.09243485031577982',) no score found for photo 1342931397 We are sending mail with results at report@fotonower.com args[1342930957] : ('0.09243485031577982',) no score found for photo 1342930957 We are sending mail with results at report@fotonower.com args[1342930860] : ('0.09243485031577982',) no score found for photo 1342930860 We are sending mail with results at report@fotonower.com args[1342930755] : ('0.09243485031577982',) no score found for photo 1342930755 We are sending mail with results at report@fotonower.com args[1342930704] : ('0.09243485031577982',) no score found for photo 1342930704 We are sending mail with results at report@fotonower.com args[1342930659] : ('0.09243485031577982',) no score found for photo 1342930659 We are sending mail with results at report@fotonower.com args[1342930115] : ('0.09243485031577982',) no score found for photo 1342930115 We are sending mail with results at report@fotonower.com args[1342930066] : ('0.09243485031577982',) no score found for photo 1342930066 We are sending mail with results at report@fotonower.com args[1342930007] : ('0.09243485031577982',) no score found for photo 1342930007 We are sending mail with results at report@fotonower.com args[1342929926] : ('0.09243485031577982',) no score found for photo 1342929926 We are sending mail with results at report@fotonower.com args[1342929576] : ('0.09243485031577982',) no score found for photo 1342929576 We are sending mail with results at report@fotonower.com args[1342929486] : ('0.09243485031577982',) no score found for photo 1342929486 We are sending mail with results at report@fotonower.com args[1342929439] : ('0.09243485031577982',) no score found for photo 1342929439 We are sending mail with results at report@fotonower.com args[1342929398] : ('0.09243485031577982',) no score found for photo 1342929398 We are sending mail with results at report@fotonower.com args[1342929349] : ('0.09243485031577982',) no score found for photo 1342929349 We are sending mail with results at report@fotonower.com args[1342928994] : ('0.09243485031577982',) no score found for photo 1342928994 We are sending mail with results at report@fotonower.com args[1342928922] : ('0.09243485031577982',) no score found for photo 1342928922 We are sending mail with results at report@fotonower.com args[1342928856] : ('0.09243485031577982',) no score found for photo 1342928856 We are sending mail with results at report@fotonower.com args[1342928796] : ('0.09243485031577982',) no score found for photo 1342928796 We are sending mail with results at report@fotonower.com args[1342928726] : ('0.09243485031577982',) no score found for photo 1342928726 We are sending mail with results at report@fotonower.com args[1342928561] : ('0.09243485031577982',) no score found for photo 1342928561 We are sending mail with results at report@fotonower.com args[1342927605] : ('0.09243485031577982',) no score found for photo 1342927605 We are sending mail with results at report@fotonower.com args[1342927352] : ('0.09243485031577982',) no score found for photo 1342927352 We are sending mail with results at report@fotonower.com refus_total : 0.09243485031577982 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=21274348 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 error for generate pdf : 'autre_refus' After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21274348]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1342933833, 1342933103, 1342933064, 1342933009, 1342932278, 1342932183, 1342932100, 1342931515, 1342931460, 1342931433, 1342931397, 1342930957, 1342930860, 1342930755, 1342930704, 1342930659, 1342930115, 1342930066, 1342930007, 1342929926, 1342929576, 1342929486, 1342929439, 1342929398, 1342929349, 1342928994, 1342928922, 1342928856, 1342928796, 1342928726, 1342928561, 1342927605, 1342927352] map_info['map_portfolio_photo'] : {21274348: [1342933833, 1342933103, 1342933064, 1342933009, 1342932278, 1342932183, 1342932100, 1342931515, 1342931460, 1342931433, 1342931397, 1342930957, 1342930860, 1342930755, 1342930704, 1342930659, 1342930115, 1342930066, 1342930007, 1342929926, 1342929576, 1342929486, 1342929439, 1342929398, 1342929349, 1342928994, 1342928922, 1342928856, 1342928796, 1342928726, 1342928561, 1342927605, 1342927352]} final : False mtd_id 4302 list_pids : [1342933833, 1342933103, 1342933064, 1342933009, 1342932278, 1342932183, 1342932100, 1342931515, 1342931460, 1342931433, 1342931397, 1342930957, 1342930860, 1342930755, 1342930704, 1342930659, 1342930115, 1342930066, 1342930007, 1342929926, 1342929576, 1342929486, 1342929439, 1342929398, 1342929349, 1342928994, 1342928922, 1342928856, 1342928796, 1342928726, 1342928561, 1342927605, 1342927352] 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, '2660968') ('4302', '21274348', '1342933833', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342933103', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342933064', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342933009', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342932278', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342932183', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342932100', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931515', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931460', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931433', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931397', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930957', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930860', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930755', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930704', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930659', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930115', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930066', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930007', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929926', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929576', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929486', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929439', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929398', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929349', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928994', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928922', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928856', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928796', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928726', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928561', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342927605', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342927352', None, None, None, None, None, '2660968') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21274348', '1342933833', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342933103', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342933064', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342933009', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342932278', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342932183', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342932100', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342931515', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342931460', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342931433', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342931397', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930957', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930860', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930755', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930704', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930659', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930115', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930066', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930007', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929926', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929576', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929486', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929439', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929398', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929349', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928994', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928922', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928856', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928796', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928726', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928561', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342927605', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342927352', None, None, None, None, None, '2660968')] time used for this insertion : 0.06017136573791504 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.666950941085815 time spend to save output : 0.060544729232788086 total time spend for step 4 : 10.727495670318604 step5:split_time_score Wed Mar 12 05:52:43 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 : ['21274348'] 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 : [('21274348',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21274348) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1342932278: {'path': 'temp/1741755152_489564_1342932278_a2e012055e3bbcfb91c683d9ceec3543.jpg', 'extension': 'jpg'}, 1342933009: {'path': 'temp/1741755152_489564_1342933009_fba559045dac36bb71bcdf2878f06627.jpg', 'extension': 'jpg'}, 1342933064: {'path': 'temp/1741755152_489564_1342933064_3ea616d650c4061b3f43f77dd7223c1c.jpg', 'extension': 'jpg'}, 1342933103: {'path': 'temp/1741755152_489564_1342933103_195d2b124e3547705001a4c594d09ff2.jpg', 'extension': 'jpg'}, 1342933833: {'path': 'temp/1741755152_489564_1342933833_23351879c46cf8a8f5f218ffdbe2e3a9.jpg', 'extension': 'jpg'}, 1342930007: {'path': 'temp/1741755152_489564_1342930007_3c48c4ab542c681c83e04fe912a33961.jpg', 'extension': 'jpg'}, 1342930066: {'path': 'temp/1741755152_489564_1342930066_3d32b194720e7e59083c0fae5a4ceb4b.jpg', 'extension': 'jpg'}, 1342930115: {'path': 'temp/1741755152_489564_1342930115_ade0cce71d352e65be23e8ad71145a80.jpg', 'extension': 'jpg'}, 1342930659: {'path': 'temp/1741755152_489564_1342930659_247245d3d2e77167fcc81ebdcbc254ba.jpg', 'extension': 'jpg'}, 1342930704: {'path': 'temp/1741755152_489564_1342930704_3e33583b782234673b9edccc032f0ae0.jpg', 'extension': 'jpg'}, 1342930755: {'path': 'temp/1741755152_489564_1342930755_016597e0a073afdab301676502c16de6.jpg', 'extension': 'jpg'}, 1342930860: {'path': 'temp/1741755152_489564_1342930860_8208e48b0e5cd863e77cdb14ca363f49.jpg', 'extension': 'jpg'}, 1342928994: {'path': 'temp/1741755152_489564_1342928994_f8bc1e04aee2b3ec8863cb704e4e4175.jpg', 'extension': 'jpg'}, 1342929349: {'path': 'temp/1741755152_489564_1342929349_fbac23e881976708ab8c18d879bcba5a.jpg', 'extension': 'jpg'}, 1342929398: {'path': 'temp/1741755152_489564_1342929398_3c2a96d8cdd11db618e985de77d7dda9.jpg', 'extension': 'jpg'}, 1342929439: {'path': 'temp/1741755152_489564_1342929439_e471ffb5f40f4d20e9d7cbde11c57082.jpg', 'extension': 'jpg'}, 1342929486: {'path': 'temp/1741755152_489564_1342929486_2d9924766a2caf6624267b9c4600beef.jpg', 'extension': 'jpg'}, 1342929576: {'path': 'temp/1741755152_489564_1342929576_b606cb67e92e48a29f9dce89ef25e0e6.jpg', 'extension': 'jpg'}, 1342929926: {'path': 'temp/1741755152_489564_1342929926_9db8abdc10bc00a9809d1b92b84d05b4.jpg', 'extension': 'jpg'}, 1342930957: {'path': 'temp/1741755152_489564_1342930957_29e2bea50de37e7dbb6c5a5f6dc0758a.jpg', 'extension': 'jpg'}, 1342931397: {'path': 'temp/1741755152_489564_1342931397_d3ad708ef273ef313a08e01ca119d28e.jpg', 'extension': 'jpg'}, 1342931433: {'path': 'temp/1741755152_489564_1342931433_7e557c9f39bd865239121808df5f1e83.jpg', 'extension': 'jpg'}, 1342931460: {'path': 'temp/1741755152_489564_1342931460_6b0f31b8589c2e7b00e16e15bee91a28.jpg', 'extension': 'jpg'}, 1342931515: {'path': 'temp/1741755152_489564_1342931515_836fb1a23a5d9840cb545ae2102425e1.jpg', 'extension': 'jpg'}, 1342932100: {'path': 'temp/1741755152_489564_1342932100_71a9263899241851c6c5239759f36ea4.jpg', 'extension': 'jpg'}, 1342932183: {'path': 'temp/1741755152_489564_1342932183_117ea1db64cf472a4a124f1e1cee2982.jpg', 'extension': 'jpg'}, 1342927352: {'path': 'temp/1741755152_489564_1342927352_31dc566a7c996be56204d42999f2be7c.jpg', 'extension': 'jpg'}, 1342927605: {'path': 'temp/1741755152_489564_1342927605_67afcee4b9ed54b438486190c8d2d732.jpg', 'extension': 'jpg'}, 1342928561: {'path': 'temp/1741755152_489564_1342928561_087047d8f8f09b4938ff309dc2471eda.jpg', 'extension': 'jpg'}, 1342928726: {'path': 'temp/1741755152_489564_1342928726_2e0d0a0582631ef3922429a54a54264b.jpg', 'extension': 'jpg'}, 1342928796: {'path': 'temp/1741755152_489564_1342928796_319011d2a755f5b43fa3459986bf86a4.jpg', 'extension': 'jpg'}, 1342928856: {'path': 'temp/1741755152_489564_1342928856_1c55fccd4dac9f59e1f19b5137a630db.jpg', 'extension': 'jpg'}, 1342928922: {'path': 'temp/1741755152_489564_1342928922_bd32c1e6342f93102a94506e82f82cf3.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 = 21274348; (('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 = 21274348 group by h (('10', 33),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21274348 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 (21274348) 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 (21274348) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11032025 21274348 Nombre de photos uploadées : 33 / 23040 (0%) 11032025 21274348 Nombre de photos taguées (types de déchets): 0 / 33 (0%) 11032025 21274348 Nombre de photos taguées (volume) : 0 / 33 (0%) [{'photo_id': 1342927352, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/31dc566a7c996be56204d42999f2be7c.jpg', 'username': None, 'uploaded_at': 1741685798, 'text': 'image_11032025_10_35_14_009126m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1342927605, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/67afcee4b9ed54b438486190c8d2d732.jpg', 'username': None, 'uploaded_at': 1741685859, 'text': 'image_11032025_10_35_54_010150m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1342928994, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f8bc1e04aee2b3ec8863cb704e4e4175.jpg', 'username': None, 'uploaded_at': 1741685988, 'text': 'image_11032025_10_36_04_10149.jpg'}, {'photo_id': 1342928922, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/bd32c1e6342f93102a94506e82f82cf3.jpg', 'username': None, 'uploaded_at': 1741685988, 'text': 'image_11032025_10_38_04_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 5.0067901611328125e-06 elapsed_time : order_list_meta_photo_and_scores 1.3113021850585938e-05 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001455545425415039 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21274348, '2025-03-11' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1656727,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.032451629638671875 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= 1656727 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21249450, 'dashboard_result_id': 9379289, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21249450_11-03-2025_01_50_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21249452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21249453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21249454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21249455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21249456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21249457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21249458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21249459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21249460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21249461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21249462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21249463, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21249839, 'dashboard_result_id': 9379290, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21249839_12-03-2025_05_36_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21249853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21249854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21249855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21249856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21249857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21249858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21249859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21249860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21249861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21249862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21249863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21249864, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21250319, 'dashboard_result_id': 9379291, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21250319_11-03-2025_02_20_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21250338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21250339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21250340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21250341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21250342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21250343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21250344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21250345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21250346, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21250347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21250348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21250349, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21250930, 'dashboard_result_id': 9379292, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21250930_11-03-2025_02_33_39.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21250949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21250950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21250951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21250952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21250953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21250954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21250955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21250956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21250957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21250958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21250959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21250960, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21251739, 'dashboard_result_id': 9379293, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21251739_11-03-2025_02_48_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21251743, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21251744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21251745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21251746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21251747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21251748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21251749, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21251750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21251751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21251752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21251753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21251754, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21252370, 'dashboard_result_id': 9379294, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21252370_12-03-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21252395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21252396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21252397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21252398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21252399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21252400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21252401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21252402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21252403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21252404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21252405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21252406, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21253064, 'dashboard_result_id': 9379295, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21253064_12-03-2025_05_39_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21253089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21253090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21253091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21253092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21253093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21253094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21253095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21253096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21253097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21253098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21253099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21253100, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21253689, 'dashboard_result_id': 9379296, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21253689_12-03-2025_05_40_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21253694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21253695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21253696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21253697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21253698, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21253699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21253700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21253701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21253702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21253703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21253704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21253705, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21254485, 'dashboard_result_id': 9379297, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21254485_12-03-2025_05_40_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21254514, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21254515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21254516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21254517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21254518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21254519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21254520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21254521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21254522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21254523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21254524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21254525, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21255240, 'dashboard_result_id': 9379298, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21255240_11-03-2025_04_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21255241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21255242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21255243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21255244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21255245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21255246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21255247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21255248, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21255249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21255250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21255251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21255252, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21255924, 'dashboard_result_id': 9379299, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21255924_12-03-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21255941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21255942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21255943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21255944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21255945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21255946, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21255947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21255948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21255949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21255950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21255951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21255952, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21256458, 'dashboard_result_id': 9379300, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21256458_12-03-2025_05_41_42.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21256508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21256509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21256510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21256511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21256512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21256513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21256514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21256515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21256516, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21256517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21256518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21256519, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21257252, 'dashboard_result_id': 9379301, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21257252_11-03-2025_05_04_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21257269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21257270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21257271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21257272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21257273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21257274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21257275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21257276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21257277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21257278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21257279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21257280, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21258215, 'dashboard_result_id': 9379302, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21258215_12-03-2025_05_42_48.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21258216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21258217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21258218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21258219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21258220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21258221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21258222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21258223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21258224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21258225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21258226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21258227, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21258639, 'dashboard_result_id': 9379303, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21258639_11-03-2025_05_52_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21258642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21258643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21258644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21258645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21258646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21258647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21258648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21258649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21258650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21258651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21258652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21258653, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21259275, 'dashboard_result_id': 9379304, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21259275_12-03-2025_05_43_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21259278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21259279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21259280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21259281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21259282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21259283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21259284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21259285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21259286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21259287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21259288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21259289, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21259792, 'dashboard_result_id': 9379305, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21259792_11-03-2025_06_01_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21259805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21259806, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21259807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21259808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21259809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21259810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21259811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21259812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21259813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21259814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21259815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21259816, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21260558, 'dashboard_result_id': 9379306, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21260558_12-03-2025_05_44_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21260569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21260570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21260571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21260572, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21260573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21260574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21260575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21260576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21260577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21260578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21260579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21260580, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21261291, 'dashboard_result_id': 9379307, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21261291_11-03-2025_06_33_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21261293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21261294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21261295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21261296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21261297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21261298, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21261300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21261301, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21261302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21261303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21261304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21261305, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21261988, 'dashboard_result_id': 9379308, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21261988_12-03-2025_05_45_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21262027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21262028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21262029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21262030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21262031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21262032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21262033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21262034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21262035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21262036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21262037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21262038, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21262483, 'dashboard_result_id': 9379309, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21262483_11-03-2025_07_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21262486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21262488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21262490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21262492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21262494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21262496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21262499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21262501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21262503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21262505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21262506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21262507, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21263155, 'dashboard_result_id': 9379310, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21263155_11-03-2025_07_21_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21263186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21263187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21263188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21263189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21263190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21263191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21263192, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21263193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21263194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21263195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21263196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21263197, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21263614, 'dashboard_result_id': 9379311, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21263614_11-03-2025_07_36_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21263687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21263688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21263689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21263690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21263691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21263692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21263693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21263694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21263695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21263696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21263697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21263698, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21264563, 'dashboard_result_id': 9379312, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21264563_11-03-2025_07_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21264567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21264568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21264569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21264570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21264572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21264573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21264574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21264576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21264577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21264578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21264580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21264581, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21265070, 'dashboard_result_id': 9379313, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21265070_12-03-2025_05_49_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21265131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21265132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21265133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21265134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21265135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21265136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21265137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21265138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21265139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21265140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21265141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21265142, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21265740, 'dashboard_result_id': 9379314, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21265740_11-03-2025_08_20_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21265765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21265766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21265767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21265768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21265769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21265770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21265771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21265772, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21265773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21265774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21265775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21265776, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21266677, 'dashboard_result_id': 9379315, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21266677_12-03-2025_05_50_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21266680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21266681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21266682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21266683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21266684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21266685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21266686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21266687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21266688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21266689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21266690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21266691, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21267494, 'dashboard_result_id': 9379316, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21267494_12-03-2025_05_50_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21267519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21267520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21267521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21267522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21267523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21267524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21267525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21267526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21267527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21267528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21267529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21267530, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21268290, 'dashboard_result_id': 9379317, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21268290_11-03-2025_09_05_13.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21268340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21268341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21268342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21268343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21268344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21268345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21268346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21268347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21268348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21268349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21268350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21268351, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21270987, 'dashboard_result_id': 9379318, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21270987_11-03-2025_09_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21270988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21270989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21270990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21270991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21270992, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21270993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21270994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21270995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21270996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21270997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21270998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21270999, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21271484, 'dashboard_result_id': 9379319, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21271484_11-03-2025_09_57_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21271517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21271518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21271519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21271520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21271521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21271522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21271523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21271524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21271525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21271526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21271527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21271528, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21272434, 'dashboard_result_id': 9379320, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21272434_12-03-2025_05_52_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21272495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21272496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21272497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21272498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21272499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21272500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21272501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21272502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21272503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21272504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21272505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21272506, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21274348, 'dashboard_result_id': 9379321, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21274348_11-03-2025_10_48_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21274349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21274350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21274351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21274353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21274355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21274357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21274359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21274361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21274363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21274365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21274367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21274370, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21274952, 'dashboard_result_id': 9379322, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21274952_11-03-2025_11_03_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21274981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21274982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21274983, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21274984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21274985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21274986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21274987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21274988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21274989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21274990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21274991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21274992, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21275965, 'dashboard_result_id': 9379323, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21275965_11-03-2025_11_25_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21275966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21275967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21275968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21275969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21275970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21275971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21275972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21275973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21275974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21275975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21275976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21275977, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21277375, 'dashboard_result_id': 9379324, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21277375_11-03-2025_11_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21277378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21277379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21277380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21277381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21277382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21277383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21277384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21277385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21277386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21277387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21277388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21277389, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21277828, 'dashboard_result_id': 9379325, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21277828_11-03-2025_11_48_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21277847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21277848, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21277849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21277850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21277851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21277852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21277853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21277854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21277855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21277856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21277857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21277858, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21279043, 'dashboard_result_id': 9379326, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21279043_11-03-2025_12_04_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21279073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21279074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21279075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21279076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21279077, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21279078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21279079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21279080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21279081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21279082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21279083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21279084, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21280201, 'dashboard_result_id': 9379327, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21280201_11-03-2025_12_21_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21280284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21280285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21280286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21280287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21280288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21280289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21280290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21280291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21280292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21280293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21280294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21280295, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21281654, 'dashboard_result_id': 9379328, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21281654_11-03-2025_12_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21281724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21281725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21281726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21281727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21281728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21281729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21281730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21281731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21281732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21281733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21281734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21281735, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21282447, 'dashboard_result_id': 9379329, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21282447_11-03-2025_12_57_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21282448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21282449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21282450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21282451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21282452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21282453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21282454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21282455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21282456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21282457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21282458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21282459, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21284381, 'dashboard_result_id': 9379330, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21284381_11-03-2025_13_21_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21284398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21284399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21284400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21284401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21284402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21284403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21284404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21284405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21284406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21284407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21284408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21284409, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21285026, 'dashboard_result_id': 9379331, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21285026_11-03-2025_13_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21285075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21285076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21285077, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21285078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21285079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21285080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21285081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21285082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21285083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21285084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21285085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21285086, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21285881, 'dashboard_result_id': 9379332, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21285881_11-03-2025_13_50_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21285884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21285885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21285886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21285887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21285888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21285889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21285890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21285891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21285892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21285893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21285894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21285895, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21286522, 'dashboard_result_id': 9379333, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21286522_11-03-2025_14_07_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21286536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21286537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21286538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21286539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21286540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21286541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21286542, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21286543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21286544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21286545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21286546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21286547, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21287307, 'dashboard_result_id': 9379334, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21287307_11-03-2025_14_21_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21287345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21287346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21287347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21287348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21287349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21287350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21287351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21287352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21287353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21287354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21287355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21287356, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21288100, 'dashboard_result_id': 9379335, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21288100_11-03-2025_14_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21288185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21288186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21288187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21288188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21288189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21288190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21288191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21288192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21288193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21288194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21288196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21288197, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21288922, 'dashboard_result_id': 9379336, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21288922_11-03-2025_14_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21288935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21288936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21288937, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21288938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21288939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21288940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21288941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21288942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21288943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21288944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21288945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21288946, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21289999, 'dashboard_result_id': 9379337, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21289999_11-03-2025_15_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21290054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21290055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21290056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21290057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21290058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21290059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21290060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21290061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21290062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21290063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21290064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21290065, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21290771, 'dashboard_result_id': 9379338, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21290771_11-03-2025_15_21_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21290832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21290833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21290834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21290835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21290836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21290837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21290838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21290839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21290840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21290841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21290842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21290843, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21291523, 'dashboard_result_id': 9379339, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21291523_11-03-2025_15_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21291656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21291657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21291658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21291659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21291660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21291661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21291662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21291663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21291664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21291665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21291666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21291667, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21292609, 'dashboard_result_id': 9379340, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21292609_11-03-2025_15_49_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21292622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21292623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21292624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21292625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21292626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21292627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21292628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21292629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21292630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21292631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21292632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21292633, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21293205, 'dashboard_result_id': 9379341, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21293205_11-03-2025_16_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21293252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21293253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21293254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21293255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21293256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21293257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21293258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21293259, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21293260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21293261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21293262, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21293263, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21294338, 'dashboard_result_id': 9379342, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21294338_11-03-2025_16_18_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21294339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21294340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21294341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21294342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21294343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21294344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21294345, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21294346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21294347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21294348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21294349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21294350, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21295180, 'dashboard_result_id': 9379343, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21295180_11-03-2025_16_33_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21295234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21295235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21295237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21295238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21295239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21295241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21295242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21295243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21295245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21295246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21295247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21295249, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21296139, 'dashboard_result_id': 9379344, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296139_11-03-2025_16_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21296148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296151, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21296935, 'dashboard_result_id': 9379345, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296935_11-03-2025_17_05_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21296953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296964, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21297690, 'dashboard_result_id': 9379346, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21297690_11-03-2025_17_21_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21297763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21297764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21297765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21297766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21297767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21297768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21297769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21297770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21297771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21297772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21297774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21297775, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21298566, 'dashboard_result_id': 9379347, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21298566_11-03-2025_17_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21298615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21298616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21298617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21298618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21298619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21298620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21298621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21298622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21298623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21298624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21298625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21298626, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21300323, 'dashboard_result_id': 9379348, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21300323_11-03-2025_18_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21300348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21300349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21300350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21300351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21300352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21300353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21300354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21300355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21300356, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21300357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21300358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21300359, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21300708, 'dashboard_result_id': 9379349, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21300708_11-03-2025_18_19_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21300749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21300750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21300751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21300752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21300753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21300754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21300755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21300756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21300757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21300758, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21300759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21300760, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21301375, 'dashboard_result_id': 9379350, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21301375_11-03-2025_18_34_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21301386, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21301387, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21301388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21301389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21301390, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21301391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21301392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21301393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21301394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21301395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21301396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21301397, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21302206, 'dashboard_result_id': 9379351, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21302206_11-03-2025_18_49_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21302255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21302256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21302257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21302258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21302259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21302260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21302261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21302262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21302263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21302264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21302265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21302266, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21303075, 'dashboard_result_id': 9379352, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21303075_11-03-2025_19_06_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21303190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21303194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21303195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21303196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21303197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21303198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21303199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21303200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21303201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21303202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21303204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21303209, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21304387, 'dashboard_result_id': 9379353, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21304387_11-03-2025_19_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21304457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21304458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21304459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21304460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21304461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21304462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21304463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21304464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21304465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21304466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21304467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21304468, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21305160, 'dashboard_result_id': 9379354, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21305160_11-03-2025_19_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21305185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21305186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21305187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21305188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21305189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21305190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21305191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21305192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21305193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21305194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21305195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21305196, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21305972, 'dashboard_result_id': 9379355, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21305972_11-03-2025_20_05_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21306013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21306014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21306015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21306017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21306019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21306021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21306023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21306026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21306028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21306030, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21306032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21306034, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21306716, 'dashboard_result_id': 9379356, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21306716_11-03-2025_20_08_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21306753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21306754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21306755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21306756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21306757, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21306758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21306759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21306760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21306761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21306762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21306763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21306764, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21307713, 'dashboard_result_id': 9379357, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21307713_11-03-2025_20_33_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21307768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21307769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21307770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21307771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21307772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21307773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21307774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21307775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21307776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21307777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21307778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21307779, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21308578, 'dashboard_result_id': 9379358, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21308578_11-03-2025_21_06_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21308651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21308652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21308653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21308654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21308655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21308656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21308657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21308658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21308659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21308660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21308661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21308662, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21310213, 'dashboard_result_id': 9379359, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310216, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310225, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21310476, 'dashboard_result_id': 9379360, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310476_11-03-2025_21_33_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310513, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310516, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21310997, 'dashboard_result_id': 9379361, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310997_11-03-2025_21_49_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311031, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21311536, 'dashboard_result_id': 9379362, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21311536_11-03-2025_21_49_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311544, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311548, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21312012, 'dashboard_result_id': 9379363, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21312012_11-03-2025_22_07_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21312136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21312137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21312138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21312139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21312140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21312141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21312142, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21312143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21312144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21312145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21312146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21312147, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21313136, 'dashboard_result_id': 9379364, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21313136_11-03-2025_22_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21313212, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21313213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21313214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21313215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21313216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21313217, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21313218, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21313219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21313220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21313221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21313222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21313223, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21314183, 'dashboard_result_id': 9379365, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21314183_11-03-2025_22_38_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21314189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21314190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21314191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21314192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21314193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21314194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21314195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21314196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21314197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21314198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21314199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21314200, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21315548, 'dashboard_result_id': 9379366, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21315564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21315565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21315566, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21315567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21315568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21315569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21315570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21315571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21315572, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21315573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21315574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21315575, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21316639, 'dashboard_result_id': 9379367, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21316639_12-03-2025_00_46_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21316691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21316692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21316693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21316694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21316695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21316696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21316697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21316698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21316699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21316700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21316701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21316702, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21317594, 'dashboard_result_id': 9379368, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21317594_11-03-2025_23_20_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21317641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21317642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21317644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21317645, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21317647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21317648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21317649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21317651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21317652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21317653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21317655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21317656, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21318640, 'dashboard_result_id': 9379369, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21318643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21318644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21318645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21318646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21318647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21318648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21318649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21318650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21318651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21318652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21318653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21318654, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21319051, 'dashboard_result_id': 9379370, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21319051_12-03-2025_00_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21319052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21319053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21319054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21319055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21319056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21319057, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21319058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21319059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21319060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21319061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21319062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21319063, '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 = 21249450 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660936, 'mtr_portfolio_id': 21249450, 'created_at': datetime.datetime(2025, 3, 12, 5, 34, 33), 'result': '0.11352422924626834', 'result_long': None, 'result_double': None}] Qualite : 0.11352422924626834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21249450 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21249450_11-03-2025_01_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21249450 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21249450_11-03-2025_01_50_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21249452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21249453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21249454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21249455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21249456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21249457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21249458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21249459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21249460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21249461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21249462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21249463, 'pht': 3726}}" where mtr_portfolio_id = 21249450 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21249450 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379289, 0.11352422924626834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21249450_11-03-2025_01_50_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21249452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21249453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21249454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21249455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21249456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21249457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21249458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21249459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21249460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21249461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21249462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21249463, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21249839 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660937, 'mtr_portfolio_id': 21249839, 'created_at': datetime.datetime(2025, 3, 12, 5, 35, 58), 'result': '0.054023532245917466', 'result_long': None, 'result_double': None}] Qualite : 0.054023532245917466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21249839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21249839_12-03-2025_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21249839 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21249839_12-03-2025_05_36_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21249853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21249854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21249855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21249856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21249857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21249858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21249859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21249860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21249861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21249862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21249863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21249864, 'pht': 3726}}" where mtr_portfolio_id = 21249839 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21249839 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379290, 0.054023532245917466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21249839_12-03-2025_05_36_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21249853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21249854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21249855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21249856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21249857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21249858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21249859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21249860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21249861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21249862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21249863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21249864, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21250319 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660938, 'mtr_portfolio_id': 21250319, 'created_at': datetime.datetime(2025, 3, 12, 5, 36, 35), 'result': '0.06579669098745708', 'result_long': None, 'result_double': None}] Qualite : 0.06579669098745708 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21250319 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21250319_11-03-2025_02_20_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21250319 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21250319_11-03-2025_02_20_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21250338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21250339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21250340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21250341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21250342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21250343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21250344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21250345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21250346, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21250347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21250348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21250349, 'pht': 3726}}" where mtr_portfolio_id = 21250319 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21250319 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379291, 0.06579669098745708, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21250319_11-03-2025_02_20_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21250338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21250339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21250340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21250341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21250342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21250343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21250344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21250345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21250346, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21250347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21250348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21250349, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21250930 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660939, 'mtr_portfolio_id': 21250930, 'created_at': datetime.datetime(2025, 3, 12, 5, 38, 4), 'result': '0.08017683520666881', 'result_long': None, 'result_double': None}] Qualite : 0.08017683520666881 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21250930 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21250930_11-03-2025_02_33_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21250930 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21250930_11-03-2025_02_33_39.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21250949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21250950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21250951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21250952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21250953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21250954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21250955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21250956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21250957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21250958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21250959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21250960, 'pht': 3726}}" where mtr_portfolio_id = 21250930 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21250930 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379292, 0.08017683520666881, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21250930_11-03-2025_02_33_39.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21250949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21250950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21250951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21250952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21250953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21250954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21250955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21250956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21250957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21250958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21250959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21250960, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21251739 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660940, 'mtr_portfolio_id': 21251739, 'created_at': datetime.datetime(2025, 3, 12, 5, 38, 27), 'result': '0.07086150235187742', 'result_long': None, 'result_double': None}] Qualite : 0.07086150235187742 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21251739 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21251739_11-03-2025_02_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21251739 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21251739_11-03-2025_02_48_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21251743, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21251744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21251745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21251746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21251747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21251748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21251749, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21251750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21251751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21251752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21251753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21251754, 'pht': 3726}}" where mtr_portfolio_id = 21251739 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21251739 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379293, 0.07086150235187742, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21251739_11-03-2025_02_48_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21251743, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21251744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21251745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21251746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21251747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21251748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21251749, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21251750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21251751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21251752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21251753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21251754, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21252370 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660941, 'mtr_portfolio_id': 21252370, 'created_at': datetime.datetime(2025, 3, 12, 5, 38, 58), 'result': '0.057859920493014805', 'result_long': None, 'result_double': None}] Qualite : 0.057859920493014805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21252370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21252370_12-03-2025_05_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21252370 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21252370_12-03-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21252395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21252396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21252397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21252398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21252399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21252400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21252401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21252402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21252403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21252404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21252405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21252406, 'pht': 3726}}" where mtr_portfolio_id = 21252370 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21252370 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379294, 0.057859920493014805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21252370_12-03-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21252395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21252396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21252397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21252398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21252399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21252400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21252401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21252402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21252403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21252404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21252405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21252406, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21253064 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660942, 'mtr_portfolio_id': 21253064, 'created_at': datetime.datetime(2025, 3, 12, 5, 39, 33), 'result': '0.07061955142307048', 'result_long': None, 'result_double': None}] Qualite : 0.07061955142307048 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21253064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21253064_12-03-2025_05_39_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21253064 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21253064_12-03-2025_05_39_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21253089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21253090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21253091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21253092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21253093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21253094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21253095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21253096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21253097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21253098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21253099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21253100, 'pht': 3726}}" where mtr_portfolio_id = 21253064 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21253064 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379295, 0.07061955142307048, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21253064_12-03-2025_05_39_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21253089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21253090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21253091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21253092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21253093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21253094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21253095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21253096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21253097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21253098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21253099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21253100, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21253689 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660943, 'mtr_portfolio_id': 21253689, 'created_at': datetime.datetime(2025, 3, 12, 5, 40, 33), 'result': '0.08172710708253195', 'result_long': None, 'result_double': None}] Qualite : 0.08172710708253195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21253689 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21253689_12-03-2025_05_40_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21253689 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21253689_12-03-2025_05_40_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21253694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21253695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21253696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21253697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21253698, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21253699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21253700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21253701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21253702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21253703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21253704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21253705, 'pht': 3726}}" where mtr_portfolio_id = 21253689 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21253689 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379296, 0.08172710708253195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21253689_12-03-2025_05_40_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21253694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21253695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21253696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21253697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21253698, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21253699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21253700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21253701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21253702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21253703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21253704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21253705, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21254485 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660944, 'mtr_portfolio_id': 21254485, 'created_at': datetime.datetime(2025, 3, 12, 5, 40, 36), 'result': '0.06524138466275414', 'result_long': None, 'result_double': None}] Qualite : 0.06524138466275414 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21254485 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21254485_12-03-2025_05_40_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21254485 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21254485_12-03-2025_05_40_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21254514, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21254515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21254516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21254517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21254518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21254519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21254520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21254521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21254522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21254523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21254524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21254525, 'pht': 3726}}" where mtr_portfolio_id = 21254485 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21254485 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379297, 0.06524138466275414, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21254485_12-03-2025_05_40_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21254514, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21254515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21254516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21254517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21254518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21254519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21254520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21254521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21254522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21254523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21254524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21254525, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21255240 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660945, 'mtr_portfolio_id': 21255240, 'created_at': datetime.datetime(2025, 3, 12, 5, 41, 3), 'result': '0.06724219416581088', 'result_long': None, 'result_double': None}] Qualite : 0.06724219416581088 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21255240 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21255240_11-03-2025_04_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21255240 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21255240_11-03-2025_04_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21255241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21255242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21255243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21255244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21255245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21255246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21255247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21255248, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21255249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21255250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21255251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21255252, 'pht': 3726}}" where mtr_portfolio_id = 21255240 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21255240 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379298, 0.06724219416581088, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21255240_11-03-2025_04_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21255241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21255242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21255243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21255244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21255245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21255246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21255247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21255248, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21255249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21255250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21255251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21255252, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21255924 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660946, 'mtr_portfolio_id': 21255924, 'created_at': datetime.datetime(2025, 3, 12, 5, 41, 32), 'result': '0.06922140088110597', 'result_long': None, 'result_double': None}] Qualite : 0.06922140088110597 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21255924 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21255924_12-03-2025_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21255924 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21255924_12-03-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21255941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21255942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21255943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21255944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21255945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21255946, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21255947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21255948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21255949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21255950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21255951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21255952, 'pht': 3726}}" where mtr_portfolio_id = 21255924 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21255924 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379299, 0.06922140088110597, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21255924_12-03-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21255941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21255942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21255943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21255944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21255945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21255946, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21255947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21255948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21255949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21255950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21255951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21255952, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21256458 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660947, 'mtr_portfolio_id': 21256458, 'created_at': datetime.datetime(2025, 3, 12, 5, 41, 38), 'result': '0.07184985529577313', 'result_long': None, 'result_double': None}] Qualite : 0.07184985529577313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21256458 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21256458_12-03-2025_05_41_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21256458 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21256458_12-03-2025_05_41_42.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21256508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21256509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21256510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21256511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21256512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21256513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21256514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21256515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21256516, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21256517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21256518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21256519, 'pht': 3726}}" where mtr_portfolio_id = 21256458 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21256458 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379300, 0.07184985529577313, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21256458_12-03-2025_05_41_42.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21256508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21256509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21256510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21256511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21256512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21256513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21256514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21256515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21256516, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21256517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21256518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21256519, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21257252 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660948, 'mtr_portfolio_id': 21257252, 'created_at': datetime.datetime(2025, 3, 12, 5, 42, 2), 'result': '0.0509679334191812', 'result_long': None, 'result_double': None}] Qualite : 0.0509679334191812 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21257252 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21257252_11-03-2025_05_04_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21257252 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21257252_11-03-2025_05_04_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21257269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21257270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21257271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21257272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21257273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21257274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21257275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21257276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21257277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21257278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21257279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21257280, 'pht': 3726}}" where mtr_portfolio_id = 21257252 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21257252 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379301, 0.0509679334191812, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21257252_11-03-2025_05_04_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21257269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21257270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21257271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21257272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21257273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21257274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21257275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21257276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21257277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21257278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21257279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21257280, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21258215 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660949, 'mtr_portfolio_id': 21258215, 'created_at': datetime.datetime(2025, 3, 12, 5, 42, 46), 'result': '0.06313350475949812', 'result_long': None, 'result_double': None}] Qualite : 0.06313350475949812 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21258215 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21258215_12-03-2025_05_42_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21258215 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21258215_12-03-2025_05_42_48.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21258216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21258217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21258218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21258219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21258220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21258221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21258222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21258223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21258224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21258225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21258226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21258227, 'pht': 3726}}" where mtr_portfolio_id = 21258215 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21258215 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379302, 0.06313350475949812, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21258215_12-03-2025_05_42_48.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21258216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21258217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21258218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21258219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21258220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21258221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21258222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21258223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21258224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21258225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21258226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21258227, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21258639 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660950, 'mtr_portfolio_id': 21258639, 'created_at': datetime.datetime(2025, 3, 12, 5, 42, 58), 'result': '0.0599842225543997', 'result_long': None, 'result_double': None}] Qualite : 0.0599842225543997 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21258639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21258639_11-03-2025_05_52_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21258639 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21258639_11-03-2025_05_52_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21258642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21258643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21258644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21258645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21258646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21258647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21258648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21258649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21258650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21258651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21258652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21258653, 'pht': 3726}}" where mtr_portfolio_id = 21258639 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21258639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379303, 0.0599842225543997, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21258639_11-03-2025_05_52_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21258642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21258643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21258644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21258645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21258646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21258647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21258648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21258649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21258650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21258651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21258652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21258653, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21259275 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660951, 'mtr_portfolio_id': 21259275, 'created_at': datetime.datetime(2025, 3, 12, 5, 43, 30), 'result': '0.06298987403948604', 'result_long': None, 'result_double': None}] Qualite : 0.06298987403948604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21259275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21259275_12-03-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21259275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21259275_12-03-2025_05_43_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21259278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21259279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21259280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21259281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21259282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21259283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21259284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21259285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21259286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21259287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21259288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21259289, 'pht': 3726}}" where mtr_portfolio_id = 21259275 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21259275 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379304, 0.06298987403948604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21259275_12-03-2025_05_43_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21259278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21259279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21259280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21259281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21259282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21259283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21259284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21259285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21259286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21259287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21259288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21259289, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21259792 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660952, 'mtr_portfolio_id': 21259792, 'created_at': datetime.datetime(2025, 3, 12, 5, 44, 39), 'result': '0.06674494132353073', 'result_long': None, 'result_double': None}] Qualite : 0.06674494132353073 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21259792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21259792_11-03-2025_06_01_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21259792 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21259792_11-03-2025_06_01_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21259805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21259806, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21259807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21259808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21259809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21259810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21259811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21259812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21259813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21259814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21259815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21259816, 'pht': 3726}}" where mtr_portfolio_id = 21259792 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21259792 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379305, 0.06674494132353073, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21259792_11-03-2025_06_01_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21259805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21259806, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21259807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21259808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21259809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21259810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21259811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21259812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21259813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21259814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21259815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21259816, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21260558 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660953, 'mtr_portfolio_id': 21260558, 'created_at': datetime.datetime(2025, 3, 12, 5, 44, 31), 'result': '0.07302776806366656', 'result_long': None, 'result_double': None}] Qualite : 0.07302776806366656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21260558 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21260558_12-03-2025_05_44_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21260558 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21260558_12-03-2025_05_44_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21260569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21260570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21260571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21260572, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21260573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21260574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21260575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21260576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21260577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21260578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21260579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21260580, 'pht': 3726}}" where mtr_portfolio_id = 21260558 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21260558 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379306, 0.07302776806366656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21260558_12-03-2025_05_44_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21260569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21260570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21260571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21260572, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21260573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21260574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21260575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21260576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21260577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21260578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21260579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21260580, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21261291 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660954, 'mtr_portfolio_id': 21261291, 'created_at': datetime.datetime(2025, 3, 12, 5, 45, 2), 'result': '0.06761366542959994', 'result_long': None, 'result_double': None}] Qualite : 0.06761366542959994 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21261291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21261291_11-03-2025_06_33_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21261291 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21261291_11-03-2025_06_33_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21261293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21261294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21261295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21261296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21261297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21261298, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21261300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21261301, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21261302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21261303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21261304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21261305, 'pht': 3726}}" where mtr_portfolio_id = 21261291 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21261291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379307, 0.06761366542959994, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21261291_11-03-2025_06_33_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21261293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21261294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21261295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21261296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21261297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21261298, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21261300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21261301, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21261302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21261303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21261304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21261305, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21261988 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660955, 'mtr_portfolio_id': 21261988, 'created_at': datetime.datetime(2025, 3, 12, 5, 45, 32), 'result': '0.06872362805585011', 'result_long': None, 'result_double': None}] Qualite : 0.06872362805585011 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21261988 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21261988_12-03-2025_05_45_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21261988 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21261988_12-03-2025_05_45_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21262027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21262028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21262029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21262030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21262031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21262032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21262033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21262034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21262035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21262036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21262037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21262038, 'pht': 3726}}" where mtr_portfolio_id = 21261988 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21261988 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379308, 0.06872362805585011, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21261988_12-03-2025_05_45_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21262027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21262028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21262029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21262030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21262031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21262032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21262033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21262034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21262035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21262036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21262037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21262038, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21262483 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660956, 'mtr_portfolio_id': 21262483, 'created_at': datetime.datetime(2025, 3, 12, 5, 46, 1), 'result': '0.0660448619247345', 'result_long': None, 'result_double': None}] Qualite : 0.0660448619247345 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21262483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21262483_11-03-2025_07_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21262483 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21262483_11-03-2025_07_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21262486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21262488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21262490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21262492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21262494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21262496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21262499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21262501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21262503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21262505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21262506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21262507, 'pht': 3726}}" where mtr_portfolio_id = 21262483 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21262483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379309, 0.0660448619247345, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21262483_11-03-2025_07_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21262486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21262488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21262490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21262492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21262494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21262496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21262499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21262501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21262503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21262505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21262506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21262507, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21263155 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660957, 'mtr_portfolio_id': 21263155, 'created_at': datetime.datetime(2025, 3, 12, 5, 46, 30), 'result': '0.06106890136039816', 'result_long': None, 'result_double': None}] Qualite : 0.06106890136039816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21263155 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21263155_11-03-2025_07_21_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21263155 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21263155_11-03-2025_07_21_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21263186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21263187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21263188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21263189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21263190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21263191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21263192, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21263193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21263194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21263195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21263196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21263197, 'pht': 3726}}" where mtr_portfolio_id = 21263155 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21263155 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379310, 0.06106890136039816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21263155_11-03-2025_07_21_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21263186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21263187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21263188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21263189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21263190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21263191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21263192, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21263193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21263194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21263195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21263196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21263197, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21263614 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660958, 'mtr_portfolio_id': 21263614, 'created_at': datetime.datetime(2025, 3, 12, 5, 48, 3), 'result': '0.06414643875808161', 'result_long': None, 'result_double': None}] Qualite : 0.06414643875808161 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21263614 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21263614_11-03-2025_07_36_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21263614 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21263614_11-03-2025_07_36_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21263687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21263688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21263689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21263690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21263691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21263692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21263693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21263694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21263695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21263696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21263697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21263698, 'pht': 3726}}" where mtr_portfolio_id = 21263614 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21263614 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379311, 0.06414643875808161, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21263614_11-03-2025_07_36_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21263687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21263688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21263689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21263690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21263691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21263692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21263693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21263694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21263695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21263696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21263697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21263698, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21264563 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660959, 'mtr_portfolio_id': 21264563, 'created_at': datetime.datetime(2025, 3, 12, 5, 48, 39), 'result': '0.06478818414412027', 'result_long': None, 'result_double': None}] Qualite : 0.06478818414412027 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21264563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21264563_11-03-2025_07_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21264563 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21264563_11-03-2025_07_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21264567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21264568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21264569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21264570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21264572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21264573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21264574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21264576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21264577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21264578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21264580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21264581, 'pht': 3726}}" where mtr_portfolio_id = 21264563 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21264563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379312, 0.06478818414412027, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21264563_11-03-2025_07_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21264567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21264568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21264569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21264570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21264572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21264573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21264574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21264576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21264577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21264578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21264580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21264581, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21265070 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660960, 'mtr_portfolio_id': 21265070, 'created_at': datetime.datetime(2025, 3, 12, 5, 49, 4), 'result': '0.055429614899832655', 'result_long': None, 'result_double': None}] Qualite : 0.055429614899832655 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21265070 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21265070_12-03-2025_05_49_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21265070 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21265070_12-03-2025_05_49_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21265131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21265132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21265133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21265134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21265135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21265136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21265137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21265138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21265139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21265140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21265141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21265142, 'pht': 3726}}" where mtr_portfolio_id = 21265070 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21265070 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379313, 0.055429614899832655, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21265070_12-03-2025_05_49_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21265131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21265132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21265133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21265134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21265135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21265136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21265137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21265138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21265139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21265140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21265141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21265142, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21265740 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660961, 'mtr_portfolio_id': 21265740, 'created_at': datetime.datetime(2025, 3, 12, 5, 49, 34), 'result': '0.05948400759321219', 'result_long': None, 'result_double': None}] Qualite : 0.05948400759321219 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21265740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21265740_11-03-2025_08_20_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21265740 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21265740_11-03-2025_08_20_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21265765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21265766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21265767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21265768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21265769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21265770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21265771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21265772, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21265773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21265774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21265775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21265776, 'pht': 3726}}" where mtr_portfolio_id = 21265740 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21265740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379314, 0.05948400759321219, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21265740_11-03-2025_08_20_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21265765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21265766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21265767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21265768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21265769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21265770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21265771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21265772, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21265773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21265774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21265775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21265776, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21266677 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660962, 'mtr_portfolio_id': 21266677, 'created_at': datetime.datetime(2025, 3, 12, 5, 50, 1), 'result': '0.08927224385075201', 'result_long': None, 'result_double': None}] Qualite : 0.08927224385075201 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21266677 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21266677_12-03-2025_05_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21266677 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21266677_12-03-2025_05_50_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21266680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21266681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21266682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21266683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21266684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21266685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21266686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21266687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21266688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21266689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21266690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21266691, 'pht': 3726}}" where mtr_portfolio_id = 21266677 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21266677 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379315, 0.08927224385075201, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21266677_12-03-2025_05_50_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21266680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21266681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21266682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21266683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21266684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21266685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21266686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21266687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21266688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21266689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21266690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21266691, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21267494 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660963, 'mtr_portfolio_id': 21267494, 'created_at': datetime.datetime(2025, 3, 12, 5, 50, 28), 'result': '0.07508359199756523', 'result_long': None, 'result_double': None}] Qualite : 0.07508359199756523 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21267494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21267494_12-03-2025_05_50_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21267494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21267494_12-03-2025_05_50_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21267519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21267520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21267521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21267522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21267523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21267524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21267525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21267526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21267527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21267528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21267529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21267530, 'pht': 3726}}" where mtr_portfolio_id = 21267494 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21267494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379316, 0.07508359199756523, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21267494_12-03-2025_05_50_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21267519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21267520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21267521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21267522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21267523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21267524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21267525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21267526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21267527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21267528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21267529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21267530, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21268290 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660964, 'mtr_portfolio_id': 21268290, 'created_at': datetime.datetime(2025, 3, 12, 5, 50, 36), 'result': '0.08060799776864691', 'result_long': None, 'result_double': None}] Qualite : 0.08060799776864691 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21268290 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21268290_11-03-2025_09_05_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21268290 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21268290_11-03-2025_09_05_13.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21268340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21268341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21268342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21268343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21268344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21268345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21268346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21268347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21268348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21268349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21268350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21268351, 'pht': 3726}}" where mtr_portfolio_id = 21268290 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21268290 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379317, 0.08060799776864691, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21268290_11-03-2025_09_05_13.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21268340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21268341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21268342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21268343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21268344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21268345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21268346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21268347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21268348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21268349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21268350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21268351, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21270987 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660965, 'mtr_portfolio_id': 21270987, 'created_at': datetime.datetime(2025, 3, 12, 5, 51), 'result': '0.06569308364366018', 'result_long': None, 'result_double': None}] Qualite : 0.06569308364366018 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21270987 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21270987_11-03-2025_09_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21270987 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21270987_11-03-2025_09_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21270988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21270989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21270990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21270991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21270992, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21270993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21270994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21270995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21270996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21270997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21270998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21270999, 'pht': 3726}}" where mtr_portfolio_id = 21270987 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21270987 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379318, 0.06569308364366018, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21270987_11-03-2025_09_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21270988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21270989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21270990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21270991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21270992, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21270993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21270994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21270995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21270996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21270997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21270998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21270999, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21271484 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660966, 'mtr_portfolio_id': 21271484, 'created_at': datetime.datetime(2025, 3, 12, 5, 51, 30), 'result': '0.06815529145482094', 'result_long': None, 'result_double': None}] Qualite : 0.06815529145482094 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21271484 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21271484_11-03-2025_09_57_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21271484 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21271484_11-03-2025_09_57_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21271517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21271518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21271519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21271520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21271521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21271522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21271523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21271524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21271525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21271526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21271527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21271528, 'pht': 3726}}" where mtr_portfolio_id = 21271484 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21271484 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379319, 0.06815529145482094, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21271484_11-03-2025_09_57_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21271517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21271518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21271519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21271520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21271521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21271522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21271523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21271524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21271525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21271526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21271527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21271528, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21272434 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660967, 'mtr_portfolio_id': 21272434, 'created_at': datetime.datetime(2025, 3, 12, 5, 52, 1), 'result': '0.07202484536052899', 'result_long': None, 'result_double': None}] Qualite : 0.07202484536052899 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21272434 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21272434_12-03-2025_05_52_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21272434 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21272434_12-03-2025_05_52_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21272495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21272496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21272497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21272498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21272499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21272500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21272501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21272502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21272503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21272504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21272505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21272506, 'pht': 3726}}" where mtr_portfolio_id = 21272434 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21272434 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379320, 0.07202484536052899, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21272434_12-03-2025_05_52_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21272495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21272496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21272497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21272498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21272499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21272500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21272501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21272502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21272503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21272504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21272505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21272506, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21274348 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660968, 'mtr_portfolio_id': 21274348, 'created_at': datetime.datetime(2025, 3, 12, 5, 52, 32), 'result': '0.09243485031577982', 'result_long': None, 'result_double': None}] Qualite : 0.09243485031577982 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21274348 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21274348_11-03-2025_10_48_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21274348 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21274348_11-03-2025_10_48_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21274349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21274350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21274351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21274353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21274355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21274357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21274359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21274361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21274363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21274365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21274367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21274370, 'pht': 3726}}" where mtr_portfolio_id = 21274348 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21274348 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379321, 0.09243485031577982, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21274348_11-03-2025_10_48_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21274349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21274350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21274351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21274353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21274355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21274357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21274359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21274361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21274363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21274365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21274367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21274370, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21274952 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2657627, 'mtr_portfolio_id': 21274952, 'created_at': datetime.datetime(2025, 3, 11, 11, 3, 2), 'result': '0.061270237211016196', 'result_long': None, 'result_double': None}] Qualite : 0.061270237211016196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21274952 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21274952_11-03-2025_11_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21274952 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21274952_11-03-2025_11_03_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21274981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21274982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21274983, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21274984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21274985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21274986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21274987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21274988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21274989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21274990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21274991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21274992, 'pht': 3726}}" where mtr_portfolio_id = 21274952 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21274952 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379322, 0.061270237211016196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21274952_11-03-2025_11_03_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21274981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21274982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21274983, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21274984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21274985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21274986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21274987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21274988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21274989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21274990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21274991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21274992, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21275965 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2657698, 'mtr_portfolio_id': 21275965, 'created_at': datetime.datetime(2025, 3, 11, 11, 25, 2), 'result': '0.06700432011430651', 'result_long': None, 'result_double': None}] Qualite : 0.06700432011430651 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21275965 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21275965_11-03-2025_11_25_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21275965 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21275965_11-03-2025_11_25_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21275966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21275967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21275968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21275969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21275970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21275971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21275972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21275973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21275974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21275975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21275976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21275977, 'pht': 3726}}" where mtr_portfolio_id = 21275965 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21275965 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379323, 0.06700432011430651, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21275965_11-03-2025_11_25_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21275966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21275967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21275968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21275969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21275970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21275971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21275972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21275973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21275974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21275975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21275976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21275977, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21277375 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2657746, 'mtr_portfolio_id': 21277375, 'created_at': datetime.datetime(2025, 3, 11, 11, 32, 57), 'result': '0.06444317308121753', 'result_long': None, 'result_double': None}] Qualite : 0.06444317308121753 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21277375 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21277375_11-03-2025_11_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21277375 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21277375_11-03-2025_11_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21277378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21277379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21277380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21277381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21277382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21277383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21277384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21277385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21277386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21277387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21277388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21277389, 'pht': 3726}}" where mtr_portfolio_id = 21277375 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21277375 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379324, 0.06444317308121753, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21277375_11-03-2025_11_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21277378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21277379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21277380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21277381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21277382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21277383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21277384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21277385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21277386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21277387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21277388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21277389, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21277828 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2657785, 'mtr_portfolio_id': 21277828, 'created_at': datetime.datetime(2025, 3, 11, 11, 48, 6), 'result': '0.05508029696401546', 'result_long': None, 'result_double': None}] Qualite : 0.05508029696401546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21277828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21277828_11-03-2025_11_48_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21277828 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21277828_11-03-2025_11_48_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21277847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21277848, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21277849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21277850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21277851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21277852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21277853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21277854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21277855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21277856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21277857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21277858, 'pht': 3726}}" where mtr_portfolio_id = 21277828 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21277828 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379325, 0.05508029696401546, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21277828_11-03-2025_11_48_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21277847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21277848, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21277849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21277850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21277851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21277852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21277853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21277854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21277855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21277856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21277857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21277858, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21279043 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2657834, 'mtr_portfolio_id': 21279043, 'created_at': datetime.datetime(2025, 3, 11, 12, 4, 59), 'result': '0.060109770992889736', 'result_long': None, 'result_double': None}] Qualite : 0.060109770992889736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21279043 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21279043_11-03-2025_12_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21279043 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21279043_11-03-2025_12_04_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21279073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21279074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21279075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21279076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21279077, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21279078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21279079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21279080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21279081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21279082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21279083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21279084, 'pht': 3726}}" where mtr_portfolio_id = 21279043 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21279043 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379326, 0.060109770992889736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21279043_11-03-2025_12_04_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21279073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21279074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21279075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21279076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21279077, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21279078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21279079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21279080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21279081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21279082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21279083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21279084, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21280201 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2657878, 'mtr_portfolio_id': 21280201, 'created_at': datetime.datetime(2025, 3, 11, 12, 20, 59), 'result': '0.05856664228058519', 'result_long': None, 'result_double': None}] Qualite : 0.05856664228058519 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21280201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21280201_11-03-2025_12_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21280201 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21280201_11-03-2025_12_21_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21280284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21280285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21280286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21280287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21280288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21280289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21280290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21280291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21280292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21280293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21280294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21280295, 'pht': 3726}}" where mtr_portfolio_id = 21280201 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21280201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379327, 0.05856664228058519, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21280201_11-03-2025_12_21_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21280284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21280285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21280286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21280287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21280288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21280289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21280290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21280291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21280292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21280293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21280294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21280295, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21281654 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2657944, 'mtr_portfolio_id': 21281654, 'created_at': datetime.datetime(2025, 3, 11, 12, 32, 59), 'result': '0.05416265340618014', 'result_long': None, 'result_double': None}] Qualite : 0.05416265340618014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21281654 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21281654_11-03-2025_12_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21281654 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21281654_11-03-2025_12_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21281724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21281725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21281726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21281727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21281728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21281729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21281730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21281731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21281732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21281733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21281734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21281735, 'pht': 3726}}" where mtr_portfolio_id = 21281654 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21281654 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379328, 0.05416265340618014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21281654_11-03-2025_12_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21281724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21281725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21281726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21281727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21281728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21281729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21281730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21281731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21281732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21281733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21281734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21281735, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21282447 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658006, 'mtr_portfolio_id': 21282447, 'created_at': datetime.datetime(2025, 3, 11, 12, 57, 1), 'result': '0.047236435972464005', 'result_long': None, 'result_double': None}] Qualite : 0.047236435972464005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21282447 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21282447_11-03-2025_12_57_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21282447 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21282447_11-03-2025_12_57_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21282448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21282449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21282450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21282451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21282452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21282453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21282454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21282455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21282456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21282457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21282458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21282459, 'pht': 3726}}" where mtr_portfolio_id = 21282447 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21282447 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379329, 0.047236435972464005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21282447_11-03-2025_12_57_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21282448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21282449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21282450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21282451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21282452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21282453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21282454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21282455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21282456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21282457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21282458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21282459, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21284381 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658083, 'mtr_portfolio_id': 21284381, 'created_at': datetime.datetime(2025, 3, 11, 13, 21, 1), 'result': '0.038878116200891835', 'result_long': None, 'result_double': None}] Qualite : 0.038878116200891835 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21284381 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21284381_11-03-2025_13_21_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21284381 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21284381_11-03-2025_13_21_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21284398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21284399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21284400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21284401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21284402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21284403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21284404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21284405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21284406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21284407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21284408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21284409, 'pht': 3726}}" where mtr_portfolio_id = 21284381 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21284381 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379330, 0.038878116200891835, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21284381_11-03-2025_13_21_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21284398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21284399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21284400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21284401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21284402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21284403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21284404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21284405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21284406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21284407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21284408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21284409, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21285026 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658111, 'mtr_portfolio_id': 21285026, 'created_at': datetime.datetime(2025, 3, 11, 13, 32, 59), 'result': '0.05621428444191229', 'result_long': None, 'result_double': None}] Qualite : 0.05621428444191229 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21285026 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21285026_11-03-2025_13_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21285026 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21285026_11-03-2025_13_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21285075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21285076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21285077, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21285078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21285079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21285080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21285081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21285082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21285083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21285084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21285085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21285086, 'pht': 3726}}" where mtr_portfolio_id = 21285026 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21285026 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379331, 0.05621428444191229, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21285026_11-03-2025_13_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21285075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21285076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21285077, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21285078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21285079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21285080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21285081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21285082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21285083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21285084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21285085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21285086, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21285881 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658158, 'mtr_portfolio_id': 21285881, 'created_at': datetime.datetime(2025, 3, 11, 13, 50, 58), 'result': '0.05675840012529667', 'result_long': None, 'result_double': None}] Qualite : 0.05675840012529667 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21285881 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21285881_11-03-2025_13_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21285881 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21285881_11-03-2025_13_50_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21285884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21285885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21285886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21285887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21285888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21285889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21285890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21285891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21285892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21285893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21285894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21285895, 'pht': 3726}}" where mtr_portfolio_id = 21285881 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21285881 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379332, 0.05675840012529667, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21285881_11-03-2025_13_50_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21285884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21285885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21285886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21285887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21285888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21285889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21285890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21285891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21285892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21285893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21285894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21285895, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21286522 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658198, 'mtr_portfolio_id': 21286522, 'created_at': datetime.datetime(2025, 3, 11, 14, 7), 'result': '0.06279214832119401', 'result_long': None, 'result_double': None}] Qualite : 0.06279214832119401 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21286522 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21286522_11-03-2025_14_07_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21286522 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21286522_11-03-2025_14_07_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21286536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21286537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21286538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21286539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21286540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21286541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21286542, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21286543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21286544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21286545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21286546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21286547, 'pht': 3726}}" where mtr_portfolio_id = 21286522 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21286522 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379333, 0.06279214832119401, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21286522_11-03-2025_14_07_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21286536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21286537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21286538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21286539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21286540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21286541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21286542, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21286543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21286544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21286545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21286546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21286547, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21287307 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658259, 'mtr_portfolio_id': 21287307, 'created_at': datetime.datetime(2025, 3, 11, 14, 20, 59), 'result': '0.059306368382292876', 'result_long': None, 'result_double': None}] Qualite : 0.059306368382292876 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21287307 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21287307_11-03-2025_14_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21287307 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21287307_11-03-2025_14_21_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21287345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21287346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21287347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21287348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21287349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21287350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21287351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21287352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21287353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21287354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21287355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21287356, 'pht': 3726}}" where mtr_portfolio_id = 21287307 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21287307 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379334, 0.059306368382292876, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21287307_11-03-2025_14_21_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21287345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21287346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21287347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21287348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21287349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21287350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21287351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21287352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21287353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21287354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21287355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21287356, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21288100 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658300, 'mtr_portfolio_id': 21288100, 'created_at': datetime.datetime(2025, 3, 11, 14, 32, 59), 'result': '0.07271295487057525', 'result_long': None, 'result_double': None}] Qualite : 0.07271295487057525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21288100 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21288100_11-03-2025_14_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21288100 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21288100_11-03-2025_14_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21288185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21288186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21288187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21288188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21288189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21288190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21288191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21288192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21288193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21288194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21288196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21288197, 'pht': 3726}}" where mtr_portfolio_id = 21288100 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21288100 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379335, 0.07271295487057525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21288100_11-03-2025_14_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21288185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21288186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21288187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21288188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21288189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21288190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21288191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21288192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21288193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21288194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21288196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21288197, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21288922 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658363, 'mtr_portfolio_id': 21288922, 'created_at': datetime.datetime(2025, 3, 11, 14, 48, 58), 'result': '0.0711878413736381', 'result_long': None, 'result_double': None}] Qualite : 0.0711878413736381 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21288922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21288922_11-03-2025_14_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21288922 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21288922_11-03-2025_14_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21288935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21288936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21288937, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21288938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21288939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21288940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21288941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21288942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21288943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21288944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21288945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21288946, 'pht': 3726}}" where mtr_portfolio_id = 21288922 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21288922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379336, 0.0711878413736381, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21288922_11-03-2025_14_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21288935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21288936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21288937, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21288938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21288939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21288940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21288941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21288942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21288943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21288944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21288945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21288946, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21289999 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658407, 'mtr_portfolio_id': 21289999, 'created_at': datetime.datetime(2025, 3, 11, 15, 2, 59), 'result': '0.06463648848266758', 'result_long': None, 'result_double': None}] Qualite : 0.06463648848266758 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21289999 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21289999_11-03-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21289999 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21289999_11-03-2025_15_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21290054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21290055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21290056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21290057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21290058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21290059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21290060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21290061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21290062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21290063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21290064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21290065, 'pht': 3726}}" where mtr_portfolio_id = 21289999 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21289999 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379337, 0.06463648848266758, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21289999_11-03-2025_15_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21290054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21290055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21290056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21290057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21290058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21290059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21290060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21290061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21290062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21290063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21290064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21290065, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21290771 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658485, 'mtr_portfolio_id': 21290771, 'created_at': datetime.datetime(2025, 3, 11, 15, 21), 'result': '0.07674918487790915', 'result_long': None, 'result_double': None}] Qualite : 0.07674918487790915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21290771 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21290771_11-03-2025_15_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21290771 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21290771_11-03-2025_15_21_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21290832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21290833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21290834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21290835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21290836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21290837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21290838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21290839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21290840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21290841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21290842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21290843, 'pht': 3726}}" where mtr_portfolio_id = 21290771 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21290771 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379338, 0.07674918487790915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21290771_11-03-2025_15_21_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21290832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21290833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21290834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21290835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21290836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21290837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21290838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21290839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21290840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21290841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21290842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21290843, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21291523 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658529, 'mtr_portfolio_id': 21291523, 'created_at': datetime.datetime(2025, 3, 11, 15, 33), 'result': '0.07358332947441941', 'result_long': None, 'result_double': None}] Qualite : 0.07358332947441941 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21291523 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21291523_11-03-2025_15_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21291523 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21291523_11-03-2025_15_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21291656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21291657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21291658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21291659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21291660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21291661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21291662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21291663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21291664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21291665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21291666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21291667, 'pht': 3726}}" where mtr_portfolio_id = 21291523 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21291523 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379339, 0.07358332947441941, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21291523_11-03-2025_15_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21291656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21291657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21291658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21291659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21291660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21291661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21291662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21291663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21291664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21291665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21291666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21291667, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21292609 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658596, 'mtr_portfolio_id': 21292609, 'created_at': datetime.datetime(2025, 3, 11, 15, 49, 28), 'result': '0.07274373967134913', 'result_long': None, 'result_double': None}] Qualite : 0.07274373967134913 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21292609 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21292609_11-03-2025_15_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21292609 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21292609_11-03-2025_15_49_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21292622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21292623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21292624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21292625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21292626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21292627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21292628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21292629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21292630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21292631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21292632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21292633, 'pht': 3726}}" where mtr_portfolio_id = 21292609 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21292609 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379340, 0.07274373967134913, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21292609_11-03-2025_15_49_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21292622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21292623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21292624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21292625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21292626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21292627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21292628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21292629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21292630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21292631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21292632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21292633, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21293205 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658622, 'mtr_portfolio_id': 21293205, 'created_at': datetime.datetime(2025, 3, 11, 16, 2, 59), 'result': '0.0658398990723713', 'result_long': None, 'result_double': None}] Qualite : 0.0658398990723713 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21293205 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21293205_11-03-2025_16_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21293205 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21293205_11-03-2025_16_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21293252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21293253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21293254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21293255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21293256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21293257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21293258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21293259, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21293260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21293261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21293262, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21293263, 'pht': 3726}}" where mtr_portfolio_id = 21293205 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21293205 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379341, 0.0658398990723713, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21293205_11-03-2025_16_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21293252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21293253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21293254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21293255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21293256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21293257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21293258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21293259, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21293260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21293261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21293262, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21293263, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21294338 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658690, 'mtr_portfolio_id': 21294338, 'created_at': datetime.datetime(2025, 3, 11, 16, 18, 1), 'result': '0.06976271512776594', 'result_long': None, 'result_double': None}] Qualite : 0.06976271512776594 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21294338 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21294338_11-03-2025_16_18_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21294338 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21294338_11-03-2025_16_18_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21294339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21294340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21294341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21294342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21294343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21294344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21294345, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21294346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21294347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21294348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21294349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21294350, 'pht': 3726}}" where mtr_portfolio_id = 21294338 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21294338 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379342, 0.06976271512776594, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21294338_11-03-2025_16_18_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21294339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21294340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21294341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21294342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21294343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21294344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21294345, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21294346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21294347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21294348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21294349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21294350, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21295180 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658728, 'mtr_portfolio_id': 21295180, 'created_at': datetime.datetime(2025, 3, 11, 16, 33, 4), 'result': '0.06787483491200408', 'result_long': None, 'result_double': None}] Qualite : 0.06787483491200408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21295180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21295180_11-03-2025_16_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21295180 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21295180_11-03-2025_16_33_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21295234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21295235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21295237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21295238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21295239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21295241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21295242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21295243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21295245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21295246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21295247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21295249, 'pht': 3726}}" where mtr_portfolio_id = 21295180 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21295180 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379343, 0.06787483491200408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21295180_11-03-2025_16_33_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21295234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21295235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21295237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21295238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21295239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21295241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21295242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21295243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21295245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21295246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21295247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21295249, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21296139 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658800, 'mtr_portfolio_id': 21296139, 'created_at': datetime.datetime(2025, 3, 11, 16, 48, 2), 'result': '0.07193525091200008', 'result_long': None, 'result_double': None}] Qualite : 0.07193525091200008 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21296139 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296139_11-03-2025_16_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21296139 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296139_11-03-2025_16_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21296148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296151, 'pht': 3726}}" where mtr_portfolio_id = 21296139 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21296139 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379344, 0.07193525091200008, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296139_11-03-2025_16_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21296148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296151, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21296935 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658827, 'mtr_portfolio_id': 21296935, 'created_at': datetime.datetime(2025, 3, 11, 17, 5, 1), 'result': '0.08099840915747374', 'result_long': None, 'result_double': None}] Qualite : 0.08099840915747374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21296935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296935_11-03-2025_17_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21296935 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296935_11-03-2025_17_05_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21296953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296964, 'pht': 3726}}" where mtr_portfolio_id = 21296935 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21296935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379345, 0.08099840915747374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296935_11-03-2025_17_05_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21296953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296964, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21297690 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658882, 'mtr_portfolio_id': 21297690, 'created_at': datetime.datetime(2025, 3, 11, 17, 21), 'result': '0.06864296636137529', 'result_long': None, 'result_double': None}] Qualite : 0.06864296636137529 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21297690 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21297690_11-03-2025_17_21_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21297690 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21297690_11-03-2025_17_21_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21297763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21297764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21297765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21297766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21297767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21297768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21297769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21297770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21297771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21297772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21297774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21297775, 'pht': 3726}}" where mtr_portfolio_id = 21297690 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21297690 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379346, 0.06864296636137529, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21297690_11-03-2025_17_21_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21297763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21297764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21297765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21297766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21297767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21297768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21297769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21297770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21297771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21297772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21297774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21297775, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21298566 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2658917, 'mtr_portfolio_id': 21298566, 'created_at': datetime.datetime(2025, 3, 11, 17, 32, 59), 'result': '0.07852440913351555', 'result_long': None, 'result_double': None}] Qualite : 0.07852440913351555 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21298566 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21298566_11-03-2025_17_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21298566 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21298566_11-03-2025_17_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21298615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21298616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21298617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21298618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21298619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21298620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21298621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21298622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21298623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21298624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21298625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21298626, 'pht': 3726}}" where mtr_portfolio_id = 21298566 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21298566 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379347, 0.07852440913351555, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21298566_11-03-2025_17_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21298615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21298616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21298617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21298618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21298619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21298620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21298621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21298622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21298623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21298624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21298625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21298626, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21300323 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659047, 'mtr_portfolio_id': 21300323, 'created_at': datetime.datetime(2025, 3, 11, 18, 19), 'result': '0.05392843308567019', 'result_long': None, 'result_double': None}] Qualite : 0.05392843308567019 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21300323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21300323_11-03-2025_18_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21300323 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21300323_11-03-2025_18_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21300348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21300349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21300350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21300351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21300352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21300353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21300354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21300355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21300356, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21300357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21300358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21300359, 'pht': 3726}}" where mtr_portfolio_id = 21300323 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21300323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379348, 0.05392843308567019, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21300323_11-03-2025_18_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21300348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21300349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21300350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21300351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21300352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21300353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21300354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21300355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21300356, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21300357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21300358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21300359, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21300708 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659085, 'mtr_portfolio_id': 21300708, 'created_at': datetime.datetime(2025, 3, 11, 18, 33, 1), 'result': '0.051192878180644864', 'result_long': None, 'result_double': None}] Qualite : 0.051192878180644864 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21300708 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21300708_11-03-2025_18_19_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21300708 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21300708_11-03-2025_18_19_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21300749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21300750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21300751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21300752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21300753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21300754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21300755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21300756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21300757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21300758, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21300759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21300760, 'pht': 3726}}" where mtr_portfolio_id = 21300708 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21300708 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379349, 0.051192878180644864, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21300708_11-03-2025_18_19_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21300749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21300750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21300751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21300752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21300753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21300754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21300755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21300756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21300757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21300758, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21300759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21300760, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21301375 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659142, 'mtr_portfolio_id': 21301375, 'created_at': datetime.datetime(2025, 3, 11, 18, 48, 58), 'result': '0.07221075704859409', 'result_long': None, 'result_double': None}] Qualite : 0.07221075704859409 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21301375 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21301375_11-03-2025_18_34_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21301375 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21301375_11-03-2025_18_34_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21301386, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21301387, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21301388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21301389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21301390, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21301391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21301392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21301393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21301394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21301395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21301396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21301397, 'pht': 3726}}" where mtr_portfolio_id = 21301375 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21301375 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379350, 0.07221075704859409, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21301375_11-03-2025_18_34_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21301386, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21301387, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21301388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21301389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21301390, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21301391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21301392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21301393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21301394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21301395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21301396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21301397, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21302206 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659191, 'mtr_portfolio_id': 21302206, 'created_at': datetime.datetime(2025, 3, 11, 19, 3, 59), 'result': '0.05414101871496152', 'result_long': None, 'result_double': None}] Qualite : 0.05414101871496152 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21302206 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21302206_11-03-2025_18_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21302206 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21302206_11-03-2025_18_49_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21302255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21302256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21302257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21302258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21302259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21302260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21302261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21302262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21302263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21302264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21302265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21302266, 'pht': 3726}}" where mtr_portfolio_id = 21302206 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21302206 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379351, 0.05414101871496152, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21302206_11-03-2025_18_49_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21302255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21302256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21302257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21302258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21302259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21302260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21302261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21302262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21302263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21302264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21302265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21302266, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21303075 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659244, 'mtr_portfolio_id': 21303075, 'created_at': datetime.datetime(2025, 3, 11, 19, 17, 30), 'result': '0.07165204742663832', 'result_long': None, 'result_double': None}] Qualite : 0.07165204742663832 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21303075 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21303075_11-03-2025_19_06_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21303075 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21303075_11-03-2025_19_06_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21303190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21303194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21303195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21303196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21303197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21303198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21303199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21303200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21303201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21303202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21303204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21303209, 'pht': 3726}}" where mtr_portfolio_id = 21303075 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21303075 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379352, 0.07165204742663832, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21303075_11-03-2025_19_06_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21303190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21303194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21303195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21303196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21303197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21303198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21303199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21303200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21303201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21303202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21303204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21303209, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21304387 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659294, 'mtr_portfolio_id': 21304387, 'created_at': datetime.datetime(2025, 3, 11, 19, 35, 30), 'result': '0.05295210931662141', 'result_long': None, 'result_double': None}] Qualite : 0.05295210931662141 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21304387 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21304387_11-03-2025_19_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21304387 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21304387_11-03-2025_19_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21304457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21304458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21304459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21304460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21304461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21304462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21304463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21304464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21304465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21304466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21304467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21304468, 'pht': 3726}}" where mtr_portfolio_id = 21304387 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21304387 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379353, 0.05295210931662141, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21304387_11-03-2025_19_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21304457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21304458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21304459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21304460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21304461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21304462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21304463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21304464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21304465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21304466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21304467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21304468, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21305160 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659353, 'mtr_portfolio_id': 21305160, 'created_at': datetime.datetime(2025, 3, 11, 19, 49, 1), 'result': '0.07315978438042056', 'result_long': None, 'result_double': None}] Qualite : 0.07315978438042056 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21305160 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21305160_11-03-2025_19_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21305160 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21305160_11-03-2025_19_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21305185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21305186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21305187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21305188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21305189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21305190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21305191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21305192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21305193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21305194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21305195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21305196, 'pht': 3726}}" where mtr_portfolio_id = 21305160 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21305160 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379354, 0.07315978438042056, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21305160_11-03-2025_19_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21305185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21305186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21305187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21305188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21305189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21305190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21305191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21305192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21305193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21305194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21305195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21305196, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21305972 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659407, 'mtr_portfolio_id': 21305972, 'created_at': datetime.datetime(2025, 3, 11, 20, 5, 2), 'result': '0.06434961334001617', 'result_long': None, 'result_double': None}] Qualite : 0.06434961334001617 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21305972 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21305972_11-03-2025_20_05_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21305972 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21305972_11-03-2025_20_05_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21306013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21306014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21306015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21306017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21306019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21306021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21306023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21306026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21306028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21306030, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21306032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21306034, 'pht': 3726}}" where mtr_portfolio_id = 21305972 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21305972 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379355, 0.06434961334001617, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21305972_11-03-2025_20_05_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21306013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21306014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21306015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21306017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21306019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21306021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21306023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21306026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21306028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21306030, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21306032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21306034, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21306716 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659471, 'mtr_portfolio_id': 21306716, 'created_at': datetime.datetime(2025, 3, 11, 20, 17, 29), 'result': '0.06280255699653875', 'result_long': None, 'result_double': None}] Qualite : 0.06280255699653875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21306716 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21306716_11-03-2025_20_08_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21306716 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21306716_11-03-2025_20_08_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21306753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21306754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21306755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21306756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21306757, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21306758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21306759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21306760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21306761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21306762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21306763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21306764, 'pht': 3726}}" where mtr_portfolio_id = 21306716 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21306716 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379356, 0.06280255699653875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21306716_11-03-2025_20_08_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21306753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21306754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21306755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21306756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21306757, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21306758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21306759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21306760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21306761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21306762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21306763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21306764, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21307713 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659513, 'mtr_portfolio_id': 21307713, 'created_at': datetime.datetime(2025, 3, 11, 20, 33, 4), 'result': '0.07786306669879538', 'result_long': None, 'result_double': None}] Qualite : 0.07786306669879538 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21307713 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21307713_11-03-2025_20_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21307713 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21307713_11-03-2025_20_33_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21307768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21307769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21307770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21307771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21307772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21307773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21307774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21307775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21307776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21307777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21307778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21307779, 'pht': 3726}}" where mtr_portfolio_id = 21307713 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21307713 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379357, 0.07786306669879538, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21307713_11-03-2025_20_33_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21307768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21307769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21307770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21307771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21307772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21307773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21307774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21307775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21307776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21307777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21307778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21307779, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21308578 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659563, 'mtr_portfolio_id': 21308578, 'created_at': datetime.datetime(2025, 3, 11, 21, 6), 'result': '0.07594532110457287', 'result_long': None, 'result_double': None}] Qualite : 0.07594532110457287 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21308578 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21308578_11-03-2025_21_06_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21308578 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21308578_11-03-2025_21_06_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21308651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21308652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21308653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21308654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21308655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21308656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21308657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21308658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21308659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21308660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21308661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21308662, 'pht': 3726}}" where mtr_portfolio_id = 21308578 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21308578 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379358, 0.07594532110457287, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21308578_11-03-2025_21_06_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21308651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21308652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21308653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21308654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21308655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21308656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21308657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21308658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21308659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21308660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21308661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21308662, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21310213 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659643, 'mtr_portfolio_id': 21310213, 'created_at': datetime.datetime(2025, 3, 11, 21, 19, 59), 'result': '0.08173754257695107', 'result_long': None, 'result_double': None}] Qualite : 0.08173754257695107 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21310213 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21310213%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21310213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310216, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310225, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 21310213 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21310213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379359, 0.08173754257695107, "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310216, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310225, 'pht': 3726}, 'url_report': ''}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21310476 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659663, 'mtr_portfolio_id': 21310476, 'created_at': datetime.datetime(2025, 3, 11, 21, 33, 36), 'result': '0.07168354068959866', 'result_long': None, 'result_double': None}] Qualite : 0.07168354068959866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21310476 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310476_11-03-2025_21_33_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21310476 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310476_11-03-2025_21_33_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310513, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310516, 'pht': 3726}}" where mtr_portfolio_id = 21310476 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21310476 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379360, 0.07168354068959866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310476_11-03-2025_21_33_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310513, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310516, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21310997 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659701, 'mtr_portfolio_id': 21310997, 'created_at': datetime.datetime(2025, 3, 11, 21, 49, 33), 'result': '0.059853846064212325', 'result_long': None, 'result_double': None}] Qualite : 0.059853846064212325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21310997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310997_11-03-2025_21_49_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21310997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310997_11-03-2025_21_49_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311031, 'pht': 3726}}" where mtr_portfolio_id = 21310997 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21310997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379361, 0.059853846064212325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310997_11-03-2025_21_49_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311031, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21311536 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659744, 'mtr_portfolio_id': 21311536, 'created_at': datetime.datetime(2025, 3, 11, 22, 4, 2), 'result': '0.06288673998227223', 'result_long': None, 'result_double': None}] Qualite : 0.06288673998227223 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21311536 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21311536_11-03-2025_21_49_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21311536 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21311536_11-03-2025_21_49_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311544, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311548, 'pht': 3726}}" where mtr_portfolio_id = 21311536 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21311536 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379362, 0.06288673998227223, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21311536_11-03-2025_21_49_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311544, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311548, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21312012 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659846, 'mtr_portfolio_id': 21312012, 'created_at': datetime.datetime(2025, 3, 11, 22, 19, 57), 'result': '0.07018446277838529', 'result_long': None, 'result_double': None}] Qualite : 0.07018446277838529 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21312012 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21312012_11-03-2025_22_07_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21312012 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21312012_11-03-2025_22_07_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21312136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21312137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21312138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21312139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21312140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21312141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21312142, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21312143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21312144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21312145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21312146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21312147, 'pht': 3726}}" where mtr_portfolio_id = 21312012 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21312012 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379363, 0.07018446277838529, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21312012_11-03-2025_22_07_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21312136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21312137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21312138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21312139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21312140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21312141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21312142, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21312143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21312144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21312145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21312146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21312147, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21313136 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659891, 'mtr_portfolio_id': 21313136, 'created_at': datetime.datetime(2025, 3, 11, 22, 33), 'result': '0.07049984474891408', 'result_long': None, 'result_double': None}] Qualite : 0.07049984474891408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21313136 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21313136_11-03-2025_22_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21313136 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21313136_11-03-2025_22_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21313212, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21313213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21313214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21313215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21313216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21313217, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21313218, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21313219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21313220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21313221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21313222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21313223, 'pht': 3726}}" where mtr_portfolio_id = 21313136 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21313136 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379364, 0.07049984474891408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21313136_11-03-2025_22_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21313212, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21313213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21313214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21313215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21313216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21313217, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21313218, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21313219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21313220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21313221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21313222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21313223, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21314183 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2659955, 'mtr_portfolio_id': 21314183, 'created_at': datetime.datetime(2025, 3, 11, 22, 48, 28), 'result': '0.08477700190286842', 'result_long': None, 'result_double': None}] Qualite : 0.08477700190286842 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21314183 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21314183_11-03-2025_22_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21314183 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21314183_11-03-2025_22_38_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21314189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21314190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21314191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21314192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21314193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21314194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21314195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21314196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21314197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21314198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21314199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21314200, 'pht': 3726}}" where mtr_portfolio_id = 21314183 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21314183 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379365, 0.08477700190286842, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21314183_11-03-2025_22_38_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21314189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21314190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21314191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21314192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21314193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21314194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21314195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21314196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21314197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21314198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21314199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21314200, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21315548 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660016, 'mtr_portfolio_id': 21315548, 'created_at': datetime.datetime(2025, 3, 11, 23, 4, 58), 'result': '0.06339181530339628', 'result_long': None, 'result_double': None}] Qualite : 0.06339181530339628 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21315548 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21315548%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21315548 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21315564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21315565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21315566, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21315567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21315568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21315569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21315570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21315571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21315572, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21315573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21315574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21315575, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 21315548 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21315548 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379366, 0.06339181530339628, "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21315564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21315565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21315566, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21315567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21315568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21315569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21315570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21315571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21315572, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21315573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21315574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21315575, 'pht': 3726}, 'url_report': ''}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21316639 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660061, 'mtr_portfolio_id': 21316639, 'created_at': datetime.datetime(2025, 3, 12, 0, 45, 59), 'result': '0.08680107619851347', 'result_long': None, 'result_double': None}] Qualite : 0.08680107619851347 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21316639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21316639_12-03-2025_00_46_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21316639 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21316639_12-03-2025_00_46_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21316691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21316692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21316693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21316694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21316695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21316696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21316697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21316698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21316699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21316700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21316701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21316702, 'pht': 3726}}" where mtr_portfolio_id = 21316639 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21316639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379367, 0.08680107619851347, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21316639_12-03-2025_00_46_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21316691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21316692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21316693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21316694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21316695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21316696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21316697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21316698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21316699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21316700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21316701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21316702, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21317594 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660099, 'mtr_portfolio_id': 21317594, 'created_at': datetime.datetime(2025, 3, 11, 23, 34), 'result': '0.0768172529849865', 'result_long': None, 'result_double': None}] Qualite : 0.0768172529849865 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21317594 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21317594_11-03-2025_23_20_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21317594 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21317594_11-03-2025_23_20_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21317641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21317642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21317644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21317645, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21317647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21317648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21317649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21317651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21317652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21317653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21317655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21317656, 'pht': 3726}}" where mtr_portfolio_id = 21317594 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21317594 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379368, 0.0768172529849865, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21317594_11-03-2025_23_20_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21317641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21317642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21317644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21317645, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21317647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21317648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21317649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21317651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21317652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21317653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21317655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21317656, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21318640 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660140, 'mtr_portfolio_id': 21318640, 'created_at': datetime.datetime(2025, 3, 11, 23, 49, 32), 'result': '0.09233070591556115', 'result_long': None, 'result_double': None}] Qualite : 0.09233070591556115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21318640 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21318640%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21318640 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21318643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21318644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21318645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21318646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21318647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21318648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21318649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21318650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21318651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21318652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21318653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21318654, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 21318640 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21318640 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379369, 0.09233070591556115, "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21318643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21318644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21318645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21318646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21318647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21318648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21318649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21318650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21318651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21318652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21318653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21318654, 'pht': 3726}, 'url_report': ''}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21319051 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2660172, 'mtr_portfolio_id': 21319051, 'created_at': datetime.datetime(2025, 3, 12, 0, 33), 'result': '0.08945353085397523', 'result_long': None, 'result_double': None}] Qualite : 0.08945353085397523 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21319051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21319051_12-03-2025_00_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21319051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21319051_12-03-2025_00_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21319052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21319053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21319054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21319055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21319056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21319057, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21319058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21319059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21319060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21319061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21319062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21319063, 'pht': 3726}}" where mtr_portfolio_id = 21319051 and dashboard_run_id = 1669067 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21319051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379370, 0.08945353085397523, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21319051_12-03-2025_00_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21319052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21319053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21319054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21319055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21319056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21319057, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21319058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21319059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21319060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21319061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21319062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21319063, '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 (21249450,21249839,21250319,21250930,21251739,21252370,21253064,21253689,21254485,21255240,21255924,21256458,21257252,21258215,21258639,21259275,21259792,21260558,21261291,21261988,21262483,21263155,21263614,21264563,21265070,21265740,21266677,21267494,21268290,21270987,21271484,21272434,21274348,21274952,21275965,21277375,21277828,21279043,21280201,21281654,21282447,21284381,21285026,21285881,21286522,21287307,21288100,21288922,21289999,21290771,21291523,21292609,21293205,21294338,21295180,21296139,21296935,21297690,21298566,21300323,21300708,21301375,21302206,21303075,21304387,21305160,21305972,21306716,21307713,21308578,21310213,21310476,21310997,21311536,21312012,21313136,21314183,21315548,21316639,21317594,21318640,21319051) result : ((1342752394,), (1342753269,), (1342753572,), (1342753788,), (1342753799,), (1342754291,), (1342754354,), (1342754428,), (1342754622,), (1342754629,), (1342754640,), (1342754644,), (1342755364,), (1342755447,), (1342756861,), (1342756812,), (1342758777,), (1342758875,), (1342759286,), (1342759591,), (1342759605,), (1342759626,), (1342759843,), (1342759848,), (1342759872,), (1342759875,), (1342759877,), (1342759947,), (1342759964,), (1342759990,), (1342760021,), (1342760618,), (1342760708,), (1342760787,), (1342760831,), (1342760855,), (1342761104,), (1342761126,), (1342761145,), (1342761161,), (1342761166,), (1342761557,), (1342761585,), (1342761595,), (1342761611,), (1342761631,), (1342761651,), (1342761826,), (1342761812,), (1342761814,), (1342761822,), (1342761824,), (1342762146,), (1342762203,), (1342762213,), (1342762248,), (1342762323,), (1342762347,), (1342762357,), (1342762367,), (1342762389,), (1342762463,), (1342762510,), (1342762551,), (1342762617,), (1342762677,), (1342762952,), (1342762956,), (1342762959,), (1342762977,), (1342762983,), (1342763007,), (1342763013,), (1342763019,), (1342763022,), (1342763026,), (1342763028,), (1342763071,), (1342763099,), (1342763131,), (1342763154,), (1342763747,), (1342763818,), (1342763831,), (1342763853,), (1342764042,), (1342764082,), (1342764108,), (1342764131,), (1342764155,), (1342764214,), (1342764246,), (1342764318,), (1342764378,), (1342764415,), (1342764566,), (1342764567,), (1342764570,), (1342764589,), (1342764605,), (1342764611,), (1342764618,), (1342764622,), (1342764624,), (1342764808,), (1342764828,), (1342764882,), (1342764899,), (1342764938,), (1342765446,), (1342765515,), (1342765561,), (1342766190,), (1342766262,), (1342766959,), (1342766769,), (1342766827,), (1342766868,), (1342767433,), (1342767451,), (1342767551,), (1342767566,), (1342767587,), (1342767873,), (1342767950,), (1342770878,), (1342770909,), (1342770948,), (1342771002,), (1342771433,), (1342771471,), (1342771715,), (1342771748,), (1342771785,), (1342771821,), (1342771853,), (1342771857,), (1342771918,), (1342771987,), (1342772352,), (1342772359,), (1342772362,), (1342772365,), (1342772368,), (1342772424,), (1342772442,), (1342772544,), (1342772560,), (1342772577,), (1342772627,), (1342772698,), (1342772735,), (1342773042,), (1342773117,), (1342773184,), (1342773263,), (1342773366,), (1342773584,), (1342773587,), (1342773603,), (1342773625,), (1342774238,), (1342774337,), (1342774384,), (1342774444,), (1342774506,), (1342774518,), (1342774846,), (1342774730,), (1342774755,), (1342774791,), (1342774815,), (1342775111,), (1342775132,), (1342775153,), (1342775314,), (1342775347,), (1342775373,), (1342775463,), (1342775468,), (1342775472,), (1342775477,), (1342775481,), (1342775484,), (1342776048,), (1342776116,), (1342776268,), (1342776365,), (1342776779,), (1342776814,), (1342776945,), (1342777078,), (1342777178,), (1342777222,), (1342777664,), (1342777734,), (1342777784,), (1342777851,), (1342777913,), (1342778241,), (1342778260,), (1342778279,), (1342778300,), (1342778455,), (1342778477,), (1342778555,), (1342778578,), (1342778587,), (1342778778,), (1342778784,), (1342778787,), (1342778834,), (1342778839,), (1342778870,), (1342778878,), (1342778882,), (1342778984,), (1342778991,), (1342778997,), (1342779014,), (1342779037,), (1342779049,), (1342779080,), (1342779093,), (1342779113,), (1342779129,), (1342779448,), (1342779511,), (1342779565,), (1342779680,), (1342779692,), (1342780085,), (1342779932,), (1342780034,), (1342780647,), (1342780763,), (1342780770,), (1342781038,), (1342781058,), (1342781077,), (1342782080,), (1342782143,), (1342782206,), (1342782899,), (1342783100,), (1342783163,), (1342783193,), (1342783274,), (1342783545,), (1342783636,), (1342783727,), (1342783798,), (1342783881,), (1342783976,), (1342783980,), (1342783984,), (1342783988,), (1342784036,), (1342784044,), (1342784066,), (1342784589,), (1342784610,), (1342784638,), (1342784661,), (1342784674,), (1342784971,), (1342784984,), (1342785002,), (1342785012,), (1342785381,), (1342785416,), (1342785440,), (1342785464,), (1342785467,), (1342786168,), (1342786201,), (1342786241,), (1342786296,), (1342786314,), (1342786339,), (1342786362,), (1342786386,), (1342786799,), (1342786437,), (1342786521,), (1342786661,), (1342786758,), (1342787039,), (1342787053,), (1342787077,), (1342787328,), (1342787569,), (1342787573,), (1342787580,), (1342787814,), (1342787834,), (1342788025,), (1342788028,), (1342788032,), (1342788035,), (1342788039,), (1342788062,), (1342788065,), (1342788069,), (1342788095,), (1342788877,), (1342788895,), (1342788918,), (1342788941,), (1342789229,), (1342789249,), (1342789376,), (1342789401,), (1342789416,), (1342789423,), (1342789439,), (1342789445,), (1342789461,), (1342789464,), (1342789481,), (1342789504,), (1342789649,), (1342789673,), (1342789697,), (1342789721,), (1342789743,), (1342789760,), (1342789973,), (1342789980,), (1342789983,), (1342790169,), (1342790222,), (1342790302,), (1342790383,), (1342790440,), (1342790576,), (1342790510,), (1342790517,), (1342790565,), (1342790572,), (1342790598,), (1342790601,), (1342790608,), (1342790611,), (1342790705,), (1342790728,), (1342790738,), (1342791044,), (1342791051,), (1342791053,), (1342791069,), (1342791075,), (1342791363,), (1342791394,), (1342791397,), (1342791400,), (1342791402,), (1342791405,), (1342791424,), (1342791427,), (1342791431,), (1342791487,), (1342791553,), (1342792498,), (1342792543,), (1342793148,), (1342793170,), (1342793229,), (1342793312,), (1342793474,), (1342793976,), (1342794016,), (1342794046,), (1342794074,), (1342794089,), (1342794555,), (1342794572,), (1342794576,), (1342794612,), (1342794801,), (1342794826,), (1342794853,), (1342794876,), (1342795386,), (1342795447,), (1342795549,), (1342795585,), (1342795600,), (1342795836,), (1342795863,), (1342795869,), (1342795879,), (1342795883,), (1342796011,), (1342796014,), (1342796041,), (1342796051,), (1342796100,), (1342796168,), (1342796221,), (1342796292,), (1342796306,), (1342796320,), (1342796462,), (1342796449,), (1342796452,), (1342796455,), (1342796458,), (1342796460,), (1342796562,), (1342796587,), (1342796642,), (1342796717,), (1342796748,), (1342797139,), (1342797174,), (1342797198,), (1342797248,), (1342797477,), (1342797480,), (1342797483,), (1342797485,), (1342797488,), (1342797528,), (1342797533,), (1342797536,), (1342797541,), (1342797610,), (1342797626,), (1342797630,), (1342797633,), (1342797667,), (1342797675,), (1342797678,), (1342798227,), (1342798383,), (1342798589,), (1342798705,), (1342798844,), (1342798878,), (1342799058,), (1342799089,), (1342799121,), (1342799145,), (1342799180,), (1342799183,), (1342799532,), (1342799535,), (1342799543,), (1342799624,), (1342799643,), (1342799887,), (1342799916,), (1342800093,), (1342800097,), (1342800101,), (1342800106,), (1342800115,), (1342800132,), (1342800188,), (1342800191,), (1342800196,), (1342800200,), (1342800203,), (1342800204,), (1342800246,), (1342800255,), (1342800259,), (1342800262,), (1342800265,), (1342800277,), (1342800345,), (1342800351,), (1342800354,), (1342800359,), (1342800483,), (1342800469,), (1342800475,), (1342800635,), (1342800730,), (1342800746,), (1342801703,), (1342801887,), (1342802111,), (1342802243,), (1342802280,), (1342802550,), (1342802580,), (1342802627,), (1342802640,), (1342802952,), (1342803680,), (1342803834,), (1342803840,), (1342803843,), (1342803849,), (1342804029,), (1342804077,), (1342804102,), (1342804140,), (1342804509,), (1342804513,), (1342804517,), (1342804520,), (1342804523,), (1342804530,), (1342804575,), (1342804600,), (1342804623,), (1342804656,), (1342804710,), (1342805168,), (1342805184,), (1342805188,), (1342805291,), (1342805316,), (1342805326,), (1342805453,), (1342805476,), (1342805500,), (1342805502,), (1342805671,), (1342805706,), (1342805755,), (1342805799,), (1342805938,), (1342805963,), (1342805983,), (1342806006,), (1342806027,), (1342806043,), (1342806399,), (1342806274,), (1342806355,), (1342806613,), (1342806659,), (1342806683,), (1342806704,), (1342806727,), (1342806753,), (1342806998,), (1342807066,), (1342807125,), (1342807162,), (1342807213,), (1342807249,), (1342807447,), (1342807458,), (1342807476,), (1342807679,), (1342807707,), (1342807734,), (1342807741,), (1342807757,), (1342807772,), (1342807931,), (1342807948,), (1342807973,), (1342808053,), (1342808139,), (1342808476,), (1342808516,), (1342808539,), (1342808750,), (1342808754,), (1342808758,), (1342808762,), (1342808780,), (1342808791,), (1342808802,), (1342808809,), (1342808825,), (1342808897,), (1342808901,), (1342808922,), (1342808929,), (1342809218,), (1342809222,), (1342809266,), (1342809270,), (1342809312,), (1342809359,), (1342809384,), (1342809422,), (1342809586,), (1342809605,), (1342809633,), (1342809740,), (1342809769,), (1342809773,), (1342809777,), (1342810004,), (1342810066,), (1342810136,), (1342810650,), (1342810630,), (1342810635,), (1342810640,), (1342810644,), (1342810648,), (1342810942,), (1342810970,), (1342810975,), (1342811021,), (1342811025,), (1342811113,), (1342811165,), (1342811234,), (1342811317,), (1342811583,), (1342811593,), (1342811599,), (1342811605,), (1342811750,), (1342811775,), (1342811780,), (1342811823,), (1342811837,), (1342811849,), (1342811915,), (1342811926,), (1342812024,), (1342812195,), (1342812378,), (1342812751,), (1342812764,), (1342812768,), (1342812774,), (1342813375,), (1342813399,), (1342813446,), (1342813676,), (1342813693,), (1342813699,), (1342813709,), (1342813712,), (1342813772,), (1342813776,), (1342813782,), (1342813786,), (1342813790,), (1342813894,), (1342813923,), (1342813947,), (1342814222,), (1342814229,), (1342814233,), (1342814240,), (1342814244,), (1342814258,), (1342814570,), (1342814574,), (1342814602,), (1342814607,), (1342814714,), (1342814758,), (1342814806,), (1342814884,), (1342814921,), (1342814950,), (1342815324,), (1342815378,), (1342815926,), (1342815894,), (1342815909,), (1342816596,), (1342816656,), (1342816825,), (1342816957,), (1342817760,), (1342817820,), (1342817927,), (1342817978,), (1342818085,), (1342818397,), (1342818463,), (1342818550,), (1342819013,), (1342819089,), (1342819142,), (1342819218,), (1342819258,), (1342819308,), (1342819312,), (1342819316,), (1342819320,), (1342819322,), (1342819353,), (1342819370,), (1342819376,), (1342819381,), (1342819563,), (1342819594,), (1342819617,), (1342819839,), (1342819841,), (1342819844,), (1342819850,), (1342819857,), (1342819939,), (1342819951,), (1342819981,), (1342820041,), (1342820062,), (1342820257,), (1342820293,), (1342820301,), (1342820308,), (1342825679,), (1342825951,), (1342825998,), (1342826002,), (1342826700,), (1342826710,), (1342827130,), (1342827144,), (1342827154,), (1342827173,), (1342827238,), (1342827242,), (1342827246,), (1342827268,), (1342827272,), (1342827281,), (1342827429,), (1342827434,), (1342827478,), (1342827708,), (1342827715,), (1342827720,), (1342827723,), (1342827732,), (1342827755,), (1342828042,), (1342828047,), (1342828052,), (1342828059,), (1342828072,), (1342828303,), (1342828329,), (1342828356,), (1342828725,), (1342828752,), (1342828782,), (1342828811,), (1342829094,), (1342829106,), (1342829119,), (1342829125,), (1342829128,), (1342829303,), (1342829267,), (1342829277,), (1342829279,), (1342829424,), (1342829427,), (1342829429,), (1342829431,), (1342829904,), (1342830030,), (1342830034,), (1342830036,), (1342830093,), (1342830094,), (1342830174,), (1342830178,), (1342830181,), (1342830184,), (1342830410,), (1342830432,), (1342830441,), (1342830444,), (1342830516,), (1342830563,), (1342830602,), (1342830612,), (1342830766,), (1342830812,), (1342830815,), (1342830819,), (1342830842,), (1342830845,), (1342831021,), (1342831026,), (1342831029,), (1342831042,), (1342831063,), (1342831070,), (1342831224,), (1342831229,), (1342831232,), (1342831236,), (1342831239,), (1342831375,), (1342831389,), (1342831396,), (1342831473,), (1342831493,), (1342831498,), (1342831501,), (1342831519,), (1342831543,), (1342831609,), (1342831624,), (1342831651,), (1342831680,), (1342831705,), (1342831817,), (1342831835,), (1342831837,), (1342831840,), (1342831866,), (1342832005,), (1342832025,), (1342832049,), (1342832065,), (1342832085,), (1342832122,), (1342832124,), (1342832144,), (1342832148,), (1342832521,), (1342832293,), (1342832444,), (1342832516,), (1342832518,), (1342832622,), (1342832625,), (1342832628,), (1342832685,), (1342832689,), (1342832714,), (1342832881,), (1342832902,), (1342832909,), (1342832914,), (1342832967,), (1342832977,), (1342832985,), (1342832989,), (1342833013,), (1342833358,), (1342833457,), (1342833554,), (1342833736,), (1342833740,), (1342833748,), (1342833752,), (1342833845,), (1342833866,), (1342833891,), (1342834108,), (1342834112,), (1342834117,), (1342834124,), (1342834178,), (1342834186,), (1342834189,), (1342834192,), (1342834199,), (1342834275,), (1342834354,), (1342834358,), (1342834433,), (1342834526,), (1342834763,), (1342834771,), (1342834774,), (1342834777,), (1342834779,), (1342834781,), (1342834818,), (1342834822,), (1342834826,), (1342834829,), (1342834832,), (1342835115,), (1342835134,), (1342835169,), (1342835211,), (1342835420,), (1342835422,), (1342835428,), (1342835433,), (1342835437,), (1342835442,), (1342835800,), (1342835491,), (1342835597,), (1342835663,), (1342835781,), (1342835791,), (1342836039,), (1342836042,), (1342836048,), (1342836074,), (1342836077,), (1342836082,), (1342836089,), (1342836099,), (1342836103,), (1342836193,), (1342836198,), (1342836206,), (1342836220,), (1342836228,), (1342836230,), (1342836288,), (1342836330,), (1342836348,), (1342836372,), (1342836387,), (1342836424,), (1342836436,), (1342836441,), (1342836688,), (1342836703,), (1342836708,), (1342836713,), (1342836718,), (1342836748,), (1342836752,), (1342836758,), (1342836763,), (1342836765,), (1342836808,), (1342836811,), (1342836815,), (1342836851,), (1342836877,), (1342836903,), (1342836927,), (1342836951,), (1342836976,), (1342837167,), (1342837212,), (1342837241,), (1342837266,), (1342837504,), (1342837514,), (1342837518,), (1342837524,), (1342837546,), (1342837725,), (1342837749,), (1342837752,), (1342837754,), (1342838062,), (1342838094,), (1342838124,), (1342838154,), (1342838177,), (1342838847,), (1342838508,), (1342838523,), (1342838647,), (1342839353,), (1342839383,), (1342839421,), (1342839444,), (1342839609,), (1342839643,), (1342839687,), (1342839718,), (1342839739,), (1342839776,), (1342840240,), (1342840420,), (1342840423,), (1342840646,), (1342840654,), (1342840658,), (1342840693,), (1342840697,), (1342840713,), (1342840781,), (1342840808,), (1342840820,), (1342841093,), (1342841121,), (1342841129,), (1342841161,), (1342841316,), (1342841324,), (1342841328,), (1342841331,), (1342841335,), (1342841372,), (1342841378,), (1342841411,), (1342841443,), (1342841479,), (1342841753,), (1342841803,), (1342841840,), (1342841887,), (1342841913,), (1342842113,), (1342842133,), (1342842145,), (1342842149,), (1342842193,), (1342842197,), (1342842201,), (1342842208,), (1342842219,), (1342842289,), (1342842292,), (1342842294,), (1342842297,), (1342842300,), (1342842370,), (1342842375,), (1342842392,), (1342842397,), (1342842402,), (1342842441,), (1342842427,), (1342842431,), (1342842436,), (1342842565,), (1342842590,), (1342842615,), (1342842644,), (1342842651,), (1342842827,), (1342842961,), (1342843122,), (1342843143,), (1342843147,), (1342843247,), (1342843289,), (1342843298,), (1342843303,), (1342843309,), (1342843310,), (1342843454,), (1342843483,), (1342843492,), (1342843498,), (1342843533,), (1342843606,), (1342843617,), (1342843624,), (1342843663,), (1342843675,), (1342843713,), (1342843717,), (1342843822,), (1342843827,), (1342843834,), (1342843839,), (1342843850,), (1342843860,), (1342844142,), (1342844168,), (1342844177,), (1342844186,), (1342844260,), (1342844264,), (1342844270,), (1342844285,), (1342844293,), (1342844400,), (1342844432,), (1342844493,), (1342844523,), (1342844565,), (1342844619,), (1342844863,), (1342844898,), (1342844922,), (1342844947,), (1342845025,), (1342845034,), (1342845043,), (1342845048,), (1342845051,), (1342845052,), (1342845121,), (1342845127,), (1342845132,), (1342845138,), (1342845143,), (1342845146,), (1342845563,), (1342845526,), (1342845557,), (1342845637,), (1342845641,), (1342845646,), (1342845667,), (1342845692,), (1342845718,), (1342845892,), (1342846061,), (1342846240,), (1342846398,), (1342846480,), (1342846521,), (1342846618,), (1342846678,), (1342846760,), (1342846844,), (1342846860,), (1342846872,), (1342846875,), (1342846879,), (1342846884,), (1342846901,), (1342846905,), (1342846909,), (1342846913,), (1342846928,), (1342846931,), (1342846988,), (1342846993,), (1342846998,), (1342847003,), (1342847026,), (1342847050,), (1342847054,), (1342847060,), (1342847064,), (1342847088,), (1342847101,), (1342847113,), (1342847119,), (1342847123,), (1342847169,), (1342847190,), (1342847224,), (1342847257,), (1342847684,), (1342847709,), (1342847748,), (1342847782,), (1342847899,), (1342847924,), (1342847949,), (1342847971,), (1342847975,), (1342848277,), (1342848345,), (1342848399,), (1342848437,), (1342848459,), (1342848540,), (1342848544,), (1342848549,), (1342848582,), (1342848587,), (1342848596,), (1342848603,), (1342848612,), (1342848667,), (1342848636,), (1342848641,), (1342848643,), (1342848653,), (1342848664,), (1342848699,), (1342848704,), (1342848713,), (1342848727,), (1342848791,), (1342848800,), (1342848806,), (1342848810,), (1342849196,), (1342849206,), (1342849208,), (1342849220,), (1342849279,), (1342849283,), (1342849287,), (1342849291,), (1342849294,), (1342849297,), (1342849445,), (1342849474,), (1342850943,), (1342850947,), (1342850952,), (1342851362,), (1342851367,), (1342851372,), (1342851378,), (1342851436,), (1342851523,), (1342851707,), (1342851795,), (1342851833,), (1342852282,), (1342852325,), (1342852351,), (1342852377,), (1342852397,), (1342852489,), (1342852504,), (1342852513,), (1342852516,), (1342852521,), (1342853294,), (1342853358,), (1342853385,), (1342853407,), (1342853428,), (1342853914,), (1342853707,), (1342853754,), (1342853799,), (1342853869,), (1342854552,), (1342854583,), (1342854663,), (1342854682,), (1342854949,), (1342854985,), (1342855052,), (1342855103,), (1342855397,), (1342855422,), (1342855448,), (1342855481,), (1342855496,), (1342855628,), (1342855632,), (1342855636,), (1342855642,), (1342855649,), (1342855783,), (1342855806,), (1342855827,), (1342855843,), (1342855869,), (1342856008,), (1342856012,), (1342856017,), (1342856072,), (1342856101,), (1342856135,), (1342856177,), (1342856211,), (1342856281,), (1342856382,), (1342856387,), (1342856392,), (1342856395,), (1342856406,), (1342856410,), (1342856427,), (1342856434,), (1342856445,), (1342856453,), (1342856465,), (1342856466,), (1342856471,), (1342856473,), (1342856483,), (1342856484,), (1342856498,), (1342856502,), (1342856512,), (1342856513,), (1342856518,), (1342856520,), (1342856532,), (1342856534,), (1342856541,), (1342856557,), (1342856565,), (1342856583,), (1342856588,), (1342856594,), (1342856597,), (1342856600,), (1342856604,), (1342856632,), (1342856639,), (1342856644,), (1342856664,), (1342856668,), (1342856673,), (1342856529,), (1342856614,), (1342856616,), (1342856622,), (1342856682,), (1342856687,), (1342856690,), (1342856698,), (1342856746,), (1342856757,), (1342856763,), (1342856826,), (1342856831,), (1342856848,), (1342856868,), (1342856874,), (1342856882,), (1342856913,), (1342856920,), (1342856925,), (1342856929,), (1342856930,), (1342856934,), (1342856968,), (1342856971,), (1342856975,), (1342856979,), (1342856985,), (1342857292,), (1342857312,), (1342857363,), (1342857424,), (1342857582,), (1342857633,), (1342857743,), (1342857748,), (1342857757,), (1342857760,), (1342857797,), (1342857802,), (1342857808,), (1342857813,), (1342857833,), (1342858125,), (1342858139,), (1342858162,), (1342858257,), (1342858260,), (1342858265,), (1342858271,), (1342858282,), (1342858284,), (1342858309,), (1342858314,), (1342858321,), (1342858346,), (1342858368,), (1342858378,), (1342858396,), (1342858406,), (1342858421,), (1342858443,), (1342858671,), (1342859603,), (1342859492,), (1342859531,), (1342859810,), (1342859837,), (1342859884,), (1342860234,), (1342860268,), (1342860312,), (1342860338,), (1342860371,), (1342860375,), (1342860393,), (1342860401,), (1342860484,), (1342860488,), (1342860503,), (1342860518,), (1342860561,), (1342860736,), (1342860753,), (1342860822,), (1342860845,), (1342861020,), (1342861024,), (1342861028,), (1342861032,), (1342861332,), (1342861337,), (1342861380,), (1342861385,), (1342861391,), (1342861399,), (1342861406,), (1342861464,), (1342861470,), (1342861475,), (1342861483,), (1342861494,), (1342861506,), (1342861763,), (1342861832,), (1342861941,), (1342861946,), (1342862076,), (1342862105,), (1342862132,), (1342862139,), (1342862188,), (1342862293,), (1342862302,), (1342862346,), (1342862358,), (1342862379,), (1342862403,), (1342862472,), (1342862445,), (1342862450,), (1342862459,), (1342862529,), (1342862548,), (1342862582,), (1342862631,), (1342862636,), (1342862655,), (1342862776,), (1342862780,), (1342862797,), (1342862808,), (1342862816,), (1342863123,), (1342863128,), (1342863158,), (1342863518,), (1342863545,), (1342863564,), (1342863568,), (1342863590,), (1342863889,), (1342863895,), (1342863903,), (1342863906,), (1342863910,), (1342864131,), (1342864160,), (1342864183,), (1342864209,), (1342864231,), (1342864256,), (1342864521,), (1342864563,), (1342864577,), (1342864584,), (1342864705,), (1342864736,), (1342864765,), (1342864769,), (1342864817,), (1342864822,), (1342864829,), (1342864835,), (1342864846,), (1342864849,), (1342864920,), (1342864923,), (1342864927,), (1342864939,), (1342865055,), (1342865067,), (1342865267,), (1342865325,), (1342865380,), (1342865392,), (1342865402,), (1342865531,), (1342865533,), (1342865547,), (1342865575,), (1342865607,), (1342865915,), (1342865840,), (1342865873,), (1342866658,), (1342866704,), (1342867389,), (1342867394,), (1342867433,), (1342867462,), (1342867482,), (1342867518,), (1342867844,), (1342867873,), (1342867920,), (1342868002,), (1342868688,), (1342868761,), (1342868846,), (1342868881,), (1342868927,), (1342869234,), (1342869280,), (1342869309,), (1342869341,), (1342869385,), (1342869763,), (1342869803,), (1342869839,), (1342869865,), (1342869890,), (1342870276,), (1342870280,), (1342870285,), (1342870289,), (1342870336,), (1342870341,), (1342870348,), (1342870355,), (1342870361,), (1342870403,), (1342870408,), (1342870426,), (1342870430,), (1342870444,), (1342870456,), (1342870554,), (1342870595,), (1342870634,), (1342870822,), (1342870851,), (1342870868,), (1342870915,), (1342870943,), (1342871007,), (1342871225,), (1342871235,), (1342871261,), (1342871298,), (1342871588,), (1342871773,), (1342871948,), (1342871993,), (1342872062,), (1342872536,), (1342872460,), (1342872517,), (1342872698,), (1342872728,), (1342872732,), (1342872734,), (1342872738,), (1342872741,), (1342872773,), (1342872779,), (1342872801,), (1342872850,), (1342872921,), (1342872981,), (1342873003,), (1342873014,), (1342873017,), (1342873020,), (1342873256,), (1342873276,), (1342873303,), (1342873322,), (1342873344,), (1342873375,), (1342873379,), (1342873431,), (1342873445,), (1342874003,), (1342874018,), (1342874064,), (1342874069,), (1342874072,), (1342874199,), (1342874238,), (1342874605,), (1342874657,), (1342874678,), (1342874707,), (1342874949,), (1342874957,), (1342874969,), (1342874974,), (1342874990,), (1342875021,), (1342875026,), (1342875036,), (1342875041,), (1342875046,), (1342875189,), (1342875068,), (1342875093,), (1342875172,), (1342875345,), (1342875780,), (1342875783,), (1342875793,), (1342875803,), (1342876010,), (1342876018,), (1342876028,), (1342876070,), (1342876076,), (1342876082,), (1342876088,), (1342876137,), (1342876149,), (1342876155,), (1342876172,), (1342876243,), (1342876249,), (1342876281,), (1342876286,), (1342876300,), (1342876371,), (1342876379,), (1342876384,), (1342876446,), (1342876458,), (1342876500,), (1342876523,), (1342876532,), (1342876556,), (1342876567,), (1342876571,), (1342876578,), (1342876584,), (1342876635,), (1342876639,), (1342876647,), (1342876803,), (1342876809,), (1342876814,), (1342876820,), (1342876922,), (1342876975,), (1342877023,), (1342877040,), (1342877045,), (1342877100,), (1342877124,), (1342877185,), (1342877207,), (1342877527,), (1342877564,), (1342877595,), (1342877618,), (1342877948,), (1342877896,), (1342877925,), (1342878167,), (1342878176,), (1342878190,), (1342878268,), (1342878281,), (1342878349,), (1342878354,), (1342878373,), (1342878392,), (1342878457,), (1342878493,), (1342878557,), (1342878605,), (1342878669,), (1342878862,), (1342878907,), (1342878946,), (1342879008,), (1342879061,), (1342879305,), (1342879420,), (1342879445,), (1342879460,), (1342879777,), (1342879805,), (1342879834,), (1342879880,), (1342879906,), (1342879932,), (1342880113,), (1342880191,), (1342880278,), (1342880391,), (1342880418,), (1342880446,), (1342880459,), (1342880479,), (1342880674,), (1342880714,), (1342880759,), (1342880783,), (1342880791,), (1342881043,), (1342881129,), (1342881175,), (1342881191,), (1342881254,), (1342881373,), (1342881401,), (1342881420,), (1342881443,), (1342882468,), (1342882554,), (1342882605,), (1342882646,), (1342882685,), (1342882726,), (1342882949,), (1342900860,), (1342900958,), (1342901264,), (1342901270,), (1342901274,), (1342901279,), (1342901312,), (1342901316,), (1342901320,), (1342901324,), (1342901328,), (1342901407,), (1342901491,), (1342901496,), (1342901502,), (1342901505,), (1342901521,), (1342901524,), (1342901578,), (1342901593,), (1342901598,), (1342902086,), (1342902139,), (1342902192,), (1342902241,), (1342902293,), (1342902664,), (1342902689,), (1342902723,), (1342902781,), (1342902834,), (1342902884,), (1342903192,), (1342903273,), (1342903333,), (1342903354,), (1342903361,), (1342903385,), (1342903768,), (1342903918,), (1342903935,), (1342904631,), (1342904718,), (1342904766,), (1342904815,), (1342905317,), (1342905225,), (1342905259,), (1342905289,), (1342905549,), (1342905554,), (1342905565,), (1342905595,), (1342905620,), (1342905640,), (1342905982,), (1342905991,), (1342905997,), (1342906007,), (1342906161,), (1342906177,), (1342906196,), (1342906230,), (1342906521,), (1342906543,), (1342906557,), (1342906561,), (1342906665,), (1342906670,), (1342906674,), (1342906676,), (1342906683,), (1342906928,), (1342906942,), (1342906960,), (1342906980,), (1342907422,), (1342907461,), (1342907528,), (1342907545,), (1342907580,), (1342907612,), (1342907933,), (1342908068,), (1342908223,), (1342908314,), (1342908961,), (1342908984,), (1342909004,), (1342909512,), (1342909875,), (1342909886,), (1342909952,), (1342909982,), (1342910008,), (1342910038,), (1342910318,), (1342910414,), (1342910561,), (1342910623,), (1342910815,), (1342912009,), (1342912063,), (1342912116,), (1342912164,), (1342912225,), (1342912467,), (1342912527,), (1342912598,), (1342912681,), (1342912725,), (1342912965,), (1342912832,), (1342912865,), (1342913248,), (1342913297,), (1342913323,), (1342913389,), (1342913453,), (1342913513,), (1342913625,), (1342913637,), (1342913642,), (1342913646,), (1342913662,), (1342913878,), (1342913948,), (1342913964,), (1342914042,), (1342914408,), (1342914465,), (1342914547,), (1342914615,), (1342914655,), (1342914974,), (1342914999,), (1342915017,), (1342915023,), (1342915062,), (1342915200,), (1342915222,), (1342915225,), (1342915239,), (1342915240,), (1342915494,), (1342915528,), (1342915555,), (1342915585,), (1342915738,), (1342915742,), (1342915826,), (1342915836,), (1342915853,), (1342915857,), (1342915975,), (1342915996,), (1342916006,), (1342916009,), (1342916012,), (1342916101,), (1342916104,), (1342916266,), (1342916284,), (1342916303,), (1342916453,), (1342916480,), (1342916515,), (1342916536,), (1342927357,), (1342927352,), (1342927605,), (1342928561,), (1342928726,), (1342928796,), (1342928856,), (1342928922,), (1342928994,), (1342929349,), (1342929398,), (1342929439,), (1342929486,), (1342929576,), (1342929926,), (1342930007,), (1342930066,), (1342930115,), (1342930659,), (1342930704,), (1342930755,), (1342930860,), (1342930957,), (1342931397,), (1342931433,), (1342931460,), (1342931515,), (1342932100,), (1342932183,), (1342932278,), (1342933009,), (1342933064,), (1342933103,), (1342933833,), (1342933542,), (1342933647,), (1342933696,), (1342934254,), (1342934305,), (1342934353,), (1342934389,), (1342934425,), (1342934525,), (1342934639,), (1342934659,), (1342934715,), (1342934762,), (1342935006,), (1342935033,), (1342935094,), (1342935340,), (1342935370,), (1342935393,), (1342935427,), (1342935447,), (1342935470,), (1342935525,), (1342935538,), (1342935553,), (1342935560,), (1342935684,), (1342935717,), (1342935726,), (1342935776,), (1342935798,), (1342935813,), (1342935821,), (1342935827,), (1342935997,), (1342936015,), (1342936019,), (1342936028,), (1342936044,), (1342936187,), (1342936219,), (1342936231,), (1342936251,), (1342936267,), (1342936387,), (1342936395,), (1342936422,), (1342936446,), (1342936470,), (1342936489,), (1342936604,), (1342936635,), (1342936647,), (1342936652,), (1342936654,), (1342936661,), (1342936748,), (1342936764,), (1342936808,), (1342936847,), (1342937452,), (1342937534,), (1342937630,), (1342937714,), (1342937795,), (1342937848,), (1342937941,), (1342938007,), (1342938052,), (1342938444,), (1342938317,), (1342938341,), (1342938375,), (1342939057,), (1342939115,), (1342939213,), (1342939301,), (1342939381,), (1342939458,), (1342939861,), (1342939934,), (1342940007,), (1342940104,), (1342940185,), (1342940718,), (1342940783,), (1342940951,), (1342941073,), (1342941188,), (1342941426,), (1342941484,), (1342941505,), (1342941511,), (1342941517,), (1342942205,), (1342942260,), (1342942329,), (1342942409,), (1342942924,), (1342943031,), (1342943106,), (1342943174,), (1342943215,), (1342943236,), (1342943394,), (1342943488,), (1342943595,), (1342943658,), (1342944568,), (1342944603,), (1342944659,), (1342944730,), (1342944789,), (1342944920,), (1342945170,), (1342945284,), (1342945359,), (1342945419,), (1342945456,), (1342945634,), (1342945688,), (1342945959,), (1342946002,), (1342946146,), (1342946167,), (1342946197,), (1342946206,), (1342946256,), (1342946293,), (1342946395,), (1342946538,), (1342946541,), (1342950020,), (1342949957,), (1342950453,), (1342950489,), (1342950530,), (1342950569,), (1342951001,), (1342951012,), (1342951424,), (1342951462,), (1342951477,), (1342951494,), (1342951511,), (1342951514,), (1342951713,), (1342951766,), (1342951800,), (1342951865,), (1342951933,), (1342952168,), (1342952172,), (1342952477,), (1342952489,), (1342952506,), (1342952949,), (1342953075,), (1342953176,), (1342953976,), (1342954120,), (1342954207,), (1342954620,), (1342954649,), (1342954675,), (1342954699,), (1342954742,), (1342954749,), (1342955284,), (1342955050,), (1342955186,), (1342955727,), (1342955735,), (1342955738,), (1342955742,), (1342955745,), (1342955747,), (1342955967,), (1342955970,), (1342955975,), (1342956313,), (1342956389,), (1342956481,), (1342956573,), (1342957156,), (1342957196,), (1342957247,), (1342957557,), (1342957595,), (1342957630,), (1342957645,), (1342957917,), (1342957952,), (1342957989,), (1342957995,), (1342958038,), (1342958281,), (1342958372,), (1342958404,), (1342958433,), (1342958567,), (1342958594,), (1342958636,), (1342959101,), (1342959186,), (1342959251,), (1342959281,), (1342959694,), (1342959719,), (1342959764,), (1342959823,), (1342959920,), (1342960002,), (1342960232,), (1342960284,), (1342960350,), (1342960650,), (1342960691,), (1342960725,), (1342960773,), (1342960954,), (1342961248,), (1342961254,), (1342961304,), (1342961372,), (1342961558,), (1342961749,), (1342962346,), (1342962188,), (1342962237,), (1342962314,), (1342962581,), (1342962605,), (1342962630,), (1342962679,), (1342963392,), (1342963531,), (1342963682,), (1342963805,), (1342963940,), (1342964452,), (1342964519,), (1342964573,), (1342965131,), (1342965258,), (1342965350,), (1342965434,), (1342965547,), (1342965551,), (1342965835,), (1342965883,), (1342965951,), (1342965993,), (1342966046,), (1342966082,), (1342966238,), (1342966268,), (1342966344,), (1342966548,), (1342966805,), (1342967489,), (1342967519,), (1342967586,), (1342967646,), (1342967731,), (1342967862,), (1342968126,), (1342968194,), (1342968255,), (1342968338,), (1342968386,), (1342968458,), (1342968687,), (1342968913,), (1342968948,), (1342969418,), (1342969469,), (1342970328,), (1342970378,), (1342970441,), (1342970534,), (1342970566,), (1342971083,), (1342971126,), (1342971162,), (1342971219,), (1342971264,), (1342971337,), (1342972080,), (1342972165,), (1342972246,), (1342972304,), (1342972357,), (1342972425,), (1342972945,), (1342972822,), (1342972873,), (1342973708,), (1342973776,), (1342973816,), (1342973867,), (1342973927,), (1342974064,), (1342974080,), (1342974120,), (1342974164,), (1342974204,), (1342974709,), (1342974803,), (1342975590,), (1342975679,), (1342975715,), (1342975742,), (1342975802,), (1342976232,), (1342976319,), (1342976367,), (1342976417,), (1342976872,), (1342976897,), (1342976942,), (1342977013,), (1342977064,), (1342977622,), (1342977659,), (1342977735,), (1342978388,), (1342978442,), (1342978525,), (1342978607,), (1342978677,), (1342978792,), (1342979049,), (1342979111,), (1342979229,), (1342979306,), (1342980104,), (1342980150,), (1342980196,), (1342980225,), (1342980604,), (1342980622,), (1342980786,), (1342980934,), (1342981012,), (1342981056,), (1342981396,), (1342981501,), (1342981582,), (1342981637,), (1342981681,), (1342982260,), (1342982265,), (1342982311,), (1342982785,), (1342982802,), (1342982815,), (1342982832,), (1342982875,), (1342982922,), (1342983414,), (1342983279,), (1342983324,), (1342983341,), (1342983395,), (1342984066,), (1342984117,), (1342984177,), (1342984217,), (1342984651,), (1342984664,), (1342984696,), (1342984730,), (1342984940,), (1342984949,), (1342984975,), (1342984998,), (1342985020,), (1342985029,), (1342985268,), (1342985378,), (1342985438,), (1342985889,), (1342985921,), (1342985962,), (1342986846,), (1342987178,), (1342987954,), (1342987960,), (1342988019,), (1342988038,), (1342988045,), (1342988050,), (1342988051,), (1342988158,), (1342988198,), (1342988254,), (1342988661,), (1342988551,), (1342988578,), (1342988607,), (1342988636,), (1342988842,), (1342988875,), (1342988919,), (1342988966,), (1342989014,), (1342989353,), (1342989374,), (1342989382,), (1342989419,), (1342989429,), (1342989432,), (1342989631,), (1342989665,), (1342989684,), (1342989795,), (1342989870,), (1342989876,), (1342989902,), (1342989908,), (1342990066,), (1342990095,), (1342990136,), (1342990163,), (1342990208,), (1342990246,), (1342990410,), (1342990440,), (1342990447,), (1342990456,), (1342990829,), (1342990848,), (1342990879,), (1342990927,), (1342990953,), (1342990979,), (1342991364,), (1342991406,), (1342991463,), (1342991511,), (1342991544,), (1342991613,), (1342991844,), (1342991943,), (1342992177,), (1342992844,), (1342992934,), (1342993003,), (1342993189,), (1343004436,), (1343010980,), (1343010997,), (1343011731,), (1343011809,), (1343011919,), (1343012004,), (1343012079,), (1343012693,), (1343012860,), (1343013723,), (1343013804,), (1343014701,), (1343014885,), (1343015017,), (1343015137,), (1343015278,), (1343015945,), (1343016021,), (1343016094,), (1343016229,), (1343016533,), (1343016662,), (1343016757,), (1343016834,), (1343016903,), (1343017060,), (1343017414,), (1343017663,), (1343017859,), (1343017938,), (1343017958,), (1343018018,), (1343018192,), (1343018243,), (1343018303,), (1343018357,), (1343018434,), (1343018544,), (1343018774,), (1343018861,), (1343018897,), (1343018966,), (1343019324,), (1343019338,), (1343019350,), (1343019353,), (1343019591,), (1343019517,), (1343019540,), (1343019563,), (1343019756,), (1343019762,), (1343019772,), (1343019778,), (1343020068,), (1343020108,), (1343020145,), (1343020274,), (1343020291,), (1343020308,), (1343020320,), (1343020351,), (1343020379,), (1343020475,), (1343020483,), (1343020517,), (1343020546,), (1343020907,), (1343020999,), (1343021015,), (1343021076,), (1343021117,), (1343021142,), (1343021312,), (1343021318,), (1343021329,), (1343021343,), (1343021379,), (1343021530,), (1343021564,), (1343021594,), (1343021623,), (1343021903,), (1343021943,), (1343021983,), (1343022012,), (1343022039,), (1343022062,), (1343022305,), (1343022335,), (1343022366,), (1343022402,), (1343022435,), (1343022679,), (1343022691,), (1343022696,), (1343022721,), (1343022745,), (1343022748,), (1343022803,), (1343022809,), (1343022822,), (1343022865,), (1343023455,), (1343023506,), (1343023555,), (1343023635,), (1343023668,), (1343023727,), (1343024025,), (1343024052,), (1343024060,), (1343024068,), (1343024280,), (1343024295,), (1343024300,), (1343024304,), (1343024338,), (1343024664,), (1343024558,), (1343024584,), (1343024611,), (1343024634,), (1343025000,), (1343025066,), (1343025076,), (1343025318,), (1343025332,), (1343025340,), (1343025345,), (1343025350,), (1343025361,), (1343025448,), (1343025455,), (1343025458,), (1343025464,), (1343025469,), (1343025475,), (1343025531,), (1343025535,), (1343025538,), (1343025543,), (1343025549,), (1343025595,), (1343025598,), (1343025618,), (1343025662,), (1343025689,), (1343025725,), (1343025862,), (1343025876,), (1343025989,), (1343026012,), (1343026218,), (1343026224,), (1343026237,), (1343026265,), (1343026270,), (1343026388,), (1343026410,), (1343026441,), (1343026472,), (1343026493,), (1343026554,), (1343026580,), (1343026613,), (1343026640,), (1343026645,), (1343026781,), (1343026791,), (1343026796,), (1343026836,), (1343026905,), (1343027065,), (1343027076,), (1343027082,), (1343027084,), (1343027096,), (1343027316,), (1343027318,), (1343027324,), (1343027330,), (1343027334,), (1343027336,), (1343027438,), (1343027443,), (1343027449,), (1343027455,), (1343027741,), (1343027780,), (1343027813,), (1343027816,), (1343027823,), (1343027832,), (1343027916,), (1343027883,), (1343027901,), (1343027906,), (1343027911,), (1343028208,), (1343028233,), (1343028260,), (1343028266,), (1343028288,), (1343028307,), (1343028564,), (1343028584,), (1343028587,), (1343028700,), (1343028747,), (1343028948,), (1343028974,), (1343029027,), (1343029051,), (1343029211,), (1343029240,), (1343029267,), (1343029294,), (1343029322,), (1343029330,), (1343029430,), (1343029507,), (1343029526,), (1343029529,), (1343029536,), (1343029750,), (1343029785,), (1343029805,), (1343030286,), (1343030312,), (1343030324,), (1343030329,), (1343030337,), (1343030344,), (1343030376,), (1343030422,), (1343030434,), (1343030453,), (1343030594,), (1343030602,), (1343030611,), (1343030649,), (1343030706,), (1343030722,), (1343031072,), (1343031115,), (1343031171,), (1343031221,), (1343031265,), (1343031714,), (1343031896,), (1343031984,), (1343032005,), (1343032117,), (1343032463,), (1343032511,), (1343032573,), (1343032618,), (1343032655,), (1343033318,), (1343035807,), (1343035545,), (1343035625,), (1343035724,), (1343036514,), (1343036597,), (1343036700,), (1343036775,), (1343036841,), (1343037250,), (1343037316,), (1343037366,), (1343037435,), (1343037493,), (1343037939,), (1343037962,), (1343038017,), (1343038044,), (1343038567,), (1343038643,), (1343038701,), (1343038749,), (1343038798,), (1343038839,), (1343039243,), (1343039268,), (1343039371,), (1343039440,), (1343039947,), (1343040036,), (1343040106,), (1343040142,), (1343040202,), (1343040244,), (1343040645,), (1343040692,), (1343040746,), (1343040751,), (1343040786,), (1343041373,), (1343041447,), (1343041532,), (1343041586,), (1343041626,), (1343041979,), (1343042021,), (1343042077,), (1343042088,), (1343042094,), (1343042110,), (1343042269,), (1343042312,), (1343042318,), (1343042342,), (1343042526,), (1343042562,), (1343042599,), (1343042622,), (1343042644,), (1343042670,), (1343042921,), (1343042776,), (1343042829,), (1343042871,), (1343043349,), (1343043508,), (1343043662,), (1343043763,), (1343044333,), (1343044389,), (1343044471,), (1343044544,), (1343044593,), (1343044668,), (1343044861,), (1343044921,), (1343044981,), (1343045006,), (1343045026,), (1343045403,), (1343045443,), (1343045499,), (1343045530,), (1343045562,), (1343045671,), (1343045723,), (1343045891,), (1343046123,), (1343046228,), (1343046272,), (1343046571,), (1343046664,), (1343046679,), (1343046704,), (1343046727,), (1343047071,), (1343047163,), (1343047278,), (1343047367,), (1343047395,), (1343047506,), (1343047549,), (1343047583,), (1343047626,), (1343047648,), (1343047764,), (1343047806,), (1343047848,), (1343047910,), (1343047977,), (1343048016,), (1343048262,), (1343048291,), (1343048318,), (1343048346,), (1343048613,), (1343048656,), (1343048751,), (1343048774,), (1343048800,), (1343048874,), (1343048956,), (1343048978,), (1343049007,), (1343049016,), (1343049080,), (1343049240,), (1343049266,), (1343049302,), (1343049327,), (1343049358,), (1343049439,), (1343049459,), (1343049482,), (1343049526,), (1343050041,), (1343049847,), (1343049879,), (1343049890,), (1343049969,), (1343049996,), (1343050175,), (1343050484,), (1343050495,), (1343050599,), (1343050641,), (1343050681,), (1343050715,), (1343050753,), (1343051052,), (1343051082,), (1343051094,), (1343051151,), (1343051199,), (1343051546,), (1343051624,), (1343051846,), (1343051989,), (1343052407,), (1343052486,), (1343052542,), (1343052572,), (1343052592,), (1343052601,), (1343052723,), (1343052768,), (1343052802,), (1343052857,), (1343053210,), (1343053281,), (1343053327,), (1343053364,), (1343053392,), (1343053454,), (1343053656,), (1343053689,), (1343053712,), (1343053791,), (1343053796,), (1343053801,), (1343053807,), (1343053814,), (1343053821,), (1343053910,), (1343053916,), (1343053927,), (1343053929,), (1343053947,), (1343054289,), (1343054307,), (1343054336,), (1343054432,), (1343054500,), (1343054573,), (1343054963,), (1343055025,), (1343055094,), (1343055179,), (1343055544,), (1343055549,), (1343055579,), (1343055602,), (1343055625,), (1343055951,), (1343055831,), (1343055859,), (1343055885,), (1343055919,), (1343056204,), (1343056239,), (1343056289,), (1343056322,), (1343056360,), (1343056400,), (1343056408,), (1343056417,), (1343056422,), (1343056622,), (1343056629,), (1343056642,), (1343056913,), (1343056963,), (1343056970,), (1343056976,), (1343056983,), (1343056998,), (1343057007,), (1343057171,), (1343057178,), (1343057185,), (1343057189,), (1343057195,), (1343057205,), (1343057314,), (1343057339,), (1343057382,), (1343057415,), (1343057450,), (1343057537,), (1343057550,), (1343057590,), (1343057595,), (1343057599,), (1343057601,), (1343057872,), (1343057898,), (1343057926,), (1343058003,), (1343058136,), (1343058140,), (1343058146,), (1343058149,), (1343058150,), (1343058183,), (1343058245,), (1343058297,), (1343058343,), (1343058361,), (1343058406,), (1343058814,), (1343058854,), (1343058873,), (1343058877,), (1343058923,), (1343058930,), (1343058950,), (1343058956,), (1343058987,), (1343058990,), (1343059025,), (1343059034,), (1343059128,), (1343059191,), (1343059380,), (1343059294,), (1343059320,), (1343059342,), (1343059352,), (1343059479,), (1343059518,), (1343059562,), (1343059615,), (1343059672,), (1343059718,), (1343060099,), (1343060178,), (1343060242,), (1343060293,), (1343060576,), (1343060628,), (1343060684,), (1343060742,), (1343060834,), (1343060887,), (1343061301,), (1343061319,), (1343061337,), (1343061355,), (1343061360,), (1343061621,), (1343061679,), (1343061707,), (1343061741,), (1343061762,), (1343062025,), (1343062106,), (1343062216,), (1343062253,), (1343062293,), (1343062668,), (1343062700,), (1343062745,), (1343063083,), (1343063129,), (1343063132,), (1343063189,), (1343063283,), (1343063342,), (1343063401,), (1343063455,), (1343063602,), (1343063643,), (1343063682,), (1343063730,), (1343063859,), (1343063892,), (1343063915,), (1343063939,), (1343063979,), (1343063986,), (1343064010,), (1343064034,), (1343064054,), (1343064078,), (1343064344,), (1343064378,), (1343064409,), (1343064421,), (1343064659,), (1343064681,), (1343064694,), (1343064709,), (1343064742,), (1343064763,), (1343064863,), (1343064890,), (1343064900,), (1343064910,), (1343065031,), (1343065066,), (1343065091,), (1343065117,), (1343065158,), (1343065784,), (1343065603,), (1343065638,), (1343065687,), (1343065730,), (1343066285,), (1343066327,), (1343066355,), (1343066405,), (1343066445,), (1343066490,), (1343066891,), (1343066920,), (1343066970,), (1343067423,), (1343067452,), (1343067485,), (1343067498,), (1343067526,), (1343067552,), (1343067696,), (1343067708,), (1343067716,), (1343067744,), (1343068119,), (1343068149,), (1343068175,), (1343068206,), (1343068228,), (1343068252,), (1343068401,), (1343068421,), (1343068473,), (1343068524,), (1343069006,), (1343069025,), (1343069042,), (1343069065,), (1343069115,), (1343069162,), (1343069667,), (1343069748,), (1343069841,), (1343069873,), (1343069913,), (1343069919,), (1343070257,), (1343070328,), (1343070359,), (1343070408,), (1343070605,), (1343070634,), (1343070674,), (1343070714,), (1343070754,), (1343070821,), (1343071087,), (1343071692,), (1343071723,), (1343071766,), (1343071819,), (1343071856,), (1343071875,), (1343072003,), (1343072027,), (1343072034,), (1343072054,), (1343072146,), (1343072150,), (1343072152,), (1343072182,), (1343072678,), (1343072504,), (1343072531,), (1343072557,), (1343072589,), (1343072616,), (1343072838,), (1343072855,), (1343072884,), (1343072887,), (1343072986,), (1343072992,), (1343073002,), (1343073005,), (1343073048,), (1343073055,), (1343073206,), (1343073248,), (1343073271,), (1343073300,), (1343073321,), (1343073441,), (1343073446,), (1343073451,), (1343073457,), (1343073460,), (1343073462,), (1343073536,), (1343073558,), (1343073565,), (1343073590,), (1343073631,), (1343073749,), (1343073766,), (1343073810,), (1343073840,), (1343074144,), (1343074214,), (1343074225,), (1343074232,), (1343074236,), (1343074254,), (1343074305,), (1343074330,), (1343074366,), (1343074421,), (1343074531,), (1343074562,), (1343074656,), (1343074721,), (1343074907,), (1343075016,), (1343075025,), (1343075155,), (1343075167,), (1343075255,), (1343075547,), (1343075635,), (1343075691,), (1343076054,), (1343076074,), (1343076116,), (1343076153,), (1343076202,), (1343076226,), (1343076595,), (1343076650,), (1343076680,), (1343076745,), (1343076806,), (1343077352,), (1343077396,), (1343077459,), (1343077535,), (1343078065,), (1343077902,), (1343077939,), (1343077952,), (1343077986,), (1343078019,), (1343078229,), (1343078281,), (1343078332,), (1343078383,), (1343078432,), (1343078809,), (1343078858,), (1343078898,), (1343078943,), (1343079048,), (1343079063,), (1343079087,), (1343079113,), (1343079135,), (1343079148,), (1343079330,), (1343079483,), (1343079521,), (1343079752,), (1343079789,), (1343079815,), (1343079863,), (1343079901,), (1343079945,), (1343080295,), (1343080368,), (1343080452,), (1343080505,), (1343080587,), (1343081032,), (1343081063,), (1343081133,), (1343081169,), (1343081221,), (1343081275,), (1343081442,), (1343081521,), (1343081563,), (1343081580,), (1343081638,), (1343081669,), (1343081686,), (1343081717,), (1343081745,), (1343081780,), (1343082037,), (1343082133,), (1343082143,), (1343082198,), (1343082673,), (1343082766,), (1343082813,), (1343082872,), (1343082902,), (1343082930,), (1343083066,), (1343083086,), (1343083109,), (1343083136,), (1343083176,), (1343083755,), (1343083782,), (1343083807,), (1343083828,), (1343083856,), (1343084109,), (1343084045,), (1343084047,), (1343084065,), (1343084247,), (1343084268,), (1343084350,), (1343084423,), (1343084460,), (1343084773,), (1343084797,), (1343084820,), (1343084855,), (1343084893,), (1343085121,), (1343085209,), (1343085232,), (1343085602,), (1343085632,), (1343085670,), (1343086070,), (1343086112,), (1343086146,), (1343086229,), (1343086276,), (1343086363,), (1343086610,), (1343086740,), (1343086775,), (1343086827,), (1343086851,), (1343086964,), (1343086990,), (1343087038,), (1343087095,), (1343087379,), (1343087417,), (1343087463,), (1343087510,), (1343087559,), (1343087576,), (1343087699,), (1343087704,), (1343087713,), (1343087725,), (1343087939,), (1343087942,), (1343087946,), (1343087957,), (1343087962,), (1343087973,), (1343088317,), (1343088374,), (1343088415,), (1343088439,), (1343088469,), (1343088504,), (1343088508,), (1343088610,), (1343088770,), (1343088995,), (1343089120,), (1343089304,), (1343089323,), (1343089326,), (1343089338,), (1343089683,), (1343089749,), (1343089793,), (1343089836,), (1343089886,), (1343090452,), (1343090355,), (1343090405,), (1343090438,), (1343090449,), (1343090501,), (1343090505,), (1343090509,), (1343090536,), (1343090636,), (1343091094,), (1343091229,), (1343091332,), (1343091399,), (1343091860,), (1343091958,), (1343092117,), (1343092193,), (1343092366,), (1343092939,), (1343093004,), (1343093144,), (1343093362,), (1343093499,), (1343093819,), (1343094507,), (1343094637,), (1343094782,), (1343094898,), (1343095765,), (1343095780,), (1343095940,), (1343096079,), (1343096127,), (1343096156,), (1343096420,), (1343096447,), (1343096524,), (1343096601,), (1343097194,), (1343097270,), (1343097357,), (1343097455,), (1343097607,), (1343097718,), (1343098182,), (1343098281,), (1343098368,), (1343098432,), (1343099191,), (1343099254,), (1343099349,), (1343099415,), (1343099469,), (1343099498,), (1343099635,), (1343099661,), (1343099683,), (1343099736,), (1343099783,), (1343100157,), (1343100246,), (1343100369,), (1343100453,), (1343101105,), (1343101180,), (1343101276,), (1343101338,), (1343101347,), (1343101374,), (1343101517,), (1343101522,), (1343101561,), (1343101584,), (1343101599,), (1343102102,), (1343101940,), (1343101981,), (1343102016,), (1343102045,), (1343102082,), (1343102207,), (1343102229,), (1343102266,), (1343102286,), (1343102410,), (1343102809,), (1343102883,), (1343102936,), (1343102977,), (1343103038,), (1343103063,), (1343103580,), (1343103638,), (1343104336,), (1343107305,), (1343107340,), (1343107368,), (1343107786,), (1343108120,), (1343108151,), (1343108173,), (1343108192,), (1343108204,), (1343108711,), (1343108446,), (1343108511,), (1343108622,), (1343109125,), (1343109214,), (1343109291,), (1343109331,), (1343109346,), (1343109372,), (1343109537,), (1343109566,), (1343109581,), (1343109622,), (1343109647,), (1343109868,), (1343109899,), (1343109928,), (1343109953,), (1343110015,), (1343110018,), (1343110047,), (1343110055,), (1343110059,), (1343110072,), (1343110206,), (1343110231,), (1343110257,), (1343110318,), (1343110362,), (1343110447,), (1343110459,), (1343110477,), (1343110495,), (1343110561,), (1343110565,), (1343110569,), (1343110575,), (1343110581,), (1343110588,), (1343110607,), (1343110615,), (1343110617,), (1343110619,), (1343110623,), (1343110658,), (1343110661,), (1343110664,), (1343110679,), (1343110714,), (1343110736,), (1343110896,), (1343110941,), (1343110972,), (1343111013,), (1343111054,), (1343111441,), (1343111476,), (1343111517,), (1343111548,), (1343111588,), (1343111797,), (1343111829,), (1343111852,), (1343111903,), (1343112025,), (1343112044,), (1343112705,), (1343112743,), (1343112789,), (1343112833,), (1343112872,), (1343112961,), (1343113028,), (1343113065,), (1343113095,), (1343113134,), (1343113416,), (1343113257,), (1343113285,), (1343113337,), (1343113374,), (1343113794,), (1343113854,), (1343113936,), (1343114018,), (1343114060,), (1343114801,), (1343114883,), (1343114940,), (1343114979,), (1343115044,), (1343115106,), (1343115813,), (1343115866,), (1343115916,), (1343115978,), (1343116097,), (1343116130,), (1343116195,), (1343116283,), (1343116353,), (1343116395,), (1343116928,), (1343116955,), (1343117374,), (1343117746,), (1343117777,), (1343117834,), (1343117888,), (1343117913,), (1343117988,), (1343118501,), (1343118576,), (1343118649,), (1343118701,), (1343118766,), (1343119209,), (1343119279,), (1343119352,), (1343119426,), (1343119504,), (1343119561,), (1343119956,), (1343120045,), (1343120098,), (1343120700,), (1343120721,), (1343120826,), (1343120904,), (1343120984,), (1343121099,), (1343121868,), (1343121969,), (1343121990,), (1343122025,), (1343122167,), (1343122197,), (1343122223,), (1343122245,), (1343122250,), (1343122259,), (1343122341,), (1343122369,), (1343122423,), (1343122828,), (1343122909,), (1343122949,), (1343122979,), (1343122993,), (1343123013,), (1343123149,), (1343123121,), (1343123138,), (1343123143,), (1343123340,), (1343123416,), (1343123466,), (1343123473,), (1343123482,), (1343123487,), (1343123527,), (1343123531,), (1343123537,), (1343123543,), (1343123738,), (1343123766,), (1343123797,), (1343123821,), (1343123848,), (1343123871,), (1343123923,), (1343123929,), (1343123932,), (1343123938,), (1343123940,), (1343123978,), (1343124008,), (1343124014,), (1343124019,), (1343124021,), (1343124079,), (1343124083,), (1343124096,), (1343124118,), (1343124142,), (1343124286,), (1343124293,), (1343124299,), (1343124304,), (1343124307,), (1343124333,), (1343124345,), (1343124353,), (1343124359,), (1343124364,), (1343124381,), (1343124418,), (1343124429,), (1343124434,), (1343124437,), (1343124480,), (1343124484,), (1343124487,), (1343124502,), (1343124508,), (1343124523,), (1343124548,), (1343124554,), (1343124569,), (1343124788,), (1343124796,), (1343124802,), (1343124808,), (1343124812,), (1343124820,), (1343124939,), (1343124958,), (1343124975,), (1343124982,), (1343124986,), (1343125089,), (1343125177,), (1343125259,), (1343125270,), (1343125273,), (1343125275,), (1343125339,), (1343133435,), (1343133469,), (1343133856,), (1343133877,), (1343133900,), (1343133919,), (1343133923,), (1343133925,), (1343134078,), (1343134164,), (1343134311,), (1343134611,), (1343134637,), (1343134661,), (1343134688,), (1343134704,), (1343134735,), (1343134984,), (1343134998,), (1343135027,), (1343135067,), (1343135104,), (1343135120,), (1343135233,), (1343135275,), (1343135357,), (1343135480,), (1343135589,), (1343135596,), (1343135600,), (1343135612,), (1343135638,), (1343135656,), (1343135846,), (1343135868,), (1343135892,), (1343135911,), (1343136194,), (1343136284,), (1343136297,), (1343136306,), (1343136315,), (1343136320,), (1343136337,), (1343136345,), (1343136350,), (1343136355,), (1343136359,), (1343136363,), (1343136414,), (1343136419,), (1343136424,), (1343136428,), (1343136544,), (1343136550,), (1343136565,), (1343136576,), (1343136585,), (1343136715,), (1343136742,), (1343136766,), (1343136794,), (1343136816,), (1343136837,), (1343136921,), (1343136928,), (1343136933,), (1343136937,), (1343137423,), (1343137252,), (1343137271,), (1343137325,), (1343137385,), (1343137842,), (1343137852,), (1343137881,), (1343137907,), (1343138002,), (1343138010,), (1343138014,), (1343138019,), (1343138022,), (1343138024,), (1343138066,), (1343138074,), (1343138082,), (1343138095,), (1343138120,), (1343138510,), (1343138613,), (1343138662,), (1343138695,), (1343138722,), (1343139257,), (1343139306,), (1343139310,), (1343139325,), (1343139329,), (1343139629,), (1343139642,), (1343139661,), (1343139667,), (1343139671,), (1343139674,), (1343139794,), (1343139799,), (1343139804,), (1343139808,), (1343139813,), (1343139864,), (1343139870,), (1343139875,), (1343139885,), (1343139896,), (1343139926,), (1343140060,), (1343140064,), (1343140072,), (1343140079,), (1343140253,), (1343140264,), (1343140272,), (1343140279,), (1343140290,), (1343140317,), (1343140430,), (1343140442,), (1343140449,), (1343140453,), (1343140482,), (1343140484,), (1343140489,), (1343140494,), (1343140498,), (1343140507,), (1343140548,), (1343140552,), (1343140564,), (1343140589,), (1343140912,), (1343140938,), (1343140965,), (1343140991,), (1343141019,), (1343141065,), (1343141399,), (1343141333,), (1343141359,), (1343141384,), (1343141390,), (1343141394,), (1343141473,), (1343141478,), (1343141492,), (1343141872,), (1343141918,), (1343141962,), (1343142013,), (1343142051,), (1343142160,), (1343142398,), (1343142416,), (1343142442,), (1343142478,), (1343142597,), (1343142620,), (1343142643,), (1343142651,), (1343142770,), (1343142820,), (1343142892,), (1343142906,), (1343142916,), (1343142920,), (1343143043,), (1343143066,), (1343143080,), (1343143090,), (1343143109,), (1343143128,), (1343143262,), (1343143302,), (1343143357,), (1343143383,), (1343143409,), (1343143543,), (1343143556,), (1343143576,), (1343143584,), (1343143811,), (1343143868,), (1343143889,), (1343143910,), (1343143917,), (1343143923,), (1343144052,), (1343144062,), (1343144068,), (1343144097,), (1343144176,), (1343144180,), (1343144185,), (1343144211,), (1343144241,), (1343144270,), (1343144518,), (1343144566,), (1343144597,), (1343144625,), (1343144644,), (1343144972,), (1343144989,), (1343145008,), (1343145028,), (1343145051,), (1343145080,), (1343145321,), (1343145326,), (1343145339,), (1343145348,), (1343145516,), (1343145490,), (1343145499,), (1343145507,), (1343145512,), (1343145515,), (1343145720,), (1343145755,), (1343145800,), (1343146120,), (1343146145,), (1343146184,), (1343146207,), (1343146236,), (1343146262,), (1343146534,), (1343146573,), (1343146611,), (1343146639,), (1343146790,), (1343146828,), (1343146873,), (1343146924,), (1343147000,), (1343147048,), (1343147240,), (1343147246,), (1343147270,), (1343147280,), (1343147287,), (1343147449,), (1343147454,), (1343147486,), (1343147492,), (1343147513,), (1343147539,), (1343147912,), (1343147950,), (1343148005,), (1343148028,), (1343148422,), (1343148467,), (1343148517,), (1343148532,), (1343148541,), (1343148544,), (1343148728,), (1343148767,), (1343148781,), (1343148806,), (1343149719,), (1343149883,), (1343149986,), (1343150043,), (1343150078,), (1343150126,), (1343150611,), (1343150719,), (1343150782,), (1343150792,), (1343151360,), (1343151470,), (1343151543,), (1343151570,), (1343151601,), (1343151643,), (1343152369,), (1343152433,), (1343152507,), (1343152630,), (1343152665,), (1343152749,), (1343152781,), (1343152809,), (1343152843,), (1343153221,), (1343152970,), (1343153012,), (1343153026,), (1343153126,), (1343153161,), (1343153453,), (1343153516,), (1343153584,), (1343153645,), (1343153711,), (1343154149,), (1343154220,), (1343154299,), (1343154443,), (1343154479,), (1343154535,), (1343154852,), (1343155053,), (1343155112,), (1343155143,), (1343155171,), (1343155630,), (1343155707,), (1343155796,), (1343155827,), (1343155900,), (1343155937,), (1343156292,), (1343156322,), (1343156356,), (1343156905,), (1343156927,), (1343156975,), (1343156998,), (1343157016,), (1343157041,), (1343157243,), (1343157259,), (1343157295,), (1343157323,), (1343157783,), (1343157828,), (1343157879,), (1343157942,), (1343158005,), (1343158051,), (1343158490,), (1343158537,), (1343158583,), (1343158643,), (1343158700,), (1343158998,), (1343159046,), (1343159110,), (1343159160,), (1343159189,), (1343159218,), (1343159483,), (1343159536,), (1343159576,), (1343159601,), (1343159654,), (1343160061,), (1343160121,), (1343160170,), (1343160239,), (1343160444,), (1343160463,), (1343160487,), (1343160515,), (1343160558,), (1343160591,), (1343160796,), (1343160839,), (1343160893,), (1343160932,), (1343160959,), (1343161133,), (1343161109,), (1343161113,), (1343161118,), (1343161123,), (1343161127,), (1343161504,), (1343161577,), (1343161590,), (1343161599,), (1343161976,), (1343161986,), (1343162015,), (1343162025,), (1343162029,), (1343162105,), (1343162113,), (1343162126,), (1343162144,), (1343162149,), (1343162153,), (1343162274,), (1343162306,), (1343162322,), (1343162386,), (1343162404,), (1343162433,), (1343163147,), (1343163151,), (1343163636,), (1343163640,), (1343163645,), (1343163647,), (1343163650,), (1343163903,), (1343163909,), (1343163993,), (1343163996,), (1343164001,), (1343164006,), (1343164008,), (1343164012,), (1343164044,), (1343164049,), (1343164054,), (1343164057,), (1343164059,), (1343164090,), (1343164093,), (1343164095,), (1343164099,), (1343164103,), (1343164233,), (1343164237,), (1343164241,), (1343164245,), (1343164261,), (1343164281,), (1343164396,), (1343164400,), (1343164405,), (1343164410,), (1343164465,), (1343164476,), (1343164481,), (1343164485,), (1343164497,), (1343164506,), (1343164555,), (1343164558,), (1343164577,), (1343164878,), (1343164771,), (1343164778,), (1343164824,), (1343164857,), (1343165136,), (1343165167,), (1343165188,), (1343165195,), (1343165198,), (1343165338,), (1343165345,), (1343165349,), (1343165360,), (1343165366,), (1343165603,), (1343165612,), (1343165620,), (1343165631,), (1343165640,), (1343165687,), (1343165718,), (1343165746,), (1343165760,), (1343165765,), (1343165770,), (1343165804,), (1343165812,), (1343165820,), (1343165844,), (1343165850,), (1343166210,), (1343166232,), (1343166257,), (1343166289,), (1343166311,), (1343166340,), (1343166513,), (1343166514,), (1343166527,), (1343166532,), (1343166539,), (1343166594,), (1343166606,), (1343166618,), (1343166622,), (1343166630,), (1343166711,), (1343166732,), (1343166747,), (1343166767,), (1343166775,), (1343166786,), (1343166908,), (1343166937,), (1343166974,), (1343167013,), (1343167061,), (1343167358,), (1343167388,), (1343167443,), (1343167455,), (1343167510,), (1343167517,), (1343167525,), (1343167538,), (1343167545,), (1343167546,), (1343167620,), (1343167686,), (1343167784,), (1343167803,), (1343168065,), (1343168143,), (1343168218,), (1343168274,), (1343168328,), (1343168367,), (1343168830,), (1343168744,), (1343168800,), (1343168809,), (1343169036,), (1343169074,), (1343169127,), (1343169181,), (1343169199,), (1343169204,), (1343169296,), (1343169368,), (1343169387,), (1343169396,), (1343169474,), (1343169481,), (1343169488,), (1343169499,), (1343169505,), (1343169508,), (1343169581,), (1343169593,), (1343169611,), (1343169636,), (1343169657,), (1343169719,), (1343169725,), (1343169730,), (1343169741,), (1343169758,), (1343169791,), (1343169841,), (1343169884,), (1343169917,), (1343169931,), (1343170113,), (1343170123,), (1343170134,), (1343170143,), (1343170147,), (1343170156,), (1343170180,), (1343170183,), (1343170191,), (1343170197,), (1343170350,), (1343170396,), (1343170422,), (1343170444,), (1343170466,), (1343170499,), (1343170648,), (1343170806,), (1343170818,), (1343170844,), (1343170868,), (1343171060,), (1343171098,), (1343171133,), (1343171157,), (1343171170,), (1343171179,), (1343171202,), (1343171208,), (1343171212,), (1343171216,), (1343171221,), (1343171615,), (1343171639,), (1343171709,), (1343171759,), (1343171823,), (1343171931,), (1343172415,), (1343172128,), (1343172215,), (1343172286,), (1343172344,), (1343172820,), (1343172874,), (1343173010,), (1343173119,), (1343173786,), (1343173896,), (1343173940,), (1343174001,), (1343174179,), (1343174326,), (1343174555,), (1343174638,), (1343174709,), (1343174782,), (1343175398,), (1343175460,), (1343175629,), (1343175735,), (1343175826,), (1343175849,), (1343176500,), (1343176627,), (1343176700,), (1343177492,), (1343179146,), (1343179192,), (1343179720,), (1343179771,), (1343179801,), (1343179856,), (1343179885,), (1343180316,), (1343180400,), (1343180465,), (1343180510,), (1343180524,), (1343180551,), (1343180883,), (1343180914,), (1343180955,), (1343181025,), (1343181061,), (1343181137,), (1343181171,), (1343181207,), (1343181229,), (1343181249,), (1343181272,), (1343181542,), (1343181550,), (1343181591,), (1343181647,), (1343181685,), (1343182097,), (1343182172,), (1343182204,), (1343182208,), (1343182222,), (1343182234,), (1343182303,), (1343182270,), (1343182275,), (1343182291,), (1343182418,), (1343182431,), (1343182434,), (1343182461,), (1343182468,), (1343182470,), (1343182560,), (1343182588,), (1343182608,), (1343182612,), (1343182647,), (1343183042,), (1343183120,), (1343183173,), (1343183198,), (1343183211,), (1343183213,), (1343183516,), (1343183570,), (1343183593,), (1343183628,), (1343183918,), (1343184064,), (1343184159,), (1343184187,), (1343184213,), (1343184296,), (1343184444,), (1343184454,), (1343184457,), (1343184708,), (1343184801,), (1343184909,), (1343184959,), (1343185012,), (1343185024,), (1343185104,), (1343185114,), (1343185119,), (1343185123,), (1343185186,), (1343185206,), (1343185223,), (1343185230,), (1343185270,), (1343185292,), (1343185296,), (1343185312,), (1343185327,), (1343185332,), (1343185334,), (1343185386,), (1343185407,), (1343185414,), (1343185435,), (1343185764,), (1343185819,), (1343185851,), (1343185918,), (1343185973,), (1343185981,), (1343186363,), (1343186411,), (1343186472,), (1343186539,), (1343187190,), (1343187299,), (1343187392,), (1343187471,), (1343187560,), (1343187609,), (1343188156,), (1343187981,), (1343188033,), (1343188067,), (1343188106,), (1343188767,), (1343188831,), (1343188884,), (1343188931,), (1343188982,), (1343189354,), (1343189394,), (1343189479,), (1343189534,), (1343189636,), (1343189663,), (1343190020,), (1343190085,), (1343190156,), (1343190202,), (1343190503,), (1343190558,), (1343190623,), (1343190660,), (1343190690,), (1343190726,), (1343191000,), (1343191098,), (1343191187,), (1343191264,), (1343191890,), (1343191894,), (1343191899,), (1343191930,), (1343192007,), (1343192095,), (1343192547,), (1343192578,), (1343192633,), (1343192752,), (1343193494,), (1343193574,), (1343193635,), (1343193656,), (1343193730,), (1343193786,), (1343194200,), (1343194275,), (1343194319,), (1343194357,), (1343194373,), (1343194557,), (1343194573,), (1343194621,), (1343201307,), (1343199623,), (1343201302,), (1343201340,), (1343201342,), (1343201347,), (1343201614,), (1343201768,), (1343201781,), (1343201818,), (1343201829,), (1343202177,), (1343202192,), (1343202206,), (1343202232,), (1343202253,), (1343202426,), (1343202434,), (1343202439,), (1343202799,), (1343202837,), (1343203444,), (1343203542,), (1343203592,), (1343203615,), (1343203678,), (1343204357,), (1343204158,), (1343204213,), (1343204220,), (1343204295,), (1343204681,), (1343204695,), (1343204711,), (1343204733,), (1343204756,), (1343204933,), (1343204953,), (1343205292,), (1343205296,), (1343205301,), (1343205306,), (1343205318,), (1343205412,), (1343205456,), (1343205493,), (1343205559,), (1343205609,), (1343205672,), (1343205986,), (1343206022,), (1343206046,), (1343206297,), (1343206367,), (1343206389,), (1343206405,), (1343206431,), (1343206450,), (1343206541,), (1343206569,), (1343206594,), (1343206625,), (1343206643,), (1343206823,), (1343206850,), (1343206877,), (1343206902,), (1343207191,), (1343207269,), (1343207300,), (1343207420,), (1343207470,), (1343207500,), (1343207694,), (1343207723,), (1343207728,), (1343207733,), (1343207735,), (1343207747,), (1343207772,), (1343207785,), (1343207791,), (1343207835,), (1343207840,), (1343207851,), (1343207870,), (1343207876,), (1343207941,), (1343208345,), (1343208407,), (1343208424,), (1343208429,), (1343208434,), (1343208451,), (1343208520,), (1343208523,), (1343208527,), (1343208683,), (1343208655,), (1343208669,), (1343208673,), (1343208679,), (1343208736,), (1343208739,), (1343208743,), (1343208746,), (1343208766,), (1343208840,), (1343208916,), (1343208973,), (1343209006,), (1343209024,), (1343209091,), (1343209222,), (1343209229,), (1343209233,), (1343209277,), (1343209283,), (1343209289,), (1343209342,), (1343209378,), (1343209411,), (1343209416,), (1343209418,), (1343209448,), (1343209457,), (1343209500,), (1343209504,), (1343209509,), (1343209514,), (1343209518,), (1343209520,), (1343209607,), (1343209659,), (1343209676,), (1343210139,), (1343210168,), (1343210282,), (1343210655,), (1343210663,), (1343210676,), (1343210683,), (1343210690,), (1343210868,), (1343210882,), (1343210911,), (1343210920,), (1343210995,), (1343211011,), (1343211017,), (1343211020,), (1343211025,), (1343211027,), (1343211099,), (1343211106,), (1343211110,), (1343211113,), (1343211291,), (1343211319,), (1343211345,), (1343211364,), (1343211373,), (1343211388,), (1343211526,), (1343211421,), (1343211438,), (1343211461,), (1343211483,), (1343211507,), (1343211556,), (1343211562,), (1343211566,), (1343211568,), (1343211640,), (1343211644,), (1343211679,), (1343211766,), (1343211769,), (1343211780,), (1343211788,), (1343211831,), (1343211835,), (1343211862,), (1343211865,), (1343211868,), (1343211927,), (1343211954,), (1343211972,), (1343212015,), (1343212061,), (1343212085,), (1343212223,), (1343212246,), (1343212275,), (1343212299,), (1343212539,), (1343212552,), (1343212571,), (1343212589,), (1343212612,), (1343212639,), (1343212761,), (1343212768,), (1343212781,), (1343212785,), (1343212794,), (1343212815,), (1343212968,), (1343212995,), (1343213025,), (1343213040,), (1343213157,), (1343213301,), (1343213333,), (1343213338,), (1343213559,), (1343214342,), (1343214348,), (1343214357,), (1343214522,), (1343214570,), (1343214617,), (1343214664,), (1343214717,), (1343215080,), (1343214894,), (1343214919,), (1343214965,), (1343214992,), (1343215035,), (1343215480,), (1343215511,), (1343215661,), (1343215800,), (1343215893,), (1343216983,), (1343217070,), (1343217098,), (1343217436,), (1343217484,), (1343217494,), (1343217521,), (1343217523,), (1343217530,), (1343217620,), (1343217648,), (1343217705,), (1343217745,), (1343217792,), (1343217864,), (1343217991,), (1343218022,), (1343218074,), (1343218155,), (1343218179,), (1343218304,), (1343218309,), (1343218317,), (1343218341,), (1343218343,), (1343218364,), (1343218406,), (1343218440,), (1343218463,), (1343218510,), (1343218721,), (1343218727,), (1343218732,), (1343218882,), (1343218889,), (1343218897,), (1343218918,), (1343218931,), (1343219083,), (1343219112,), (1343219137,), (1343219141,), (1343219185,), (1343219190,), (1343219202,), (1343219204,), (1343219317,), (1343219357,), (1343219391,), (1343219881,), (1343219922,), (1343220020,), (1343220086,), (1343220416,), (1343220454,), (1343220489,), (1343220573,), (1343220621,), (1343220822,), (1343220846,), (1343220861,), (1343221146,), (1343221037,), (1343221061,), (1343221087,), (1343221126,), (1343221291,), (1343221378,), (1343221397,), (1343221479,), (1343221531,), (1343221567,), (1343221714,), (1343221742,), (1343221758,), (1343221790,), (1343222097,), (1343222123,), (1343222155,), (1343222203,), (1343222269,), (1343222292,), (1343222403,), (1343222463,), (1343222493,), (1343222510,), (1343222536,), (1343222563,), (1343222939,), (1343223091,), (1343223172,), (1343223304,), (1343223583,), (1343223651,), (1343223772,), (1343223811,), (1343224379,), (1343224478,), (1343224516,), (1343224537,), (1343224580,), (1343225066,), (1343225115,), (1343225193,), (1343225225,), (1343225271,), (1343225754,), (1343225801,), (1343225844,), (1343226074,), (1343226105,), (1343226112,), (1343226199,), (1343226231,), (1343226525,), (1343226560,), (1343226610,), (1343226665,), (1343227058,), (1343227071,), (1343227097,), (1343227129,), (1343227175,), (1343227199,), (1343227455,), (1343227485,), (1343227506,), (1343227541,), (1343227584,), (1343227791,), (1343227813,), (1343227837,), (1343227859,), (1343227873,), (1343228388,), (1343228193,), (1343228225,), (1343228265,), (1343228303,), (1343228342,), (1343228744,), (1343228853,), (1343228946,), (1343229000,), (1343229875,), (1343229919,), (1343229982,), (1343230014,), (1343230680,), (1343230795,), (1343230868,), (1343230988,), (1343231047,), (1343231489,), (1343231512,), (1343231527,), (1343231618,), (1343231757,), (1343232273,), (1343232347,), (1343232376,), (1343232398,), (1343232465,), (1343232783,), (1343232836,), (1343232865,), (1343233000,), (1343233093,), (1343233265,), (1343233727,), (1343233791,), (1343233868,), (1343233924,), (1343233976,), (1343234103,), (1343234446,), (1343234500,), (1343234583,), (1343235066,), (1343235113,), (1343235143,), (1343235173,), (1343235187,), (1343235223,), (1343235446,), (1343235730,), (1343235793,), (1343235825,), (1343235865,), (1343235925,), (1343236253,), (1343236330,), (1343236387,), (1343236668,), (1343236684,), (1343236704,), (1343236731,), (1343236753,), (1343236907,), (1343236910,), (1343236926,), (1343236980,), (1343237012,), (1343237240,), (1343237258,), (1343237289,), (1343237311,), (1343237333,), (1343237360,), (1343237594,), (1343237566,), (1343238219,), (1343238718,), (1343238726,), (1343238730,), (1343238754,), (1343238782,), (1343239178,), (1343239243,), (1343239284,), (1343239328,), (1343239620,), (1343239732,), (1343239749,), (1343239769,), (1343239950,), (1343239974,), (1343240002,), (1343240027,), (1343240063,), (1343240085,), (1343240138,), (1343241339,), (1343241789,), (1343241836,), (1343241869,), (1343241894,), (1343241901,), (1343241909,), (1343242208,), (1343242312,), (1343243323,), (1343243381,), (1343243424,), (1343243450,), (1343243541,), (1343243606,), (1343244020,), (1343244069,), (1343244138,), (1343244201,), (1343245672,), (1343245681,), (1343245838,), (1343245913,), (1343245995,), (1343246400,), (1343247224,), (1343247241,), (1343247324,), (1343247975,), (1343248122,), (1343249028,), (1343249137,), (1343249165,), (1343249195,), (1343249215,), (1343249237,), (1343249330,), (1343249334,), (1343249339,), (1343249378,), (1343249661,), (1343249697,), (1343249714,), (1343249816,), (1343249834,), (1343249843,), (1343249848,), (1343249854,), (1343249858,), (1343249876,), (1343249881,), (1343249886,), (1343249891,), (1343249895,), (1343249915,), (1343249927,), (1343249935,), (1343250025,), (1343250032,), (1343250037,), (1343250041,), (1343250133,), (1343250159,), (1343250187,), (1343250234,), (1343250280,), (1343250556,), (1343250607,), (1343250631,), (1343250654,), (1343250696,), (1343250700,), (1343250705,), (1343250710,), (1343250866,), (1343250873,), (1343250879,), (1343250883,), (1343250888,), (1343251045,), (1343251100,), (1343251150,), (1343251213,), (1343251580,), (1343251550,), (1343251942,), (1343252000,), (1343252081,), (1343252175,), (1343252267,), (1343252338,), (1343252846,), (1343252944,), (1343252990,), (1343253024,), (1343253342,), (1343253353,), (1343253375,), (1343254254,), (1343254289,), (1343254330,), (1343254688,), (1343254733,), (1343254769,), (1343255533,), (1343255591,), (1343255727,), (1343255832,), (1343255878,), (1343255903,), (1343256019,), (1343256156,), (1343256256,), (1343256268,), (1343256443,), (1343256454,), (1343256535,), (1343256594,), (1343256669,), (1343256704,), (1343257127,), (1343257142,), (1343257199,), (1343257274,), (1343257564,), (1343257573,), (1343257579,), (1343257821,), (1343257831,), (1343257846,), (1343257873,), (1343257920,), (1343257925,), (1343257929,), (1343257997,), (1343258018,), (1343258033,), (1343258233,), (1343258301,), (1343258324,), (1343258330,), (1343258334,), (1343258386,), (1343258376,), (1343258381,), (1343258419,), (1343258422,), (1343258426,), (1343258464,), (1343258470,), (1343258474,), (1343258514,), (1343258518,), (1343258523,), (1343258528,), (1343258536,), (1343258580,), (1343258585,), (1343258590,), (1343258594,), (1343258596,), (1343258598,), (1343258634,), (1343258638,), (1343258643,), (1343258647,), (1343258731,), (1343258736,), (1343258741,), (1343258755,), (1343259073,), (1343259089,), (1343259112,), (1343259129,), (1343259133,), (1343259297,), (1343259330,), (1343259359,), (1343259384,), (1343259396,), (1343259496,), (1343259550,), (1343259559,), (1343259562,), (1343259798,), (1343259813,), (1343259820,), (1343259830,), (1343259903,), (1343259906,), (1343259909,), (1343259912,), (1343259915,), (1343259917,), (1343260049,), (1343260060,), (1343260063,), (1343260067,), (1343260070,), (1343260113,), (1343260117,), (1343260122,), (1343260126,), (1343260185,), (1343260191,), (1343260196,), (1343260203,), (1343260275,), (1343260254,), (1343260259,), (1343260264,), (1343260267,), (1343260271,), (1343260477,), (1343260484,), (1343260492,), (1343260517,), (1343260677,), (1343260740,), (1343260768,), (1343260781,), (1343260811,), (1343260835,), (1343260903,), (1343260910,), (1343260927,), (1343260935,), (1343261144,), (1343261149,), (1343261154,), (1343261158,), (1343261162,), (1343261185,), (1343261201,), (1343261206,), (1343261210,), (1343261212,), (1343261271,), (1343261298,), (1343261322,), (1343261346,), (1343261357,), (1343261359,), (1343261389,), (1343261396,), (1343261398,), (1343261495,), (1343261500,), (1343261509,), (1343261512,), (1343261513,), (1343261515,), (1343261565,), (1343261568,), (1343261570,), (1343261575,), (1343261578,), (1343261626,), (1343261628,), (1343261630,), (1343261635,), (1343261638,), (1343261673,), (1343261677,), (1343261680,), (1343261682,), (1343261684,), (1343261760,), (1343261762,), (1343261769,), (1343261777,), (1343262557,), (1343262640,), (1343262683,), (1343262722,), (1343263145,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11032025': {'nb_upload': 33, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21274348]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1342933833, 1342933103, 1342933064, 1342933009, 1342932278, 1342932183, 1342932100, 1342931515, 1342931460, 1342931433, 1342931397, 1342930957, 1342930860, 1342930755, 1342930704, 1342930659, 1342930115, 1342930066, 1342930007, 1342929926, 1342929576, 1342929486, 1342929439, 1342929398, 1342929349, 1342928994, 1342928922, 1342928856, 1342928796, 1342928726, 1342928561, 1342927605, 1342927352] map_info['map_portfolio_photo'] : {21274348: [1342933833, 1342933103, 1342933064, 1342933009, 1342932278, 1342932183, 1342932100, 1342931515, 1342931460, 1342931433, 1342931397, 1342930957, 1342930860, 1342930755, 1342930704, 1342930659, 1342930115, 1342930066, 1342930007, 1342929926, 1342929576, 1342929486, 1342929439, 1342929398, 1342929349, 1342928994, 1342928922, 1342928856, 1342928796, 1342928726, 1342928561, 1342927605, 1342927352]} final : True mtd_id 4302 list_pids : [1342933833, 1342933103, 1342933064, 1342933009, 1342932278, 1342932183, 1342932100, 1342931515, 1342931460, 1342931433, 1342931397, 1342930957, 1342930860, 1342930755, 1342930704, 1342930659, 1342930115, 1342930066, 1342930007, 1342929926, 1342929576, 1342929486, 1342929439, 1342929398, 1342929349, 1342928994, 1342928922, 1342928856, 1342928796, 1342928726, 1342928561, 1342927605, 1342927352] Looping around the photos to save general results len do output : 1 /21274348Didn'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, '2660968') ('4302', '21274348', '1342933833', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342933103', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342933064', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342933009', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342932278', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342932183', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342932100', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931515', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931460', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931433', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342931397', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930957', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930860', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930755', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930704', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930659', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930115', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930066', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342930007', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929926', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929576', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929486', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929439', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929398', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342929349', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928994', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928922', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928856', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928796', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928726', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342928561', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342927605', None, None, None, None, None, '2660968') ('4302', None, None, None, None, None, None, None, '2660968') ('4302', '21274348', '1342927352', None, None, None, None, None, '2660968') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21274348', 'None', None, None, None, None, '2660968'), ('4302', '21274348', '1342933833', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342933103', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342933064', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342933009', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342932278', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342932183', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342932100', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342931515', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342931460', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342931433', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342931397', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930957', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930860', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930755', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930704', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930659', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930115', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930066', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342930007', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929926', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929576', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929486', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929439', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929398', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342929349', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928994', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928922', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928856', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928796', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928726', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342928561', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342927605', None, None, None, None, None, '2660968'), ('4302', '21274348', '1342927352', None, None, None, None, None, '2660968')] time used for this insertion : 0.020751476287841797 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.279626131057739 time spend to save output : 0.021088123321533203 total time spend for step 5 : 7.3007142543792725 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 (2660968) 2.39user 2.28system 0:25.65elapsed 18%CPU (0avgtext+0avgdata 155404maxresident)k 224inputs+28784outputs (2major+73985minor)pagefaults 0swaps