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 : 3884991 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 (3993951) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3993951) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28114558 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3993951'] with mtr_portfolio_ids : ['28114558'] and first list_photo_ids : [] new path : /proc/3884991/ Name: python3 Umask: 0002 State: R (running) Tgid: 3884991 Ngid: 0 Pid: 3884991 PPid: 3884990 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3884991 NSpid: 3884991 NSpgid: 3882952 NSsid: 3882952 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98372 kB VmRSS: 98372 kB RssAnon: 59908 kB RssFile: 38464 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 608 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 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: 57 nonvoluntary_ctxt_switches: 154 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3884991', 'Ngid': '0', 'Pid': '3884991', 'PPid': '3884990', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3884991', 'NSpid': '3884991', 'NSpgid': '3882952', 'NSsid': '3882952', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98372 kB', 'VmRSS': '98372 kB', 'RssAnon': '59908 kB', 'RssFile': '38464 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '608 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', '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': '57', 'nonvoluntary_ctxt_switches': '154'} ('datou_batch_current', '3884991', '1106908', '0', '1106884', '865636', '98372', b'', 'marlene', '3993951') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (28114558) 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 (3993951 ) ) 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 (28114558) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1392135758, 'portfolio_id': 28114558}, {'photo_id': 1392135619, 'portfolio_id': 28114558}, {'photo_id': 1392135587, 'portfolio_id': 28114558}, {'photo_id': 1392135106, 'portfolio_id': 28114558}, {'photo_id': 1392134930, 'portfolio_id': 28114558}, {'photo_id': 1392134922, 'portfolio_id': 28114558}, {'photo_id': 1392134478, 'portfolio_id': 28114558}, {'photo_id': 1392134140, 'portfolio_id': 28114558}, {'photo_id': 1392133598, 'portfolio_id': 28114558}, {'photo_id': 1392133553, 'portfolio_id': 28114558}, {'photo_id': 1392133515, 'portfolio_id': 28114558}, {'photo_id': 1392133320, 'portfolio_id': 28114558}, {'photo_id': 1392133319, 'portfolio_id': 28114558}, {'photo_id': 1392133317, 'portfolio_id': 28114558}, {'photo_id': 1392132880, 'portfolio_id': 28114558}, {'photo_id': 1392132271, 'portfolio_id': 28114558}, {'photo_id': 1392132206, 'portfolio_id': 28114558}, {'photo_id': 1392132138, 'portfolio_id': 28114558}, {'photo_id': 1392131360, 'portfolio_id': 28114558}, {'photo_id': 1392131320, 'portfolio_id': 28114558}, {'photo_id': 1392131278, 'portfolio_id': 28114558}, {'photo_id': 1392131204, 'portfolio_id': 28114558}, {'photo_id': 1392131201, 'portfolio_id': 28114558}, {'photo_id': 1392131198, 'portfolio_id': 28114558}, {'photo_id': 1392131193, 'portfolio_id': 28114558}, {'photo_id': 1392131189, 'portfolio_id': 28114558}, {'photo_id': 1392130774, 'portfolio_id': 28114558}, {'photo_id': 1392130734, 'portfolio_id': 28114558}, {'photo_id': 1392130690, 'portfolio_id': 28114558}, {'photo_id': 1392130652, 'portfolio_id': 28114558}, {'photo_id': 1392130616, 'portfolio_id': 28114558}] map_portfolio_id_photo_id: {28114558: [1392135758, 1392135619, 1392135587, 1392135106, 1392134930, 1392134922, 1392134478, 1392134140, 1392133598, 1392133553, 1392133515, 1392133320, 1392133319, 1392133317, 1392132880, 1392132271, 1392132206, 1392132138, 1392131360, 1392131320, 1392131278, 1392131204, 1392131201, 1392131198, 1392131193, 1392131189, 1392130774, 1392130734, 1392130690, 1392130652, 1392130616]} ##### 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.033681631088256836 #### 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 Tue Nov 4 07:31:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28114558) 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 : 28114558 get user id for portfolio 28114558 get sub ptf for main ptf 28114558, type 3726 and hashtags ['Teint_Dans_La_Masse', 'autre_refus', 'plastique', 'kraft', 'environnement', 'flou', 'Carton_gris', 'cartonnette', 'papier', 'Carton_brun', 'metal', 'mal_croppe'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28114558 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','plastique','kraft','environnement','flou','Carton_gris','cartonnette','papier','Carton_brun','metal','mal_croppe')) 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`=28114558 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','plastique','kraft','environnement','flou','Carton_gris','cartonnette','papier','Carton_brun','metal','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 28114558, 'sub_port_id': 28114562, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004031, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 2, 59)}, 'metal': {'main_port_id': 28114558, 'sub_port_id': 28114563, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004032, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 2, 59)}, 'autre_refus': {'main_port_id': 28114558, 'sub_port_id': 28114564, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004033, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 2, 59)}, 'cartonnette': {'main_port_id': 28114558, 'sub_port_id': 28114565, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004034, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 2, 59)}, 'plastique': {'main_port_id': 28114558, 'sub_port_id': 28114566, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004035, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 2, 59)}, 'kraft': {'main_port_id': 28114558, 'sub_port_id': 28114567, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004036, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 2, 59)}, 'Carton_gris': {'main_port_id': 28114558, 'sub_port_id': 28114568, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004037, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 2, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 28114558, 'sub_port_id': 28114569, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004038, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 2, 59)}, 'papier': {'main_port_id': 28114558, 'sub_port_id': 28114570, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004039, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 2, 59)}, 'mal_croppe': {'main_port_id': 28114558, 'sub_port_id': 28114571, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004040, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 2, 59)}, 'flou': {'main_port_id': 28114558, 'sub_port_id': 28114572, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004041, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 2, 59)}, 'Carton_brun': {'main_port_id': 28114558, 'sub_port_id': 28114573, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004042, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 0, 36), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 2, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28114562 , 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=28114558 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 (28114562) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28114558) result : ((1392130616,), (1392130652,), (1392130690,), (1392130734,), (1392130774,), (1392131189,), (1392131193,), (1392131198,), (1392131201,), (1392131204,), (1392131278,), (1392131320,), (1392131360,), (1392132138,), (1392132206,), (1392132271,), (1392132880,), (1392133317,), (1392133319,), (1392133320,), (1392133515,), (1392133553,), (1392133598,), (1392134140,), (1392134478,), (1392134922,), (1392134930,), (1392135106,), (1392135587,), (1392135619,), (1392135758,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28114563 , 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=28114558 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 (28114563) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28114558) result : ((1392130616,), (1392130652,), (1392130690,), (1392130734,), (1392130774,), (1392131189,), (1392131193,), (1392131198,), (1392131201,), (1392131204,), (1392131278,), (1392131320,), (1392131360,), (1392132138,), (1392132206,), (1392132271,), (1392132880,), (1392133317,), (1392133319,), (1392133320,), (1392133515,), (1392133553,), (1392133598,), (1392134140,), (1392134478,), (1392134922,), (1392134930,), (1392135106,), (1392135587,), (1392135619,), (1392135758,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28114564 , 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=28114558 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 (28114564) result : ((1392135185,), (1392135187,), (1392149537,), (1392149539,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28114558) result : ((1392130616,), (1392130652,), (1392130690,), (1392130734,), (1392130774,), (1392131189,), (1392131193,), (1392131198,), (1392131201,), (1392131204,), (1392131278,), (1392131320,), (1392131360,), (1392132138,), (1392132206,), (1392132271,), (1392132880,), (1392133317,), (1392133319,), (1392133320,), (1392133515,), (1392133553,), (1392133598,), (1392134140,), (1392134478,), (1392134922,), (1392134930,), (1392135106,), (1392135587,), (1392135619,), (1392135758,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28114565 , 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=28114558 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 (28114565) result : ((1392134796,), (1392134858,), (1392135057,), (1392135058,), (1392144526,), (1392149548,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28114558) result : ((1392130616,), (1392130652,), (1392130690,), (1392130734,), (1392130774,), (1392131189,), (1392131193,), (1392131198,), (1392131201,), (1392131204,), (1392131278,), (1392131320,), (1392131360,), (1392132138,), (1392132206,), (1392132271,), (1392132880,), (1392133317,), (1392133319,), (1392133320,), (1392133515,), (1392133553,), (1392133598,), (1392134140,), (1392134478,), (1392134922,), (1392134930,), (1392135106,), (1392135587,), (1392135619,), (1392135758,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28114566 , 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=28114558 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 (28114566) result : ((1392135231,), (1392135233,), (1392143683,), (1392144532,), (1392144533,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28114558) result : ((1392130616,), (1392130652,), (1392130690,), (1392130734,), (1392130774,), (1392131189,), (1392131193,), (1392131198,), (1392131201,), (1392131204,), (1392131278,), (1392131320,), (1392131360,), (1392132138,), (1392132206,), (1392132271,), (1392132880,), (1392133317,), (1392133319,), (1392133320,), (1392133515,), (1392133553,), (1392133598,), (1392134140,), (1392134478,), (1392134922,), (1392134930,), (1392135106,), (1392135587,), (1392135619,), (1392135758,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28114567 , 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=28114558 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 (28114567) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28114558) result : ((1392130616,), (1392130652,), (1392130690,), (1392130734,), (1392130774,), (1392131189,), (1392131193,), (1392131198,), (1392131201,), (1392131204,), (1392131278,), (1392131320,), (1392131360,), (1392132138,), (1392132206,), (1392132271,), (1392132880,), (1392133317,), (1392133319,), (1392133320,), (1392133515,), (1392133553,), (1392133598,), (1392134140,), (1392134478,), (1392134922,), (1392134930,), (1392135106,), (1392135587,), (1392135619,), (1392135758,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28114568 , 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=28114558 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 (28114568) result : ((1392135203,), (1392135205,), (1392135207,), (1392135209,), (1392144523,), (1392144524,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28114558) result : ((1392130616,), (1392130652,), (1392130690,), (1392130734,), (1392130774,), (1392131189,), (1392131193,), (1392131198,), (1392131201,), (1392131204,), (1392131278,), (1392131320,), (1392131360,), (1392132138,), (1392132206,), (1392132271,), (1392132880,), (1392133317,), (1392133319,), (1392133320,), (1392133515,), (1392133553,), (1392133598,), (1392134140,), (1392134478,), (1392134922,), (1392134930,), (1392135106,), (1392135587,), (1392135619,), (1392135758,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28114569 , 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=28114558 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 (28114569) result : ((1392135041,), (1392135043,), (1392135045,), (1392135047,), (1392135162,), (1392135165,), (1392135168,), (1392143665,), (1392143666,), (1392149522,), (1392149524,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28114558) result : ((1392130616,), (1392130652,), (1392130690,), (1392130734,), (1392130774,), (1392131189,), (1392131193,), (1392131198,), (1392131201,), (1392131204,), (1392131278,), (1392131320,), (1392131360,), (1392132138,), (1392132206,), (1392132271,), (1392132880,), (1392133317,), (1392133319,), (1392133320,), (1392133515,), (1392133553,), (1392133598,), (1392134140,), (1392134478,), (1392134922,), (1392134930,), (1392135106,), (1392135587,), (1392135619,), (1392135758,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28114570 , 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=28114558 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 (28114570) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28114558) result : ((1392130616,), (1392130652,), (1392130690,), (1392130734,), (1392130774,), (1392131189,), (1392131193,), (1392131198,), (1392131201,), (1392131204,), (1392131278,), (1392131320,), (1392131360,), (1392132138,), (1392132206,), (1392132271,), (1392132880,), (1392133317,), (1392133319,), (1392133320,), (1392133515,), (1392133553,), (1392133598,), (1392134140,), (1392134478,), (1392134922,), (1392134930,), (1392135106,), (1392135587,), (1392135619,), (1392135758,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28114571 , 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=28114558 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 (28114571) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28114558) result : ((1392130616,), (1392130652,), (1392130690,), (1392130734,), (1392130774,), (1392131189,), (1392131193,), (1392131198,), (1392131201,), (1392131204,), (1392131278,), (1392131320,), (1392131360,), (1392132138,), (1392132206,), (1392132271,), (1392132880,), (1392133317,), (1392133319,), (1392133320,), (1392133515,), (1392133553,), (1392133598,), (1392134140,), (1392134478,), (1392134922,), (1392134930,), (1392135106,), (1392135587,), (1392135619,), (1392135758,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28114572 , 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=28114558 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 (28114572) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28114558) result : ((1392130616,), (1392130652,), (1392130690,), (1392130734,), (1392130774,), (1392131189,), (1392131193,), (1392131198,), (1392131201,), (1392131204,), (1392131278,), (1392131320,), (1392131360,), (1392132138,), (1392132206,), (1392132271,), (1392132880,), (1392133317,), (1392133319,), (1392133320,), (1392133515,), (1392133553,), (1392133598,), (1392134140,), (1392134478,), (1392134922,), (1392134930,), (1392135106,), (1392135587,), (1392135619,), (1392135758,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28114573 , 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=28114558 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 (28114573) result : ((1392135218,), (1392143675,), (1392149555,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28114558) result : ((1392130616,), (1392130652,), (1392130690,), (1392130734,), (1392130774,), (1392131189,), (1392131193,), (1392131198,), (1392131201,), (1392131204,), (1392131278,), (1392131320,), (1392131360,), (1392132138,), (1392132206,), (1392132271,), (1392132880,), (1392133317,), (1392133319,), (1392133320,), (1392133515,), (1392133553,), (1392133598,), (1392134140,), (1392134478,), (1392134922,), (1392134930,), (1392135106,), (1392135587,), (1392135619,), (1392135758,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28114558 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','plastique','kraft','environnement','flou','Carton_gris','cartonnette','papier','Carton_brun','metal','mal_croppe')) 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`=28114558 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','plastique','kraft','environnement','flou','Carton_gris','cartonnette','papier','Carton_brun','metal','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 28114558, 'sub_port_id': 28114575, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004043, 'last_updated_at': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 3, 1)}, 'metal': {'main_port_id': 28114558, 'sub_port_id': 28114576, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004044, 'last_updated_at': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 3, 1)}, 'autre_refus': {'main_port_id': 28114558, 'sub_port_id': 28114577, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004045, 'last_updated_at': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 3, 1)}, 'cartonnette': {'main_port_id': 28114558, 'sub_port_id': 28114578, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004046, 'last_updated_at': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 3, 1)}, 'plastique': {'main_port_id': 28114558, 'sub_port_id': 28114579, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004047, 'last_updated_at': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 3, 1)}, 'kraft': {'main_port_id': 28114558, 'sub_port_id': 28114580, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004048, 'last_updated_at': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 3, 1)}, 'Carton_gris': {'main_port_id': 28114558, 'sub_port_id': 28114581, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004049, 'last_updated_at': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 3, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 28114558, 'sub_port_id': 28114582, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004050, 'last_updated_at': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 3, 1)}, 'papier': {'main_port_id': 28114558, 'sub_port_id': 28114583, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004051, 'last_updated_at': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 3, 1)}, 'mal_croppe': {'main_port_id': 28114558, 'sub_port_id': 28114584, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004052, 'last_updated_at': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 3, 1)}, 'flou': {'main_port_id': 28114558, 'sub_port_id': 28114585, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004053, 'last_updated_at': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 3, 20, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 3, 1)}, 'Carton_brun': {'main_port_id': 28114558, 'sub_port_id': 28114586, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19004054, 'last_updated_at': datetime.datetime(2025, 11, 3, 20, 17), 'last_updated_at_desc': datetime.datetime(2025, 11, 3, 20, 17), 'last_updated_at_asc': datetime.datetime(2025, 11, 3, 20, 3, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28114575,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28114562 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28114576,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28114563 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28114577,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28114564 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28114578,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28114565 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28114579,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28114566 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28114580,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28114567 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28114581,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28114568 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28114582,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28114569 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28114583,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28114570 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28114584,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28114571 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28114585,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28114572 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28114586,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28114573 lien utilise dans velours : https://marlene.fotonower.com/velours/28114575,28114576,28114577,28114578,28114579,28114580,28114581,28114582,28114583,28114584,28114585,28114586?tags=environnement,metal,autre_refus,cartonnette,plastique,kraft,Carton_gris,Teint_Dans_La_Masse,papier,mal_croppe,flou,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28114558]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1392135758, 1392135619, 1392135587, 1392135106, 1392134930, 1392134922, 1392134478, 1392134140, 1392133598, 1392133553, 1392133515, 1392133320, 1392133319, 1392133317, 1392132880, 1392132271, 1392132206, 1392132138, 1392131360, 1392131320, 1392131278, 1392131204, 1392131201, 1392131198, 1392131193, 1392131189, 1392130774, 1392130734, 1392130690, 1392130652, 1392130616] map_info['map_portfolio_photo'] : {28114558: [1392135758, 1392135619, 1392135587, 1392135106, 1392134930, 1392134922, 1392134478, 1392134140, 1392133598, 1392133553, 1392133515, 1392133320, 1392133319, 1392133317, 1392132880, 1392132271, 1392132206, 1392132138, 1392131360, 1392131320, 1392131278, 1392131204, 1392131201, 1392131198, 1392131193, 1392131189, 1392130774, 1392130734, 1392130690, 1392130652, 1392130616]} final : False mtd_id 4302 list_pids : [1392135758, 1392135619, 1392135587, 1392135106, 1392134930, 1392134922, 1392134478, 1392134140, 1392133598, 1392133553, 1392133515, 1392133320, 1392133319, 1392133317, 1392132880, 1392132271, 1392132206, 1392132138, 1392131360, 1392131320, 1392131278, 1392131204, 1392131201, 1392131198, 1392131193, 1392131189, 1392130774, 1392130734, 1392130690, 1392130652, 1392130616] Looping around the photos to save general results len do output : 1 /28114558. 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, '3993951') ('4302', '28114558', '1392135758', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392135619', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392135587', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392135106', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134930', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134922', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134478', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134140', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133598', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133553', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133515', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133320', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133319', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133317', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132880', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132271', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132206', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132138', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131360', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131320', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131278', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131204', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131201', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131198', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131193', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131189', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130774', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130734', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130690', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130652', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130616', None, None, None, None, None, '3993951') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 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, '28114558', "{'environnement': 28114562, 'metal': 28114563, 'autre_refus': 28114564, 'cartonnette': 28114565, 'plastique': 28114566, 'kraft': 28114567, 'Carton_gris': 28114568, 'Teint_Dans_La_Masse': 28114569, 'papier': 28114570, 'mal_croppe': 28114571, 'flou': 28114572, 'Carton_brun': 28114573}", None, None, None, None, '3993951'), ('4302', '28114558', '1392135758', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392135619', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392135587', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392135106', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392134930', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392134922', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392134478', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392134140', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133598', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133553', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133515', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133320', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133319', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133317', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392132880', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392132271', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392132206', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392132138', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131360', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131320', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131278', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131204', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131201', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131198', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131193', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131189', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392130774', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392130734', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392130690', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392130652', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392130616', None, None, None, None, None, '3993951')] time used for this insertion : 0.01862359046936035 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6415445804595947 time spend to save output : 0.019346952438354492 total time spend for step 1 : 1.6608915328979492 step2:final Tue Nov 4 07:32:01 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 (28114558) 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 28114558 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1392130774,1392130734,1392130690,1392130652,1392130616,1392131204,1392131201,1392131198,1392131193,1392131189,1392131360,1392131320,1392131278,1392132271,1392132206,1392132138,1392132880,1392133320,1392133319,1392133317,1392133598,1392133553,1392133515,1392134140,1392134478,1392134930,1392134922,1392135106,1392135619,1392135587,1392135758); 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([28114558]) Inside saveOutput : final : False verbose : True original output for save of step final : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} new output for save of step final : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} [1392135758, 1392135619, 1392135587, 1392135106, 1392134930, 1392134922, 1392134478, 1392134140, 1392133598, 1392133553, 1392133515, 1392133320, 1392133319, 1392133317, 1392132880, 1392132271, 1392132206, 1392132138, 1392131360, 1392131320, 1392131278, 1392131204, 1392131201, 1392131198, 1392131193, 1392131189, 1392130774, 1392130734, 1392130690, 1392130652, 1392130616] map_info['map_portfolio_photo'] : {28114558: [1392135758, 1392135619, 1392135587, 1392135106, 1392134930, 1392134922, 1392134478, 1392134140, 1392133598, 1392133553, 1392133515, 1392133320, 1392133319, 1392133317, 1392132880, 1392132271, 1392132206, 1392132138, 1392131360, 1392131320, 1392131278, 1392131204, 1392131201, 1392131198, 1392131193, 1392131189, 1392130774, 1392130734, 1392130690, 1392130652, 1392130616]} final : False mtd_id 4302 list_pids : [1392135758, 1392135619, 1392135587, 1392135106, 1392134930, 1392134922, 1392134478, 1392134140, 1392133598, 1392133553, 1392133515, 1392133320, 1392133319, 1392133317, 1392132880, 1392132271, 1392132206, 1392132138, 1392131360, 1392131320, 1392131278, 1392131204, 1392131201, 1392131198, 1392131193, 1392131189, 1392130774, 1392130734, 1392130690, 1392130652, 1392130616] Looping around the photos to save general results len do output : 31 /1392135758.Didn't retrieve data . /1392135619.Didn't retrieve data . /1392135587.Didn't retrieve data . /1392135106.Didn't retrieve data . /1392134930.Didn't retrieve data . /1392134922.Didn't retrieve data . /1392134478.Didn't retrieve data . /1392134140.Didn't retrieve data . /1392133598.Didn't retrieve data . /1392133553.Didn't retrieve data . /1392133515.Didn't retrieve data . /1392133320.Didn't retrieve data . /1392133319.Didn't retrieve data . /1392133317.Didn't retrieve data . /1392132880.Didn't retrieve data . /1392132271.Didn't retrieve data . /1392132206.Didn't retrieve data . /1392132138.Didn't retrieve data . /1392131360.Didn't retrieve data . /1392131320.Didn't retrieve data . /1392131278.Didn't retrieve data . /1392131204.Didn't retrieve data . /1392131201.Didn't retrieve data . /1392131198.Didn't retrieve data . /1392131193.Didn't retrieve data . /1392131189.Didn't retrieve data . /1392130774.Didn't retrieve data . /1392130734.Didn't retrieve data . /1392130690.Didn't retrieve data . /1392130652.Didn't retrieve data . /1392130616.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, '3993951') ('4302', '28114558', '1392135758', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392135619', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392135587', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392135106', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134930', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134922', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134478', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134140', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133598', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133553', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133515', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133320', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133319', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133317', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132880', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132271', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132206', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132138', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131360', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131320', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131278', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131204', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131201', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131198', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131193', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131189', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130774', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130734', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130690', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130652', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130616', None, None, None, None, None, '3993951') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 93 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', '28114558', '1392135758', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392135619', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392135587', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392135106', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392134930', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392134922', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392134478', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392134140', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392133598', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392133553', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392133515', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392133320', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392133319', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392133317', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392132880', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392132271', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392132206', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392132138', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392131360', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392131320', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392131278', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392131204', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392131201', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392131198', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392131193', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392131189', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392130774', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392130734', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392130690', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392130652', '0.03871547560940504', None, None, None, None, '3993951'), ('4302', '28114558', '1392130616', '0.03871547560940504', None, None, None, None, '3993951')] time used for this insertion : 0.016701459884643555 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08673286437988281 time spend to save output : 0.018808841705322266 total time spend for step 2 : 0.10554170608520508 step3:velours_tree Tue Nov 4 07:32:01 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 : {28114558: [{'environnement': 28114562, 'metal': 28114563, 'autre_refus': 28114564, 'cartonnette': 28114565, 'plastique': 28114566, 'kraft': 28114567, 'Carton_gris': 28114568, 'Teint_Dans_La_Masse': 28114569, 'papier': 28114570, 'mal_croppe': 28114571, 'flou': 28114572, 'Carton_brun': 28114573}]} input_args_next_step : {28114558: ()} output_args : {28114558: [{'environnement': 28114562, 'metal': 28114563, 'autre_refus': 28114564, 'cartonnette': 28114565, 'plastique': 28114566, 'kraft': 28114567, 'Carton_gris': 28114568, 'Teint_Dans_La_Masse': 28114569, 'papier': 28114570, 'mal_croppe': 28114571, 'flou': 28114572, 'Carton_brun': 28114573}]} args : 28114558 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'environnement': 28114562, 'metal': 28114563, 'autre_refus': 28114564, 'cartonnette': 28114565, 'plastique': 28114566, 'kraft': 28114567, 'Carton_gris': 28114568, 'Teint_Dans_La_Masse': 28114569, 'papier': 28114570, 'mal_croppe': 28114571, 'flou': 28114572, 'Carton_brun': 28114573},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28114558) 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([28114558]) 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.4568624496459961 time spend to save output : 0.0001327991485595703 total time spend for step 3 : 0.45699524879455566 step4:send_mail_cod Tue Nov 4 07:32:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} input_args_next_step : {1392135758: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392135758 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392135619 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392135587 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392135106 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392134930 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392134922 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392134478 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392134140 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392133598 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392133553 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392133515 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392133320 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392133319 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392133317 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392132880 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392132271 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392132206 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392132138 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392131360 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392131320 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392131278 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392131204 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392131201 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392131198 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392131193 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392131189 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392130774 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392130734 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392130690 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392130652 depend.output_id : 0 input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ()} output_args : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',)} args : 1392130616 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 : {28114558: [{'environnement': 28114562, 'metal': 28114563, 'autre_refus': 28114564, 'cartonnette': 28114565, 'plastique': 28114566, 'kraft': 28114567, 'Carton_gris': 28114568, 'Teint_Dans_La_Masse': 28114569, 'papier': 28114570, 'mal_croppe': 28114571, 'flou': 28114572, 'Carton_brun': 28114573}]} input_args_next_step : {1392135758: ('0.03871547560940504',), 1392135619: ('0.03871547560940504',), 1392135587: ('0.03871547560940504',), 1392135106: ('0.03871547560940504',), 1392134930: ('0.03871547560940504',), 1392134922: ('0.03871547560940504',), 1392134478: ('0.03871547560940504',), 1392134140: ('0.03871547560940504',), 1392133598: ('0.03871547560940504',), 1392133553: ('0.03871547560940504',), 1392133515: ('0.03871547560940504',), 1392133320: ('0.03871547560940504',), 1392133319: ('0.03871547560940504',), 1392133317: ('0.03871547560940504',), 1392132880: ('0.03871547560940504',), 1392132271: ('0.03871547560940504',), 1392132206: ('0.03871547560940504',), 1392132138: ('0.03871547560940504',), 1392131360: ('0.03871547560940504',), 1392131320: ('0.03871547560940504',), 1392131278: ('0.03871547560940504',), 1392131204: ('0.03871547560940504',), 1392131201: ('0.03871547560940504',), 1392131198: ('0.03871547560940504',), 1392131193: ('0.03871547560940504',), 1392131189: ('0.03871547560940504',), 1392130774: ('0.03871547560940504',), 1392130734: ('0.03871547560940504',), 1392130690: ('0.03871547560940504',), 1392130652: ('0.03871547560940504',), 1392130616: ('0.03871547560940504',), 28114558: ()} output_args : {28114558: [{'environnement': 28114562, 'metal': 28114563, 'autre_refus': 28114564, 'cartonnette': 28114565, 'plastique': 28114566, 'kraft': 28114567, 'Carton_gris': 28114568, 'Teint_Dans_La_Masse': 28114569, 'papier': 28114570, 'mal_croppe': 28114571, 'flou': 28114572, 'Carton_brun': 28114573}]} args : 28114558 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 :32, first value : ('0.03871547560940504',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28114558) 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_view ph WHERE photo_id IN (1392135758,1392135619,1392135587,1392135106,1392134930,1392134922,1392134478,1392134140,1392133598,1392133553,1392133515,1392133320,1392133319,1392133317,1392132880,1392132271,1392132206,1392132138,1392131360,1392131320,1392131278,1392131204,1392131201,1392131198,1392131193,1392131189,1392130774,1392130734,1392130690,1392130652,1392130616) Found this number of photos: 31 ##### Call download_photos : nb_thread : 5 begin to download photo : 1392130616 begin to download photo : 1392132206 begin to download photo : 1392131198 begin to download photo : 1392133553 begin to download photo : 1392135587 download finish for photo 1392132206 begin to download photo : 1392132271 download finish for photo 1392135587 begin to download photo : 1392135619 download finish for photo 1392131198 begin to download photo : 1392131201 download finish for photo 1392133553 begin to download photo : 1392133598 download finish for photo 1392130616 begin to download photo : 1392130652 download finish for photo 1392131201 begin to download photo : 1392131204 download finish for photo 1392133598 begin to download photo : 1392134140 download finish for photo 1392135619 begin to download photo : 1392135758 download finish for photo 1392132271 begin to download photo : 1392132880 download finish for photo 1392130652 begin to download photo : 1392130690 download finish for photo 1392131204 begin to download photo : 1392131278 download finish for photo 1392135758 download finish for photo 1392134140 begin to download photo : 1392134478 download finish for photo 1392132880 begin to download photo : 1392133317 download finish for photo 1392130690 begin to download photo : 1392130734 download finish for photo 1392131278 begin to download photo : 1392131320 download finish for photo 1392134478 begin to download photo : 1392134922 download finish for photo 1392133317 begin to download photo : 1392133319 download finish for photo 1392131320 begin to download photo : 1392131360 download finish for photo 1392130734 begin to download photo : 1392130774 download finish for photo 1392134922 begin to download photo : 1392134930 download finish for photo 1392133319 begin to download photo : 1392133320 download finish for photo 1392130774 begin to download photo : 1392131189 download finish for photo 1392134930 begin to download photo : 1392135106 download finish for photo 1392131360 begin to download photo : 1392132138 download finish for photo 1392133320 begin to download photo : 1392133515 download finish for photo 1392131189 begin to download photo : 1392131193 download finish for photo 1392133515 download finish for photo 1392132138 download finish for photo 1392135106 download finish for photo 1392131193 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette281145631762237923/ length of list_filenames : 31 ; length of list_pids : 31 ; length of list_args : 31 results_Auto_P28114558_04-11-2025_07_32_03.pdf 28114563 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28114563 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette281145631762237923 28114564 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28114564 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392135185: '1762197207_2862390_1392131193_03c89a44db6ea91111b1bb8a86ee34bc_rle_crop_4017107593_0.png', 1392135187: '1762197207_2862390_1392131189_70d3156626f22fc51bd6f6e6e937b5b1_rle_crop_4017107607_0.png', 1392149537: '1762200566_2945903_1392135106_4f10fa370fc575852c7c8cd797c1fb63_rle_crop_4017200246_0.png', 1392149539: '1762200566_2945903_1392134922_2ee1457422af789e1f06cda2b3bffc96_rle_crop_4017200258_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/46a1d1fc7f3408e9dc4170fdb3790862_14580245.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5e4f9383aeb5aaecd0f84d052e2de52b_83210597.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8806de075c687dbd1dbe3c0332837b54_92788624.png change filename to text .imagette281145641762237923/ imagette281145641762237923/1762200566_2945903_1392135106_4f10fa370fc575852c7c8cd797c1fb63_rle_crop_4017200246_0.png.png imagette281145641762237923/1762200566_2945903_1392134922_2ee1457422af789e1f06cda2b3bffc96_rle_crop_4017200258_0.png.png imagette281145641762237923/1762197207_2862390_1392131193_03c89a44db6ea91111b1bb8a86ee34bc_rle_crop_4017107593_0.png.png imagette281145641762237923/1762197207_2862390_1392131189_70d3156626f22fc51bd6f6e6e937b5b1_rle_crop_4017107607_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/16ee3eb53a6c792f33c92caf975daf58_24125240.png imagette281145641762237923 28114565 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28114565 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392134796: '1762196946_2853554_1392131278_46ba03ee7d550a27810b4ba9c1efe0d6_rle_crop_4017099484_0.png', 1392134858: '1762197065_2856889_1392131278_46ba03ee7d550a27810b4ba9c1efe0d6_bib_crop_4017099484_0.jpg', 1392135057: '1762197186_2861537_1392134140_7430bbb9cae0c89eac384bcc42e227de_rle_crop_4017107310_0.png', 1392135058: '1762197186_2861537_1392133553_91a9780304c1c568c71a27eeac9bb85b_rle_crop_4017107322_0.png', 1392144526: '1762199826_2928916_1392133317_75e5bd45b8715280983c8414ead7e049_rle_crop_4017170579_0.png', 1392149548: '1762200566_2945903_1392134922_2ee1457422af789e1f06cda2b3bffc96_rle_crop_4017200257_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0f080ae5b42265cf3aa520ecbb4eb8cd_16079329.png change filename to text .wget -O 2.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/636887162962d44ea1372d97e5d3edc6_59587781.jpg change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/14a63eafe87bf9867e3ad7374764d41d_98282560.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c59221ce96e9b149bcce3793f5cd717e_74319757.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2345a51467981762ecad71c8355c48d6_16529151.png change filename to text .imagette281145651762237923/ imagette281145651762237923/1762199826_2928916_1392133317_75e5bd45b8715280983c8414ead7e049_rle_crop_4017170579_0.png.png imagette281145651762237923/1762197186_2861537_1392133553_91a9780304c1c568c71a27eeac9bb85b_rle_crop_4017107322_0.png.png imagette281145651762237923/1762196946_2853554_1392131278_46ba03ee7d550a27810b4ba9c1efe0d6_rle_crop_4017099484_0.png.png imagette281145651762237923/1762197186_2861537_1392134140_7430bbb9cae0c89eac384bcc42e227de_rle_crop_4017107310_0.png.png imagette281145651762237923/1762200566_2945903_1392134922_2ee1457422af789e1f06cda2b3bffc96_rle_crop_4017200257_0.png.png imagette281145651762237923/1762197065_2856889_1392131278_46ba03ee7d550a27810b4ba9c1efe0d6_bib_crop_4017099484_0.jpg.jpg wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/14e87f1485d3914db8f1df76e0c12120_60985268.png imagette281145651762237923 28114566 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28114566 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392135231: '1762197207_2862390_1392131193_03c89a44db6ea91111b1bb8a86ee34bc_rle_crop_4017107596_0.png', 1392135233: '1762197207_2862390_1392131193_03c89a44db6ea91111b1bb8a86ee34bc_rle_crop_4017107592_0.png', 1392143683: '1762199587_2923387_1392135587_6c93e93282e15a80f526a6e26844bafd_rle_crop_4017157063_0.png', 1392144532: '1762199826_2928916_1392133598_344c24534a6ca806e2f1441b6b2fd122_rle_crop_4017170566_0.png', 1392144533: '1762199826_2928916_1392133319_3b70f54c9559c7b5161803f99b2784e3_rle_crop_4017170574_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d62066a17fac680aedb1bf36e01ccb9a_21249158.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8fda69e1263767b5933ad577d90d8d24_16347183.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/11322f14d00dfce9239127e0bac0559a_51480788.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/53c38c2e35b867f569c2ed240ba0e88e_46623856.png change filename to text .imagette281145661762237924/ imagette281145661762237924/1762197207_2862390_1392131193_03c89a44db6ea91111b1bb8a86ee34bc_rle_crop_4017107596_0.png.png imagette281145661762237924/1762199826_2928916_1392133598_344c24534a6ca806e2f1441b6b2fd122_rle_crop_4017170566_0.png.png imagette281145661762237924/1762199826_2928916_1392133319_3b70f54c9559c7b5161803f99b2784e3_rle_crop_4017170574_0.png.png imagette281145661762237924/1762199587_2923387_1392135587_6c93e93282e15a80f526a6e26844bafd_rle_crop_4017157063_0.png.png imagette281145661762237924/1762197207_2862390_1392131193_03c89a44db6ea91111b1bb8a86ee34bc_rle_crop_4017107592_0.png.png imagette281145671762237925/ imagette281145711762237925/ imagette281145721762237925/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a54b8b648feba472b32095010fe91fba_38501361.png imagette281145661762237924 28114567 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28114567 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette281145671762237925 28114571 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28114571 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette281145711762237925 28114572 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28114572 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette281145721762237925 28114568 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28114568 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392135203: '1762197207_2862390_1392131360_c0fdb6c7b1b2f41c2aa14b529ab2e8e4_rle_crop_4017107554_0.png', 1392135205: '1762197207_2862390_1392131360_c0fdb6c7b1b2f41c2aa14b529ab2e8e4_rle_crop_4017107553_0.png', 1392135207: '1762197207_2862390_1392131360_c0fdb6c7b1b2f41c2aa14b529ab2e8e4_rle_crop_4017107557_0.png', 1392135209: '1762197207_2862390_1392131189_70d3156626f22fc51bd6f6e6e937b5b1_rle_crop_4017107609_0.png', 1392144523: '1762199826_2928916_1392133598_344c24534a6ca806e2f1441b6b2fd122_rle_crop_4017170565_0.png', 1392144524: '1762199826_2928916_1392133598_344c24534a6ca806e2f1441b6b2fd122_rle_crop_4017170567_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/61a4299d14b5e48819f7851f52fef0e0_75499555.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/95ea5bdf02593b87ff50672bc2cb1560_36163170.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/80d6b232b51e07c7fb94a163922cd0b4_53104513.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d16ba63fed6b7c7145629724d7f4875b_41176472.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8adb4503caa84badce50d2134de2453c_61375777.png change filename to text .imagette281145681762237925/ imagette281145681762237925/1762199826_2928916_1392133598_344c24534a6ca806e2f1441b6b2fd122_rle_crop_4017170567_0.png.png imagette281145681762237925/1762197207_2862390_1392131360_c0fdb6c7b1b2f41c2aa14b529ab2e8e4_rle_crop_4017107554_0.png.png imagette281145681762237925/1762197207_2862390_1392131360_c0fdb6c7b1b2f41c2aa14b529ab2e8e4_rle_crop_4017107553_0.png.png imagette281145681762237925/1762197207_2862390_1392131189_70d3156626f22fc51bd6f6e6e937b5b1_rle_crop_4017107609_0.png.png imagette281145681762237925/1762199826_2928916_1392133598_344c24534a6ca806e2f1441b6b2fd122_rle_crop_4017170565_0.png.png imagette281145681762237925/1762197207_2862390_1392131360_c0fdb6c7b1b2f41c2aa14b529ab2e8e4_rle_crop_4017107557_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cd1c01e224035091e6e401a7789da424_66986756.png imagette281145681762237925 28114569 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28114569 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392135041: '1762197186_2861537_1392134140_7430bbb9cae0c89eac384bcc42e227de_rle_crop_4017107314_0.png', 1392135043: '1762197186_2861537_1392133553_91a9780304c1c568c71a27eeac9bb85b_rle_crop_4017107324_0.png', 1392135045: '1762197186_2861537_1392133515_18dbb8b4c2fe5892cb4d8a36f84ec74a_rle_crop_4017107335_0.png', 1392135047: '1762197186_2861537_1392133515_18dbb8b4c2fe5892cb4d8a36f84ec74a_rle_crop_4017107332_0.png', 1392135162: '1762197207_2862390_1392131201_33a1ad64054d5b4a17b78ebea98ec293_rle_crop_4017107574_0.png', 1392135165: '1762197207_2862390_1392131201_33a1ad64054d5b4a17b78ebea98ec293_rle_crop_4017107571_0.png', 1392135168: '1762197207_2862390_1392131193_03c89a44db6ea91111b1bb8a86ee34bc_rle_crop_4017107598_0.png', 1392143665: '1762199587_2923387_1392135758_e1e20b2e47c4cacd827a48ff638f8b61_rle_crop_4017157055_0.png', 1392143666: '1762199587_2923387_1392135587_6c93e93282e15a80f526a6e26844bafd_rle_crop_4017157065_0.png', 1392149522: '1762200566_2945903_1392135106_4f10fa370fc575852c7c8cd797c1fb63_rle_crop_4017200251_0.png', 1392149524: '1762200566_2945903_1392134922_2ee1457422af789e1f06cda2b3bffc96_rle_crop_4017200267_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a3cdec26be43c3a8c4fc7998f710a769_57938223.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e2a96b24916550a04fdcd18221870d7c_15582690.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3d9e3e2c8ec0180236683e2df647dc6c_77290200.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/eba1b3245663cb394e7dbf5089612aa6_17472971.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b3d7f9e7575d95c4b168e383969ec7f4_16150805.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7136af00ed4a4563ec264c6031f8e933_64883203.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ab129a3a537cb77d0f2dfb8435d99cc7_478666.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/17231fb6bcaa08edf3a24c33c128cf48_61319787.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a5bd0e2dcf1a2e2a3eaefbb5efe746a6_34722384.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7651e03a945edef9f638a9fa13c9e717_77844635.png change filename to text .imagette281145691762237925/ imagette281145691762237925/1762197207_2862390_1392131201_33a1ad64054d5b4a17b78ebea98ec293_rle_crop_4017107571_0.png.png imagette281145691762237925/1762199587_2923387_1392135758_e1e20b2e47c4cacd827a48ff638f8b61_rle_crop_4017157055_0.png.png imagette281145691762237925/1762197186_2861537_1392133515_18dbb8b4c2fe5892cb4d8a36f84ec74a_rle_crop_4017107332_0.png.png imagette281145691762237925/1762197186_2861537_1392133515_18dbb8b4c2fe5892cb4d8a36f84ec74a_rle_crop_4017107335_0.png.png imagette281145691762237925/1762199587_2923387_1392135587_6c93e93282e15a80f526a6e26844bafd_rle_crop_4017157065_0.png.png imagette281145691762237925/1762197186_2861537_1392133553_91a9780304c1c568c71a27eeac9bb85b_rle_crop_4017107324_0.png.png imagette281145691762237925/1762200566_2945903_1392134922_2ee1457422af789e1f06cda2b3bffc96_rle_crop_4017200267_0.png.png imagette281145691762237925/1762197207_2862390_1392131193_03c89a44db6ea91111b1bb8a86ee34bc_rle_crop_4017107598_0.png.png imagette281145691762237925/1762200566_2945903_1392135106_4f10fa370fc575852c7c8cd797c1fb63_rle_crop_4017200251_0.png.png imagette281145691762237925/1762197207_2862390_1392131201_33a1ad64054d5b4a17b78ebea98ec293_rle_crop_4017107574_0.png.png imagette281145691762237925/1762197186_2861537_1392134140_7430bbb9cae0c89eac384bcc42e227de_rle_crop_4017107314_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d454f1b93975f6a3f2bbbed1d90cd6ad_84466284.png imagette281145691762237925 28114573 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28114573 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392135218: '1762197207_2862390_1392131193_03c89a44db6ea91111b1bb8a86ee34bc_rle_crop_4017107597_0.png', 1392143675: '1762199587_2923387_1392135587_6c93e93282e15a80f526a6e26844bafd_rle_crop_4017157069_0.png', 1392149555: '1762200566_2945903_1392134922_2ee1457422af789e1f06cda2b3bffc96_rle_crop_4017200259_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/26e1ddc72c99505668a49ab42a3c97b6_17408012.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b548f10034c2460e80d2f95ed6add9d0_47482130.png change filename to text .imagette281145731762237927/ imagette281145731762237927/1762199587_2923387_1392135587_6c93e93282e15a80f526a6e26844bafd_rle_crop_4017157069_0.png.png imagette281145731762237927/1762200566_2945903_1392134922_2ee1457422af789e1f06cda2b3bffc96_rle_crop_4017200259_0.png.png imagette281145731762237927/1762197207_2862390_1392131193_03c89a44db6ea91111b1bb8a86ee34bc_rle_crop_4017107597_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a2798d33c51d1a99f260012c01f7886a_55901151.png imagette281145731762237927 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28114558 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28114575,28114576,28114577,28114578,28114579,28114580,28114581,28114582,28114583,28114584,28114585,28114586?tags=environnement,metal,autre_refus,cartonnette,plastique,kraft,Carton_gris,Teint_Dans_La_Masse,papier,mal_croppe,flou,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1392135758] : ('0.03871547560940504',) no score found for photo 1392135758 We are sending mail with results at report@fotonower.com args[1392135619] : ('0.03871547560940504',) no score found for photo 1392135619 We are sending mail with results at report@fotonower.com args[1392135587] : ('0.03871547560940504',) no score found for photo 1392135587 We are sending mail with results at report@fotonower.com args[1392135106] : ('0.03871547560940504',) no score found for photo 1392135106 We are sending mail with results at report@fotonower.com args[1392134930] : ('0.03871547560940504',) no score found for photo 1392134930 We are sending mail with results at report@fotonower.com args[1392134922] : ('0.03871547560940504',) no score found for photo 1392134922 We are sending mail with results at report@fotonower.com args[1392134478] : ('0.03871547560940504',) no score found for photo 1392134478 We are sending mail with results at report@fotonower.com args[1392134140] : ('0.03871547560940504',) no score found for photo 1392134140 We are sending mail with results at report@fotonower.com args[1392133598] : ('0.03871547560940504',) no score found for photo 1392133598 We are sending mail with results at report@fotonower.com args[1392133553] : ('0.03871547560940504',) no score found for photo 1392133553 We are sending mail with results at report@fotonower.com args[1392133515] : ('0.03871547560940504',) no score found for photo 1392133515 We are sending mail with results at report@fotonower.com args[1392133320] : ('0.03871547560940504',) no score found for photo 1392133320 We are sending mail with results at report@fotonower.com args[1392133319] : ('0.03871547560940504',) no score found for photo 1392133319 We are sending mail with results at report@fotonower.com args[1392133317] : ('0.03871547560940504',) no score found for photo 1392133317 We are sending mail with results at report@fotonower.com args[1392132880] : ('0.03871547560940504',) no score found for photo 1392132880 We are sending mail with results at report@fotonower.com args[1392132271] : ('0.03871547560940504',) no score found for photo 1392132271 We are sending mail with results at report@fotonower.com args[1392132206] : ('0.03871547560940504',) no score found for photo 1392132206 We are sending mail with results at report@fotonower.com args[1392132138] : ('0.03871547560940504',) no score found for photo 1392132138 We are sending mail with results at report@fotonower.com args[1392131360] : ('0.03871547560940504',) no score found for photo 1392131360 We are sending mail with results at report@fotonower.com args[1392131320] : ('0.03871547560940504',) no score found for photo 1392131320 We are sending mail with results at report@fotonower.com args[1392131278] : ('0.03871547560940504',) no score found for photo 1392131278 We are sending mail with results at report@fotonower.com args[1392131204] : ('0.03871547560940504',) no score found for photo 1392131204 We are sending mail with results at report@fotonower.com args[1392131201] : ('0.03871547560940504',) no score found for photo 1392131201 We are sending mail with results at report@fotonower.com args[1392131198] : ('0.03871547560940504',) no score found for photo 1392131198 We are sending mail with results at report@fotonower.com args[1392131193] : ('0.03871547560940504',) no score found for photo 1392131193 We are sending mail with results at report@fotonower.com args[1392131189] : ('0.03871547560940504',) no score found for photo 1392131189 We are sending mail with results at report@fotonower.com args[1392130774] : ('0.03871547560940504',) no score found for photo 1392130774 We are sending mail with results at report@fotonower.com args[1392130734] : ('0.03871547560940504',) no score found for photo 1392130734 We are sending mail with results at report@fotonower.com args[1392130690] : ('0.03871547560940504',) no score found for photo 1392130690 We are sending mail with results at report@fotonower.com args[1392130652] : ('0.03871547560940504',) no score found for photo 1392130652 We are sending mail with results at report@fotonower.com args[1392130616] : ('0.03871547560940504',) no score found for photo 1392130616 We are sending mail with results at report@fotonower.com refus_total : 0.03871547560940504 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28114558 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28114558_04-11-2025_07_32_03.pdf results_Auto_P28114558_04-11-2025_07_32_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28114558_04-11-2025_07_32_03.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','28114558','results_Auto_P28114558_04-11-2025_07_32_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28114558_04-11-2025_07_32_03.pdf','pdf','','0.37','0.03871547560940504') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28114558]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1392135758, 1392135619, 1392135587, 1392135106, 1392134930, 1392134922, 1392134478, 1392134140, 1392133598, 1392133553, 1392133515, 1392133320, 1392133319, 1392133317, 1392132880, 1392132271, 1392132206, 1392132138, 1392131360, 1392131320, 1392131278, 1392131204, 1392131201, 1392131198, 1392131193, 1392131189, 1392130774, 1392130734, 1392130690, 1392130652, 1392130616] map_info['map_portfolio_photo'] : {28114558: [1392135758, 1392135619, 1392135587, 1392135106, 1392134930, 1392134922, 1392134478, 1392134140, 1392133598, 1392133553, 1392133515, 1392133320, 1392133319, 1392133317, 1392132880, 1392132271, 1392132206, 1392132138, 1392131360, 1392131320, 1392131278, 1392131204, 1392131201, 1392131198, 1392131193, 1392131189, 1392130774, 1392130734, 1392130690, 1392130652, 1392130616]} final : False mtd_id 4302 list_pids : [1392135758, 1392135619, 1392135587, 1392135106, 1392134930, 1392134922, 1392134478, 1392134140, 1392133598, 1392133553, 1392133515, 1392133320, 1392133319, 1392133317, 1392132880, 1392132271, 1392132206, 1392132138, 1392131360, 1392131320, 1392131278, 1392131204, 1392131201, 1392131198, 1392131193, 1392131189, 1392130774, 1392130734, 1392130690, 1392130652, 1392130616] 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, '3993951') ('4302', '28114558', '1392135758', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392135619', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392135587', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392135106', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134930', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134922', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134478', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134140', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133598', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133553', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133515', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133320', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133319', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133317', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132880', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132271', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132206', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132138', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131360', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131320', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131278', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131204', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131201', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131198', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131193', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131189', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130774', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130734', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130690', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130652', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130616', None, None, None, None, None, '3993951') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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', '28114558', '1392135758', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392135619', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392135587', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392135106', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392134930', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392134922', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392134478', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392134140', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133598', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133553', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133515', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133320', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133319', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133317', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392132880', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392132271', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392132206', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392132138', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131360', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131320', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131278', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131204', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131201', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131198', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131193', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131189', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392130774', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392130734', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392130690', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392130652', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392130616', None, None, None, None, None, '3993951')] time used for this insertion : 0.01759028434753418 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.490278720855713 time spend to save output : 0.01816844940185547 total time spend for step 4 : 7.508447170257568 step5:split_time_score Tue Nov 4 07:32:09 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 : ['28114558'] 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 : [('28114558',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28114558) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1392135587: {'path': 'temp/1762237922_3884991_1392135587_6c93e93282e15a80f526a6e26844bafd.jpg', 'extension': 'jpg'}, 1392135619: {'path': 'temp/1762237922_3884991_1392135619_79ee8306c2287b5554a85962a62ac8b1.jpg', 'extension': 'jpg'}, 1392135758: {'path': 'temp/1762237922_3884991_1392135758_e1e20b2e47c4cacd827a48ff638f8b61.jpg', 'extension': 'jpg'}, 1392132206: {'path': 'temp/1762237922_3884991_1392132206_1bae30408b9c5373e2c0f14c4cf6b801.jpg', 'extension': 'jpg'}, 1392132271: {'path': 'temp/1762237922_3884991_1392132271_ed0f35ac305d8da9dd2b1d4483fc2ee5.jpg', 'extension': 'jpg'}, 1392132880: {'path': 'temp/1762237922_3884991_1392132880_082bb7d7682e9f72c08d1d74210ed3b0.jpg', 'extension': 'jpg'}, 1392133317: {'path': 'temp/1762237922_3884991_1392133317_75e5bd45b8715280983c8414ead7e049.jpg', 'extension': 'jpg'}, 1392133319: {'path': 'temp/1762237922_3884991_1392133319_3b70f54c9559c7b5161803f99b2784e3.jpg', 'extension': 'jpg'}, 1392133320: {'path': 'temp/1762237922_3884991_1392133320_f41ccbd13269d7d47454a92317aad501.jpg', 'extension': 'jpg'}, 1392133515: {'path': 'temp/1762237922_3884991_1392133515_18dbb8b4c2fe5892cb4d8a36f84ec74a.jpg', 'extension': 'jpg'}, 1392131198: {'path': 'temp/1762237922_3884991_1392131198_5165fe13fcfff598f1234c75675dd959.jpg', 'extension': 'jpg'}, 1392131201: {'path': 'temp/1762237922_3884991_1392131201_33a1ad64054d5b4a17b78ebea98ec293.jpg', 'extension': 'jpg'}, 1392131204: {'path': 'temp/1762237922_3884991_1392131204_85ab32471024f3718469c3dba6cbb2e9.jpg', 'extension': 'jpg'}, 1392131278: {'path': 'temp/1762237922_3884991_1392131278_46ba03ee7d550a27810b4ba9c1efe0d6.jpg', 'extension': 'jpg'}, 1392131320: {'path': 'temp/1762237922_3884991_1392131320_feb4afd89933020286322b0c22ebbe4a.jpg', 'extension': 'jpg'}, 1392131360: {'path': 'temp/1762237922_3884991_1392131360_c0fdb6c7b1b2f41c2aa14b529ab2e8e4.jpg', 'extension': 'jpg'}, 1392132138: {'path': 'temp/1762237922_3884991_1392132138_49554395b1a2bfef2a34afb7dd62ad4e.jpg', 'extension': 'jpg'}, 1392133553: {'path': 'temp/1762237922_3884991_1392133553_91a9780304c1c568c71a27eeac9bb85b.jpg', 'extension': 'jpg'}, 1392133598: {'path': 'temp/1762237922_3884991_1392133598_344c24534a6ca806e2f1441b6b2fd122.jpg', 'extension': 'jpg'}, 1392134140: {'path': 'temp/1762237922_3884991_1392134140_7430bbb9cae0c89eac384bcc42e227de.jpg', 'extension': 'jpg'}, 1392134478: {'path': 'temp/1762237922_3884991_1392134478_184252632a4c3ae2e4c63f654484a29f.jpg', 'extension': 'jpg'}, 1392134922: {'path': 'temp/1762237922_3884991_1392134922_2ee1457422af789e1f06cda2b3bffc96.jpg', 'extension': 'jpg'}, 1392134930: {'path': 'temp/1762237922_3884991_1392134930_e52c52587717d3d9cac563183f97a7c3.jpg', 'extension': 'jpg'}, 1392135106: {'path': 'temp/1762237922_3884991_1392135106_4f10fa370fc575852c7c8cd797c1fb63.jpg', 'extension': 'jpg'}, 1392130616: {'path': 'temp/1762237922_3884991_1392130616_a13831fd17c9b3c51dbae5d6112e294f.jpg', 'extension': 'jpg'}, 1392130652: {'path': 'temp/1762237922_3884991_1392130652_f72786b271934676f8c88fe86ee475ae.jpg', 'extension': 'jpg'}, 1392130690: {'path': 'temp/1762237922_3884991_1392130690_4b11aae1d4075d9f2aebcffb937eb25e.jpg', 'extension': 'jpg'}, 1392130734: {'path': 'temp/1762237922_3884991_1392130734_ac09956f5ef426edd54a0ea698bf6ebe.jpg', 'extension': 'jpg'}, 1392130774: {'path': 'temp/1762237922_3884991_1392130774_a1af8d8114b6165951e6c9981cad8cf5.jpg', 'extension': 'jpg'}, 1392131189: {'path': 'temp/1762237922_3884991_1392131189_70d3156626f22fc51bd6f6e6e937b5b1.jpg', 'extension': 'jpg'}, 1392131193: {'path': 'temp/1762237922_3884991_1392131193_03c89a44db6ea91111b1bb8a86ee34bc.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 = 28114558; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 28114558 group by h (('20', 31),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28114558 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 (28114558) 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 (28114558) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03112025 28114558 Nombre de photos uploadées : 31 / 23040 (0%) 03112025 28114558 Nombre de photos taguées (types de déchets): 0 / 31 (0%) 03112025 28114558 Nombre de photos taguées (volume) : 0 / 31 (0%) [{'photo_id': 1392130774, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a1af8d8114b6165951e6c9981cad8cf5.jpg', 'username': None, 'uploaded_at': 1762196467, 'text': 'image_03112025_20_00_04_10136.jpg'}, {'photo_id': 1392130734, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ac09956f5ef426edd54a0ea698bf6ebe.jpg', 'username': None, 'uploaded_at': 1762196467, 'text': 'image_03112025_20_00_15_10135.jpg'}, {'photo_id': 1392130690, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4b11aae1d4075d9f2aebcffb937eb25e.jpg', 'username': None, 'uploaded_at': 1762196467, 'text': 'image_03112025_20_00_25_10135.jpg'}, {'photo_id': 1392130652, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f72786b271934676f8c88fe86ee475ae.jpg', 'username': None, 'uploaded_at': 1762196467, 'text': 'image_03112025_20_00_34_9126.jpg'}] 0 [] elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.0728836059570312e-05 ??????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0012831687927246094 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 28114558, '2025-11-03' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-11-03' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2496756,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2082805633544922 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= 2496756 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28078721, 'dashboard_result_id': 16743666, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28078721_04-11-2025_05_34_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28078722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28078723, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28078724, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28078725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28078726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28078727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28078728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28078729, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28078730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28078731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28078732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28078733, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28078945, 'dashboard_result_id': 16743667, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28078945_04-11-2025_05_34_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28078950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28078951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28078952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28078953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28078954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28078955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28078956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28078957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28078958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28078959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28078960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28078961, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28079283, 'dashboard_result_id': 16743668, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28079283_04-11-2025_05_35_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28079286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28079287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28079288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28079289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28079290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28079291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28079292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28079293, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28079294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28079295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28079296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28079297, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28079678, 'dashboard_result_id': 16743669, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28079678_04-11-2025_05_36_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28079688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28079689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28079690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28079691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28079692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28079693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28079694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28079695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28079696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28079697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28079698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28079699, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28080272, 'dashboard_result_id': 16743670, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28080272_04-11-2025_05_36_12.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28080274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28080275, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28080276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28080277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28080278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28080279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28080280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28080281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28080282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28080283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28080284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28080285, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28080736, 'dashboard_result_id': 16743671, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28080736_04-11-2025_05_36_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28080748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28080749, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28080750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28080751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28080752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28080753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28080754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28080755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28080756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28080757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28080758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28080759, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28081410, 'dashboard_result_id': 16743672, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28081410_04-11-2025_05_37_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28081411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28081412, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28081413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28081414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28081415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28081416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28081417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28081418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28081419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28081420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28081421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28081422, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28081721, 'dashboard_result_id': 16743673, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28081721_04-11-2025_05_38_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28081722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28081723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28081724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28081725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28081726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28081727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28081728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28081729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28081730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28081731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28081732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28081733, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28082511, 'dashboard_result_id': 16743674, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28082511_04-11-2025_05_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28082530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28082531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28082532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28082533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28082534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28082535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28082536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28082537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28082538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28082539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28082540, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28082541, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28083055, 'dashboard_result_id': 16743675, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28083055_04-11-2025_05_39_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28083070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28083071, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28083072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28083073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28083074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28083075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28083076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28083077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28083078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28083079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28083080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28083081, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28083660, 'dashboard_result_id': 16743676, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28083660_04-11-2025_05_39_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28083696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28083697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28083698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28083699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28083700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28083701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28083702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28083703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28083704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28083705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28083706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28083707, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28084189, 'dashboard_result_id': 16743677, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28084189_04-11-2025_05_40_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28084202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28084203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28084204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28084205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28084206, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28084207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28084208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28084209, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28084210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28084211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28084212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28084213, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28085008, 'dashboard_result_id': 16743678, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28085008_04-11-2025_05_40_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28085030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28085031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28085032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28085033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28085034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28085035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28085037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28085038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28085039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28085040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28085041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28085042, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28085613, 'dashboard_result_id': 16743679, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28085613_04-11-2025_05_41_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28085645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28085646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28085647, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28085648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28085649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28085650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28085651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28085652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28085653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28085654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28085655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28085656, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28086254, 'dashboard_result_id': 16743680, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28086254_04-11-2025_05_41_12.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28086275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28086276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28086277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28086278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28086279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28086280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28086281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28086283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28086284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28086285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28086286, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28086287, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28088163, 'dashboard_result_id': 16743681, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28088163_04-11-2025_05_41_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28088165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28088166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28088167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28088168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28088169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28088170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28088171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28088172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28088173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28088174, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28088175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28088176, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28088405, 'dashboard_result_id': 16743682, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28088405_04-11-2025_05_42_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28088422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28088423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28088424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28088425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28088426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28088427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28088428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28088429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28088430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28088431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28088432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28088433, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28088712, 'dashboard_result_id': 16743683, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28088712_04-11-2025_05_42_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28088721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28088722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28088723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28088724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28088725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28088726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28088727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28088728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28088729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28088730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28088731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28088732, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28089270, 'dashboard_result_id': 16743684, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28089270_04-11-2025_05_43_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28089276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28089277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28089278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28089279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28089280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28089281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28089282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28089283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28089284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28089285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28089286, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28089287, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28089607, 'dashboard_result_id': 16743685, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28089607_04-11-2025_05_43_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28089640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28089641, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28089642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28089643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28089644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28089645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28089646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28089647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28089648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28089649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28089650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28089651, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28090052, 'dashboard_result_id': 16743686, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28090052_04-11-2025_05_43_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28090094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28090095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28090096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28090097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28090098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28090099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28090100, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28090101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28090102, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28090103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28090104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28090105, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28090500, 'dashboard_result_id': 16743687, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28090500_04-11-2025_05_44_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28090557, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28090558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28090559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28090560, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28090561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28090562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28090563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28090564, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28090565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28090566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28090567, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28090568, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28090962, 'dashboard_result_id': 16743688, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28090962_04-11-2025_05_44_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28090963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28090964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28090965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28090966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28090967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28090968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28090969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28090970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28090971, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28090972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28090973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28090974, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28091440, 'dashboard_result_id': 16743689, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28091440_04-11-2025_05_45_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28091456, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28091457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28091458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28091459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28091460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28091461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28091462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28091463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28091464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28091465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28091466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28091467, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28091933, 'dashboard_result_id': 16743690, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28091933_04-11-2025_05_45_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28091954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28091955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28091956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28091957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28091958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28091959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28091960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28091961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28091962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28091963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28091964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28091965, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28092420, 'dashboard_result_id': 16743691, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28092420_04-11-2025_05_46_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28092430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28092431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28092432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28092433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28092434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28092435, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28092436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28092437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28092438, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28092439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28092440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28092441, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28096357, 'dashboard_result_id': 16743692, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28096357_04-11-2025_05_46_12.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28096358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28096359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28096360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28096361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28096362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28096363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28096364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28096365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28096366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28096367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28096368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28096369, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28096564, 'dashboard_result_id': 16743693, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28096564_04-11-2025_05_46_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28096584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28096585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28096586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28096587, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28096588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28096589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28096590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28096591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28096592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28096593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28096594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28096595, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28097150, 'dashboard_result_id': 16743694, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28097150_04-11-2025_05_47_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28097189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28097190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28097191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28097192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28097193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28097194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28097195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28097196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28097197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28097198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28097199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28097200, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28097845, 'dashboard_result_id': 16743695, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28097845_04-11-2025_05_48_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28097850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28097851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28097852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28097853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28097854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28097855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28097856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28097857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28097858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28097859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28097860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28097861, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28098378, 'dashboard_result_id': 16743696, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28098378_04-11-2025_05_48_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28098403, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28098404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28098405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28098406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28098407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28098408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28098409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28098410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28098411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28098412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28098413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28098414, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28099347, 'dashboard_result_id': 16743697, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28099347_04-11-2025_05_49_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28099372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28099373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28099374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28099375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28099376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28099377, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28099378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28099379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28099380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28099381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28099382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28099383, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28099927, 'dashboard_result_id': 16743698, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28099927_04-11-2025_05_49_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28099972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28099973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28099974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28099975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28099976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28099977, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28099978, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28099979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28099980, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28099981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28099982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28099983, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28100666, 'dashboard_result_id': 16743699, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28100666_04-11-2025_05_50_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28100683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28100684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28100685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28100686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28100687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28100688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28100689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28100690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28100691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28100692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28100693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28100694, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28101364, 'dashboard_result_id': 16743700, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28101364_04-11-2025_05_50_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28101435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28101436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28101437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28101438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28101439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28101440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28101441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28101442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28101443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28101444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28101445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28101446, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28102901, 'dashboard_result_id': 16743701, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28102901_04-11-2025_05_51_13.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28102936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28102937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28102938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28102939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28102941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28102942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28102943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28102944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28102945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28102946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28102947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28102948, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28103763, 'dashboard_result_id': 16743702, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28103763_04-11-2025_05_51_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28103797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28103798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28103799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28103800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28103801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28103802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28103803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28103804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28103805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28103806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28103807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28103808, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28104957, 'dashboard_result_id': 16743703, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28104957_04-11-2025_05_51_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28104962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28104963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28104964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28104965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28104966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28104967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28104968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28104969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28104970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28104971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28104972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28104973, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28105272, 'dashboard_result_id': 16743704, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28105272_04-11-2025_05_53_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28105281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28105282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28105283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28105284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28105285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28105286, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28105287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28105288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28105289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28105290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28105291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28105292, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28105887, 'dashboard_result_id': 16743705, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28105887_04-11-2025_05_53_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28105920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28105921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28105922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28105923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28105924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28105925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28105926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28105927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28105928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28105929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28105930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28105931, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28106855, 'dashboard_result_id': 16743706, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28106855_04-11-2025_05_54_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28106972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28106973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28106974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28106975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28106976, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28106977, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28106978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28106979, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28106980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28106981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28106982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28106983, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28107565, 'dashboard_result_id': 16743707, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28107565_04-11-2025_05_54_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28107602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28107603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28107604, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28107606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28107607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28107608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28107609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28107611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28107612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28107613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28107614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28107616, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28109638, 'dashboard_result_id': 16743708, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28109638_04-11-2025_05_55_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28109738, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28109739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28109740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28109741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28109742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28109743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28109744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28109745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28109746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28109747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28109748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28109749, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28110154, 'dashboard_result_id': 16743709, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28110154_04-11-2025_05_56_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28110162, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28110163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28110164, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28110165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28110166, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28110167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28110168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28110169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28110170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28110171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28110172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28110173, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28110913, 'dashboard_result_id': 16743710, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28110913_04-11-2025_05_56_17.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28110952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28110953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28110954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28110955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28110956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28110957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28110958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28110959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28110960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28110961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28110962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28110963, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28111530, 'dashboard_result_id': 16743711, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28111530_04-11-2025_05_56_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28111555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28111556, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28111557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28111558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28111559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28111560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28111561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28111562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28111563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28111564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28111565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28111566, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28112022, 'dashboard_result_id': 16743712, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28112022_04-11-2025_05_57_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28112049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28112050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28112051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28112052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28112053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28112054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28112055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28112056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28112057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28112058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28112059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28112060, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28112774, 'dashboard_result_id': 16743713, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28112774_04-11-2025_05_58_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28112778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28112779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28112780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28112781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28112782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28112783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28112784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28112785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28112786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28112787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28112788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28112789, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28113341, 'dashboard_result_id': 16743714, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28113341_04-11-2025_05_59_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28113351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28113352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28113353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28113354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28113355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28113356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28113357, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28113358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28113359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28113360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28113361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28113362, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28113906, 'dashboard_result_id': 16743715, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28113906_04-11-2025_05_59_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28113926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28113927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28113928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28113929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28113930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28113931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28113932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28113933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28113934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28113935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28113936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28113937, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28114558, 'dashboard_result_id': 16743716, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28114558_03-11-2025_20_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28114562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28114563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28114564, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28114565, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28114566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28114567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28114568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28114569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28114570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28114571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28114572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28114573, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28115201, 'dashboard_result_id': 16743717, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28115201_04-11-2025_06_01_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28115225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28115226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28115227, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28115228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28115229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28115230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28115231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28115232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28115233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28115234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28115235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28115236, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28115927, 'dashboard_result_id': 16743718, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28115927_04-11-2025_06_01_10.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28115983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28115984, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28115985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28115986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28115987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28115988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28115989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28115990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28115991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28115992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28115993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28115994, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28117106, 'dashboard_result_id': 16743719, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28117106_04-11-2025_06_01_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28117111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28117112, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28117113, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28117114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28117115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28117116, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28117117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28117118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28117119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28117120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28117121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28117122, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28117623, 'dashboard_result_id': 16743720, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28117623_04-11-2025_06_02_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28117633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28117634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28117635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28117636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28117637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28117638, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28117639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28117640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28117641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28117642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28117643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28117644, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28118126, 'dashboard_result_id': 16743721, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28118126_04-11-2025_06_02_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28118143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28118144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28118145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28118146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28118147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28118148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28118149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28118150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28118151, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28118152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28118153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28118154, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28118702, 'dashboard_result_id': 16743722, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28118702_04-11-2025_06_03_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28118703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28118704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28118705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28118706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28118707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28118708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28118709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28118710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28118711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28118712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28118713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28118714, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28119320, 'dashboard_result_id': 16743723, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28119320_04-11-2025_06_04_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28119378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28119379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28119380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28119381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28119382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28119383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28119384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28119385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28119386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28119387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28119388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28119389, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28119995, 'dashboard_result_id': 16743724, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28119995_04-11-2025_06_05_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28120016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28120017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28120018, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28120019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28120020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28120021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28120022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28120023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28120024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28120025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28120027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28120028, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28120497, 'dashboard_result_id': 16743725, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28120497_04-11-2025_06_06_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28120529, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28120530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28120531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28120532, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28120533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28120534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28120535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28120536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28120537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28120538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28120539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28120540, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28121225, 'dashboard_result_id': 16743726, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28121225_04-11-2025_06_06_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28121229, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28121230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28121231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28121232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28121233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28121234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28121235, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28121236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28121237, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28121238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28121239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28121240, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28121481, 'dashboard_result_id': 16743727, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28121481_04-11-2025_06_06_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28121490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28121491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28121492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28121493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28121494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28121495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28121496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28121497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28121498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28121499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28121500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28121501, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28122025, 'dashboard_result_id': 16743728, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28122025_04-11-2025_06_07_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28122027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28122028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28122029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28122030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28122031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28122032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28122033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28122034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28122035, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28122036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28122037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28122038, 'pht': 3726}}"}, {'dashboat_entry_day': 2496756, 'dashboard_run_id': 2510825, 'mtr_portfolio_id': 28123039, 'dashboard_result_id': 16743729, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28123039_04-11-2025_06_08_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28123055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28123056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28123057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28123058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28123059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28123060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28123061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28123062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28123063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28123064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28123065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28123066, '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 = 28078721 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993901, 'mtr_portfolio_id': 28078721, 'created_at': datetime.datetime(2025, 11, 4, 5, 34, 33), 'result': '0.06036308946593587', 'result_long': None, 'result_double': None}] Qualite : 0.06036308946593587 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28078721 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28078721_04-11-2025_05_34_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28078721 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28078721_04-11-2025_05_34_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28078722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28078723, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28078724, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28078725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28078726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28078727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28078728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28078729, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28078730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28078731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28078732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28078733, 'pht': 3726}}" where mtr_portfolio_id = 28078721 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28078721 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743666, 0.06036308946593587, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28078721_04-11-2025_05_34_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28078722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28078723, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28078724, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28078725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28078726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28078727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28078728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28078729, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28078730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28078731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28078732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28078733, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28078945 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993902, 'mtr_portfolio_id': 28078945, 'created_at': datetime.datetime(2025, 11, 4, 5, 34, 29), 'result': '0.05180285159868486', 'result_long': None, 'result_double': None}] Qualite : 0.05180285159868486 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28078945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28078945_04-11-2025_05_34_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28078945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28078945_04-11-2025_05_34_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28078950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28078951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28078952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28078953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28078954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28078955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28078956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28078957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28078958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28078959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28078960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28078961, 'pht': 3726}}" where mtr_portfolio_id = 28078945 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28078945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743667, 0.05180285159868486, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28078945_04-11-2025_05_34_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28078950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28078951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28078952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28078953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28078954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28078955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28078956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28078957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28078958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28078959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28078960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28078961, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28079283 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993903, 'mtr_portfolio_id': 28079283, 'created_at': datetime.datetime(2025, 11, 4, 5, 35, 30), 'result': '0.059702692241162966', 'result_long': None, 'result_double': None}] Qualite : 0.059702692241162966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28079283 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28079283_04-11-2025_05_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28079283 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28079283_04-11-2025_05_35_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28079286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28079287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28079288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28079289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28079290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28079291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28079292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28079293, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28079294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28079295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28079296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28079297, 'pht': 3726}}" where mtr_portfolio_id = 28079283 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28079283 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743668, 0.059702692241162966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28079283_04-11-2025_05_35_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28079286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28079287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28079288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28079289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28079290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28079291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28079292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28079293, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28079294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28079295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28079296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28079297, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28079678 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993904, 'mtr_portfolio_id': 28079678, 'created_at': datetime.datetime(2025, 11, 4, 5, 35, 59), 'result': '0.048241458388210125', 'result_long': None, 'result_double': None}] Qualite : 0.048241458388210125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28079678 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28079678_04-11-2025_05_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28079678 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28079678_04-11-2025_05_36_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28079688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28079689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28079690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28079691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28079692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28079693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28079694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28079695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28079696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28079697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28079698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28079699, 'pht': 3726}}" where mtr_portfolio_id = 28079678 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28079678 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743669, 0.048241458388210125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28079678_04-11-2025_05_36_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28079688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28079689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28079690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28079691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28079692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28079693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28079694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28079695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28079696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28079697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28079698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28079699, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28080272 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993905, 'mtr_portfolio_id': 28080272, 'created_at': datetime.datetime(2025, 11, 4, 5, 36, 8), 'result': '0.04728047633793147', 'result_long': None, 'result_double': None}] Qualite : 0.04728047633793147 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28080272 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28080272_04-11-2025_05_36_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28080272 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28080272_04-11-2025_05_36_12.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28080274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28080275, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28080276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28080277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28080278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28080279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28080280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28080281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28080282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28080283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28080284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28080285, 'pht': 3726}}" where mtr_portfolio_id = 28080272 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28080272 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743670, 0.04728047633793147, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28080272_04-11-2025_05_36_12.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28080274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28080275, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28080276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28080277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28080278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28080279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28080280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28080281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28080282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28080283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28080284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28080285, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28080736 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993906, 'mtr_portfolio_id': 28080736, 'created_at': datetime.datetime(2025, 11, 4, 5, 36, 28), 'result': '0.048318692976224084', 'result_long': None, 'result_double': None}] Qualite : 0.048318692976224084 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28080736 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28080736_04-11-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28080736 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28080736_04-11-2025_05_36_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28080748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28080749, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28080750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28080751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28080752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28080753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28080754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28080755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28080756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28080757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28080758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28080759, 'pht': 3726}}" where mtr_portfolio_id = 28080736 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28080736 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743671, 0.048318692976224084, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28080736_04-11-2025_05_36_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28080748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28080749, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28080750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28080751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28080752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28080753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28080754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28080755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28080756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28080757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28080758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28080759, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28081410 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993907, 'mtr_portfolio_id': 28081410, 'created_at': datetime.datetime(2025, 11, 4, 5, 37, 29), 'result': '0.04896731414599372', 'result_long': None, 'result_double': None}] Qualite : 0.04896731414599372 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28081410 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28081410_04-11-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28081410 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28081410_04-11-2025_05_37_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28081411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28081412, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28081413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28081414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28081415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28081416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28081417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28081418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28081419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28081420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28081421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28081422, 'pht': 3726}}" where mtr_portfolio_id = 28081410 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28081410 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743672, 0.04896731414599372, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28081410_04-11-2025_05_37_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28081411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28081412, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28081413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28081414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28081415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28081416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28081417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28081418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28081419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28081420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28081421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28081422, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28081721 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993908, 'mtr_portfolio_id': 28081721, 'created_at': datetime.datetime(2025, 11, 4, 5, 37, 58), 'result': '0.06771475812159805', 'result_long': None, 'result_double': None}] Qualite : 0.06771475812159805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28081721 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28081721_04-11-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28081721 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28081721_04-11-2025_05_38_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28081722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28081723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28081724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28081725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28081726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28081727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28081728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28081729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28081730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28081731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28081732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28081733, 'pht': 3726}}" where mtr_portfolio_id = 28081721 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28081721 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743673, 0.06771475812159805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28081721_04-11-2025_05_38_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28081722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28081723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28081724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28081725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28081726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28081727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28081728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28081729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28081730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28081731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28081732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28081733, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28082511 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993909, 'mtr_portfolio_id': 28082511, 'created_at': datetime.datetime(2025, 11, 4, 5, 38, 29), 'result': '0.045229572448284176', 'result_long': None, 'result_double': None}] Qualite : 0.045229572448284176 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28082511 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28082511_04-11-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28082511 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28082511_04-11-2025_05_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28082530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28082531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28082532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28082533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28082534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28082535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28082536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28082537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28082538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28082539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28082540, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28082541, 'pht': 3726}}" where mtr_portfolio_id = 28082511 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28082511 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743674, 0.045229572448284176, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28082511_04-11-2025_05_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28082530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28082531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28082532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28082533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28082534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28082535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28082536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28082537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28082538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28082539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28082540, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28082541, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28083055 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993910, 'mtr_portfolio_id': 28083055, 'created_at': datetime.datetime(2025, 11, 4, 5, 38, 58), 'result': '0.06918237314784052', 'result_long': None, 'result_double': None}] Qualite : 0.06918237314784052 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28083055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28083055_04-11-2025_05_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28083055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28083055_04-11-2025_05_39_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28083070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28083071, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28083072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28083073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28083074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28083075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28083076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28083077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28083078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28083079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28083080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28083081, 'pht': 3726}}" where mtr_portfolio_id = 28083055 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28083055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743675, 0.06918237314784052, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28083055_04-11-2025_05_39_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28083070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28083071, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28083072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28083073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28083074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28083075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28083076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28083077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28083078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28083079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28083080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28083081, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28083660 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993911, 'mtr_portfolio_id': 28083660, 'created_at': datetime.datetime(2025, 11, 4, 5, 39, 28), 'result': '0.04977982642348838', 'result_long': None, 'result_double': None}] Qualite : 0.04977982642348838 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28083660 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28083660_04-11-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28083660 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28083660_04-11-2025_05_39_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28083696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28083697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28083698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28083699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28083700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28083701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28083702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28083703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28083704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28083705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28083706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28083707, 'pht': 3726}}" where mtr_portfolio_id = 28083660 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28083660 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743676, 0.04977982642348838, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28083660_04-11-2025_05_39_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28083696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28083697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28083698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28083699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28083700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28083701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28083702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28083703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28083704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28083705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28083706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28083707, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28084189 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993912, 'mtr_portfolio_id': 28084189, 'created_at': datetime.datetime(2025, 11, 4, 5, 39, 58), 'result': '0.06828303735080402', 'result_long': None, 'result_double': None}] Qualite : 0.06828303735080402 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28084189 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28084189_04-11-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28084189 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28084189_04-11-2025_05_40_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28084202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28084203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28084204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28084205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28084206, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28084207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28084208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28084209, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28084210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28084211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28084212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28084213, 'pht': 3726}}" where mtr_portfolio_id = 28084189 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28084189 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743677, 0.06828303735080402, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28084189_04-11-2025_05_40_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28084202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28084203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28084204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28084205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28084206, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28084207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28084208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28084209, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28084210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28084211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28084212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28084213, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28085008 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993913, 'mtr_portfolio_id': 28085008, 'created_at': datetime.datetime(2025, 11, 4, 5, 40, 28), 'result': '0.04309183660724546', 'result_long': None, 'result_double': None}] Qualite : 0.04309183660724546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28085008 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28085008_04-11-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28085008 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28085008_04-11-2025_05_40_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28085030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28085031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28085032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28085033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28085034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28085035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28085037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28085038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28085039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28085040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28085041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28085042, 'pht': 3726}}" where mtr_portfolio_id = 28085008 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28085008 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743678, 0.04309183660724546, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28085008_04-11-2025_05_40_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28085030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28085031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28085032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28085033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28085034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28085035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28085037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28085038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28085039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28085040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28085041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28085042, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28085613 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993914, 'mtr_portfolio_id': 28085613, 'created_at': datetime.datetime(2025, 11, 4, 5, 40, 59), 'result': '0.04900285509728568', 'result_long': None, 'result_double': None}] Qualite : 0.04900285509728568 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28085613 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28085613_04-11-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28085613 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28085613_04-11-2025_05_41_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28085645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28085646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28085647, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28085648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28085649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28085650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28085651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28085652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28085653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28085654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28085655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28085656, 'pht': 3726}}" where mtr_portfolio_id = 28085613 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28085613 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743679, 0.04900285509728568, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28085613_04-11-2025_05_41_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28085645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28085646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28085647, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28085648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28085649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28085650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28085651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28085652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28085653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28085654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28085655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28085656, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28086254 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993915, 'mtr_portfolio_id': 28086254, 'created_at': datetime.datetime(2025, 11, 4, 5, 41, 8), 'result': '0.050253450414607624', 'result_long': None, 'result_double': None}] Qualite : 0.050253450414607624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28086254 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28086254_04-11-2025_05_41_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28086254 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28086254_04-11-2025_05_41_12.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28086275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28086276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28086277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28086278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28086279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28086280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28086281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28086283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28086284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28086285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28086286, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28086287, 'pht': 3726}}" where mtr_portfolio_id = 28086254 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28086254 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743680, 0.050253450414607624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28086254_04-11-2025_05_41_12.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28086275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28086276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28086277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28086278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28086279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28086280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28086281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28086283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28086284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28086285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28086286, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28086287, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28088163 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993916, 'mtr_portfolio_id': 28088163, 'created_at': datetime.datetime(2025, 11, 4, 5, 41, 31), 'result': '0.048434176710289864', 'result_long': None, 'result_double': None}] Qualite : 0.048434176710289864 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28088163 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28088163_04-11-2025_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28088163 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28088163_04-11-2025_05_41_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28088165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28088166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28088167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28088168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28088169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28088170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28088171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28088172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28088173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28088174, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28088175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28088176, 'pht': 3726}}" where mtr_portfolio_id = 28088163 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28088163 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743681, 0.048434176710289864, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28088163_04-11-2025_05_41_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28088165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28088166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28088167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28088168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28088169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28088170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28088171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28088172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28088173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28088174, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28088175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28088176, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28088405 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993917, 'mtr_portfolio_id': 28088405, 'created_at': datetime.datetime(2025, 11, 4, 5, 42), 'result': '0.048421229322960196', 'result_long': None, 'result_double': None}] Qualite : 0.048421229322960196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28088405 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28088405_04-11-2025_05_42_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28088405 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28088405_04-11-2025_05_42_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28088422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28088423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28088424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28088425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28088426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28088427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28088428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28088429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28088430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28088431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28088432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28088433, 'pht': 3726}}" where mtr_portfolio_id = 28088405 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28088405 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743682, 0.048421229322960196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28088405_04-11-2025_05_42_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28088422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28088423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28088424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28088425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28088426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28088427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28088428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28088429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28088430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28088431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28088432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28088433, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28088712 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993918, 'mtr_portfolio_id': 28088712, 'created_at': datetime.datetime(2025, 11, 4, 5, 42, 28), 'result': '0.06377346570332167', 'result_long': None, 'result_double': None}] Qualite : 0.06377346570332167 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28088712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28088712_04-11-2025_05_42_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28088712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28088712_04-11-2025_05_42_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28088721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28088722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28088723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28088724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28088725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28088726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28088727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28088728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28088729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28088730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28088731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28088732, 'pht': 3726}}" where mtr_portfolio_id = 28088712 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28088712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743683, 0.06377346570332167, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28088712_04-11-2025_05_42_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28088721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28088722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28088723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28088724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28088725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28088726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28088727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28088728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28088729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28088730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28088731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28088732, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28089270 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993919, 'mtr_portfolio_id': 28089270, 'created_at': datetime.datetime(2025, 11, 4, 5, 43, 31), 'result': '0.05614958407625517', 'result_long': None, 'result_double': None}] Qualite : 0.05614958407625517 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28089270 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28089270_04-11-2025_05_43_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28089270 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28089270_04-11-2025_05_43_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28089276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28089277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28089278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28089279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28089280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28089281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28089282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28089283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28089284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28089285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28089286, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28089287, 'pht': 3726}}" where mtr_portfolio_id = 28089270 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28089270 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743684, 0.05614958407625517, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28089270_04-11-2025_05_43_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28089276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28089277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28089278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28089279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28089280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28089281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28089282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28089283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28089284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28089285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28089286, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28089287, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28089607 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993920, 'mtr_portfolio_id': 28089607, 'created_at': datetime.datetime(2025, 11, 4, 5, 43, 29), 'result': '0.040231899374859596', 'result_long': None, 'result_double': None}] Qualite : 0.040231899374859596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28089607 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28089607_04-11-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28089607 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28089607_04-11-2025_05_43_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28089640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28089641, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28089642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28089643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28089644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28089645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28089646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28089647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28089648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28089649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28089650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28089651, 'pht': 3726}}" where mtr_portfolio_id = 28089607 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28089607 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743685, 0.040231899374859596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28089607_04-11-2025_05_43_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28089640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28089641, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28089642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28089643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28089644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28089645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28089646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28089647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28089648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28089649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28089650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28089651, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28090052 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993921, 'mtr_portfolio_id': 28090052, 'created_at': datetime.datetime(2025, 11, 4, 5, 43, 57), 'result': '0.08957826950538778', 'result_long': None, 'result_double': None}] Qualite : 0.08957826950538778 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28090052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28090052_04-11-2025_05_43_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28090052 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28090052_04-11-2025_05_43_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28090094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28090095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28090096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28090097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28090098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28090099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28090100, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28090101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28090102, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28090103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28090104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28090105, 'pht': 3726}}" where mtr_portfolio_id = 28090052 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28090052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743686, 0.08957826950538778, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28090052_04-11-2025_05_43_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28090094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28090095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28090096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28090097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28090098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28090099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28090100, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28090101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28090102, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28090103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28090104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28090105, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28090500 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993922, 'mtr_portfolio_id': 28090500, 'created_at': datetime.datetime(2025, 11, 4, 5, 44, 27), 'result': '0.05475400481689315', 'result_long': None, 'result_double': None}] Qualite : 0.05475400481689315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28090500 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28090500_04-11-2025_05_44_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28090500 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28090500_04-11-2025_05_44_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28090557, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28090558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28090559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28090560, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28090561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28090562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28090563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28090564, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28090565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28090566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28090567, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28090568, 'pht': 3726}}" where mtr_portfolio_id = 28090500 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28090500 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743687, 0.05475400481689315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28090500_04-11-2025_05_44_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28090557, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28090558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28090559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28090560, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28090561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28090562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28090563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28090564, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28090565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28090566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28090567, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28090568, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28090962 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993923, 'mtr_portfolio_id': 28090962, 'created_at': datetime.datetime(2025, 11, 4, 5, 44, 56), 'result': '0.07008871387055793', 'result_long': None, 'result_double': None}] Qualite : 0.07008871387055793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28090962 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28090962_04-11-2025_05_44_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28090962 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28090962_04-11-2025_05_44_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28090963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28090964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28090965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28090966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28090967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28090968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28090969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28090970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28090971, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28090972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28090973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28090974, 'pht': 3726}}" where mtr_portfolio_id = 28090962 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28090962 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743688, 0.07008871387055793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28090962_04-11-2025_05_44_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28090963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28090964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28090965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28090966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28090967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28090968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28090969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28090970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28090971, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28090972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28090973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28090974, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28091440 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993924, 'mtr_portfolio_id': 28091440, 'created_at': datetime.datetime(2025, 11, 4, 5, 45, 28), 'result': '0.05110546143297392', 'result_long': None, 'result_double': None}] Qualite : 0.05110546143297392 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28091440 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28091440_04-11-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28091440 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28091440_04-11-2025_05_45_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28091456, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28091457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28091458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28091459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28091460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28091461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28091462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28091463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28091464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28091465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28091466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28091467, 'pht': 3726}}" where mtr_portfolio_id = 28091440 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28091440 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743689, 0.05110546143297392, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28091440_04-11-2025_05_45_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28091456, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28091457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28091458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28091459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28091460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28091461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28091462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28091463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28091464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28091465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28091466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28091467, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28091933 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993925, 'mtr_portfolio_id': 28091933, 'created_at': datetime.datetime(2025, 11, 4, 5, 45, 31), 'result': '0.052046847111219624', 'result_long': None, 'result_double': None}] Qualite : 0.052046847111219624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28091933 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28091933_04-11-2025_05_45_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28091933 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28091933_04-11-2025_05_45_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28091954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28091955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28091956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28091957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28091958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28091959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28091960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28091961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28091962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28091963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28091964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28091965, 'pht': 3726}}" where mtr_portfolio_id = 28091933 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28091933 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743690, 0.052046847111219624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28091933_04-11-2025_05_45_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28091954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28091955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28091956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28091957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28091958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28091959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28091960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28091961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28091962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28091963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28091964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28091965, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28092420 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993926, 'mtr_portfolio_id': 28092420, 'created_at': datetime.datetime(2025, 11, 4, 5, 46, 1), 'result': '0.06089636423380463', 'result_long': None, 'result_double': None}] Qualite : 0.06089636423380463 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28092420 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28092420_04-11-2025_05_46_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28092420 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28092420_04-11-2025_05_46_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28092430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28092431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28092432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28092433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28092434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28092435, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28092436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28092437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28092438, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28092439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28092440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28092441, 'pht': 3726}}" where mtr_portfolio_id = 28092420 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28092420 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743691, 0.06089636423380463, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28092420_04-11-2025_05_46_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28092430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28092431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28092432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28092433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28092434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28092435, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28092436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28092437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28092438, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28092439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28092440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28092441, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28096357 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993927, 'mtr_portfolio_id': 28096357, 'created_at': datetime.datetime(2025, 11, 4, 5, 46, 11), 'result': '0.0276011634032619', 'result_long': None, 'result_double': None}] Qualite : 0.0276011634032619 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28096357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28096357_04-11-2025_05_46_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28096357 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28096357_04-11-2025_05_46_12.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28096358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28096359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28096360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28096361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28096362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28096363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28096364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28096365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28096366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28096367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28096368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28096369, 'pht': 3726}}" where mtr_portfolio_id = 28096357 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28096357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743692, 0.0276011634032619, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28096357_04-11-2025_05_46_12.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28096358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28096359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28096360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28096361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28096362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28096363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28096364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28096365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28096366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28096367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28096368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28096369, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28096564 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993928, 'mtr_portfolio_id': 28096564, 'created_at': datetime.datetime(2025, 11, 4, 5, 46, 27), 'result': '0.049681122271505763', 'result_long': None, 'result_double': None}] Qualite : 0.049681122271505763 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28096564 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28096564_04-11-2025_05_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28096564 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28096564_04-11-2025_05_46_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28096584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28096585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28096586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28096587, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28096588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28096589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28096590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28096591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28096592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28096593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28096594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28096595, 'pht': 3726}}" where mtr_portfolio_id = 28096564 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28096564 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743693, 0.049681122271505763, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28096564_04-11-2025_05_46_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28096584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28096585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28096586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28096587, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28096588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28096589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28096590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28096591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28096592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28096593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28096594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28096595, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28097150 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993929, 'mtr_portfolio_id': 28097150, 'created_at': datetime.datetime(2025, 11, 4, 5, 47, 27), 'result': '0.05761033463909569', 'result_long': None, 'result_double': None}] Qualite : 0.05761033463909569 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28097150 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28097150_04-11-2025_05_47_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28097150 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28097150_04-11-2025_05_47_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28097189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28097190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28097191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28097192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28097193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28097194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28097195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28097196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28097197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28097198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28097199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28097200, 'pht': 3726}}" where mtr_portfolio_id = 28097150 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28097150 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743694, 0.05761033463909569, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28097150_04-11-2025_05_47_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28097189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28097190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28097191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28097192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28097193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28097194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28097195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28097196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28097197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28097198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28097199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28097200, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28097845 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993930, 'mtr_portfolio_id': 28097845, 'created_at': datetime.datetime(2025, 11, 4, 5, 47, 59), 'result': '0.052274677407648795', 'result_long': None, 'result_double': None}] Qualite : 0.052274677407648795 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28097845 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28097845_04-11-2025_05_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28097845 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28097845_04-11-2025_05_48_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28097850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28097851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28097852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28097853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28097854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28097855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28097856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28097857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28097858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28097859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28097860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28097861, 'pht': 3726}}" where mtr_portfolio_id = 28097845 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28097845 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743695, 0.052274677407648795, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28097845_04-11-2025_05_48_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28097850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28097851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28097852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28097853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28097854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28097855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28097856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28097857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28097858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28097859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28097860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28097861, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28098378 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993931, 'mtr_portfolio_id': 28098378, 'created_at': datetime.datetime(2025, 11, 4, 5, 48, 28), 'result': '0.07560253696066647', 'result_long': None, 'result_double': None}] Qualite : 0.07560253696066647 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28098378 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28098378_04-11-2025_05_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28098378 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28098378_04-11-2025_05_48_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28098403, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28098404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28098405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28098406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28098407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28098408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28098409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28098410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28098411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28098412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28098413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28098414, 'pht': 3726}}" where mtr_portfolio_id = 28098378 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28098378 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743696, 0.07560253696066647, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28098378_04-11-2025_05_48_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28098403, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28098404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28098405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28098406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28098407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28098408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28098409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28098410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28098411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28098412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28098413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28098414, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28099347 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993932, 'mtr_portfolio_id': 28099347, 'created_at': datetime.datetime(2025, 11, 4, 5, 49), 'result': '0.052998144105499204', 'result_long': None, 'result_double': None}] Qualite : 0.052998144105499204 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28099347 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28099347_04-11-2025_05_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28099347 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28099347_04-11-2025_05_49_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28099372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28099373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28099374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28099375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28099376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28099377, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28099378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28099379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28099380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28099381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28099382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28099383, 'pht': 3726}}" where mtr_portfolio_id = 28099347 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28099347 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743697, 0.052998144105499204, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28099347_04-11-2025_05_49_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28099372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28099373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28099374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28099375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28099376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28099377, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28099378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28099379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28099380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28099381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28099382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28099383, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28099927 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993933, 'mtr_portfolio_id': 28099927, 'created_at': datetime.datetime(2025, 11, 4, 5, 49, 30), 'result': '0.08268707193402713', 'result_long': None, 'result_double': None}] Qualite : 0.08268707193402713 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28099927 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28099927_04-11-2025_05_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28099927 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28099927_04-11-2025_05_49_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28099972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28099973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28099974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28099975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28099976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28099977, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28099978, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28099979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28099980, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28099981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28099982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28099983, 'pht': 3726}}" where mtr_portfolio_id = 28099927 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28099927 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743698, 0.08268707193402713, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28099927_04-11-2025_05_49_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28099972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28099973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28099974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28099975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28099976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28099977, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28099978, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28099979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28099980, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28099981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28099982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28099983, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28100666 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993934, 'mtr_portfolio_id': 28100666, 'created_at': datetime.datetime(2025, 11, 4, 5, 50, 2), 'result': '0.07371152932879921', 'result_long': None, 'result_double': None}] Qualite : 0.07371152932879921 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28100666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28100666_04-11-2025_05_50_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28100666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28100666_04-11-2025_05_50_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28100683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28100684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28100685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28100686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28100687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28100688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28100689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28100690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28100691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28100692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28100693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28100694, 'pht': 3726}}" where mtr_portfolio_id = 28100666 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28100666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743699, 0.07371152932879921, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28100666_04-11-2025_05_50_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28100683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28100684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28100685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28100686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28100687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28100688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28100689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28100690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28100691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28100692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28100693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28100694, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28101364 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993935, 'mtr_portfolio_id': 28101364, 'created_at': datetime.datetime(2025, 11, 4, 5, 50, 28), 'result': '0.05713325939309389', 'result_long': None, 'result_double': None}] Qualite : 0.05713325939309389 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28101364 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28101364_04-11-2025_05_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28101364 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28101364_04-11-2025_05_50_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28101435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28101436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28101437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28101438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28101439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28101440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28101441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28101442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28101443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28101444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28101445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28101446, 'pht': 3726}}" where mtr_portfolio_id = 28101364 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28101364 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743700, 0.05713325939309389, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28101364_04-11-2025_05_50_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28101435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28101436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28101437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28101438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28101439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28101440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28101441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28101442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28101443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28101444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28101445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28101446, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28102901 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993936, 'mtr_portfolio_id': 28102901, 'created_at': datetime.datetime(2025, 11, 4, 5, 51, 8), 'result': '0.05872710113397428', 'result_long': None, 'result_double': None}] Qualite : 0.05872710113397428 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28102901 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28102901_04-11-2025_05_51_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28102901 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28102901_04-11-2025_05_51_13.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28102936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28102937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28102938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28102939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28102941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28102942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28102943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28102944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28102945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28102946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28102947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28102948, 'pht': 3726}}" where mtr_portfolio_id = 28102901 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28102901 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743701, 0.05872710113397428, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28102901_04-11-2025_05_51_13.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28102936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28102937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28102938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28102939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28102941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28102942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28102943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28102944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28102945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28102946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28102947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28102948, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28103763 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993937, 'mtr_portfolio_id': 28103763, 'created_at': datetime.datetime(2025, 11, 4, 5, 51, 30), 'result': '0.05669439858974852', 'result_long': None, 'result_double': None}] Qualite : 0.05669439858974852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28103763 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28103763_04-11-2025_05_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28103763 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28103763_04-11-2025_05_51_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28103797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28103798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28103799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28103800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28103801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28103802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28103803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28103804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28103805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28103806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28103807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28103808, 'pht': 3726}}" where mtr_portfolio_id = 28103763 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28103763 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743702, 0.05669439858974852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28103763_04-11-2025_05_51_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28103797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28103798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28103799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28103800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28103801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28103802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28103803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28103804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28103805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28103806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28103807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28103808, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28104957 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993938, 'mtr_portfolio_id': 28104957, 'created_at': datetime.datetime(2025, 11, 4, 5, 51, 58), 'result': '0.06101474465068925', 'result_long': None, 'result_double': None}] Qualite : 0.06101474465068925 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28104957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28104957_04-11-2025_05_51_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28104957 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28104957_04-11-2025_05_51_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28104962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28104963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28104964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28104965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28104966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28104967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28104968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28104969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28104970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28104971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28104972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28104973, 'pht': 3726}}" where mtr_portfolio_id = 28104957 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28104957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743703, 0.06101474465068925, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28104957_04-11-2025_05_51_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28104962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28104963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28104964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28104965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28104966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28104967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28104968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28104969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28104970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28104971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28104972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28104973, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28105272 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993939, 'mtr_portfolio_id': 28105272, 'created_at': datetime.datetime(2025, 11, 4, 5, 52, 59), 'result': '0.07368683978899263', 'result_long': None, 'result_double': None}] Qualite : 0.07368683978899263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28105272 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28105272_04-11-2025_05_53_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28105272 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28105272_04-11-2025_05_53_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28105281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28105282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28105283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28105284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28105285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28105286, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28105287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28105288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28105289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28105290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28105291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28105292, 'pht': 3726}}" where mtr_portfolio_id = 28105272 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28105272 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743704, 0.07368683978899263, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28105272_04-11-2025_05_53_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28105281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28105282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28105283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28105284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28105285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28105286, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28105287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28105288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28105289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28105290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28105291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28105292, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28105887 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993940, 'mtr_portfolio_id': 28105887, 'created_at': datetime.datetime(2025, 11, 4, 5, 53, 29), 'result': '0.048873765909001776', 'result_long': None, 'result_double': None}] Qualite : 0.048873765909001776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28105887 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28105887_04-11-2025_05_53_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28105887 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28105887_04-11-2025_05_53_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28105920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28105921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28105922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28105923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28105924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28105925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28105926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28105927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28105928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28105929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28105930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28105931, 'pht': 3726}}" where mtr_portfolio_id = 28105887 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28105887 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743705, 0.048873765909001776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28105887_04-11-2025_05_53_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28105920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28105921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28105922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28105923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28105924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28105925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28105926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28105927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28105928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28105929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28105930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28105931, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28106855 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993941, 'mtr_portfolio_id': 28106855, 'created_at': datetime.datetime(2025, 11, 4, 5, 53, 57), 'result': '0.047431384591873356', 'result_long': None, 'result_double': None}] Qualite : 0.047431384591873356 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28106855 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28106855_04-11-2025_05_54_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28106855 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28106855_04-11-2025_05_54_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28106972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28106973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28106974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28106975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28106976, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28106977, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28106978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28106979, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28106980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28106981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28106982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28106983, 'pht': 3726}}" where mtr_portfolio_id = 28106855 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28106855 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743706, 0.047431384591873356, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28106855_04-11-2025_05_54_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28106972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28106973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28106974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28106975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28106976, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28106977, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28106978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28106979, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28106980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28106981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28106982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28106983, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28107565 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993942, 'mtr_portfolio_id': 28107565, 'created_at': datetime.datetime(2025, 11, 4, 5, 54, 28), 'result': '0.06172363616677697', 'result_long': None, 'result_double': None}] Qualite : 0.06172363616677697 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28107565 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28107565_04-11-2025_05_54_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28107565 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28107565_04-11-2025_05_54_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28107602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28107603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28107604, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28107606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28107607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28107608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28107609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28107611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28107612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28107613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28107614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28107616, 'pht': 3726}}" where mtr_portfolio_id = 28107565 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28107565 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743707, 0.06172363616677697, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28107565_04-11-2025_05_54_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28107602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28107603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28107604, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28107606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28107607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28107608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28107609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28107611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28107612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28107613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28107614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28107616, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28109638 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993943, 'mtr_portfolio_id': 28109638, 'created_at': datetime.datetime(2025, 11, 4, 5, 55, 30), 'result': '0.030282713819077822', 'result_long': None, 'result_double': None}] Qualite : 0.030282713819077822 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28109638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28109638_04-11-2025_05_55_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28109638 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28109638_04-11-2025_05_55_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28109738, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28109739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28109740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28109741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28109742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28109743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28109744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28109745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28109746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28109747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28109748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28109749, 'pht': 3726}}" where mtr_portfolio_id = 28109638 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28109638 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743708, 0.030282713819077822, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28109638_04-11-2025_05_55_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28109738, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28109739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28109740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28109741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28109742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28109743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28109744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28109745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28109746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28109747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28109748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28109749, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28110154 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993944, 'mtr_portfolio_id': 28110154, 'created_at': datetime.datetime(2025, 11, 4, 5, 55, 59), 'result': '0.020038549652428815', 'result_long': None, 'result_double': None}] Qualite : 0.020038549652428815 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28110154 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28110154_04-11-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28110154 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28110154_04-11-2025_05_56_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28110162, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28110163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28110164, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28110165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28110166, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28110167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28110168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28110169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28110170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28110171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28110172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28110173, 'pht': 3726}}" where mtr_portfolio_id = 28110154 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28110154 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743709, 0.020038549652428815, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28110154_04-11-2025_05_56_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28110162, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28110163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28110164, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28110165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28110166, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28110167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28110168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28110169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28110170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28110171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28110172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28110173, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28110913 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993945, 'mtr_portfolio_id': 28110913, 'created_at': datetime.datetime(2025, 11, 4, 5, 56, 12), 'result': '0.05786007079509236', 'result_long': None, 'result_double': None}] Qualite : 0.05786007079509236 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28110913 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28110913_04-11-2025_05_56_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28110913 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28110913_04-11-2025_05_56_17.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28110952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28110953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28110954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28110955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28110956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28110957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28110958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28110959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28110960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28110961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28110962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28110963, 'pht': 3726}}" where mtr_portfolio_id = 28110913 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28110913 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743710, 0.05786007079509236, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28110913_04-11-2025_05_56_17.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28110952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28110953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28110954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28110955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28110956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28110957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28110958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28110959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28110960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28110961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28110962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28110963, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28111530 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993946, 'mtr_portfolio_id': 28111530, 'created_at': datetime.datetime(2025, 11, 4, 5, 56, 30), 'result': '0.022276701331694314', 'result_long': None, 'result_double': None}] Qualite : 0.022276701331694314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28111530 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28111530_04-11-2025_05_56_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28111530 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28111530_04-11-2025_05_56_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28111555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28111556, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28111557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28111558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28111559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28111560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28111561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28111562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28111563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28111564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28111565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28111566, 'pht': 3726}}" where mtr_portfolio_id = 28111530 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28111530 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743711, 0.022276701331694314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28111530_04-11-2025_05_56_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28111555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28111556, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28111557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28111558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28111559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28111560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28111561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28111562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28111563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28111564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28111565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28111566, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28112022 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993947, 'mtr_portfolio_id': 28112022, 'created_at': datetime.datetime(2025, 11, 4, 5, 57, 29), 'result': '0.05811373024808455', 'result_long': None, 'result_double': None}] Qualite : 0.05811373024808455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28112022 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28112022_04-11-2025_05_57_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28112022 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28112022_04-11-2025_05_57_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28112049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28112050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28112051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28112052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28112053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28112054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28112055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28112056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28112057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28112058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28112059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28112060, 'pht': 3726}}" where mtr_portfolio_id = 28112022 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28112022 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743712, 0.05811373024808455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28112022_04-11-2025_05_57_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28112049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28112050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28112051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28112052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28112053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28112054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28112055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28112056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28112057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28112058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28112059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28112060, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28112774 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993948, 'mtr_portfolio_id': 28112774, 'created_at': datetime.datetime(2025, 11, 4, 5, 58), 'result': '0.042972506623811295', 'result_long': None, 'result_double': None}] Qualite : 0.042972506623811295 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28112774 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28112774_04-11-2025_05_58_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28112774 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28112774_04-11-2025_05_58_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28112778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28112779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28112780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28112781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28112782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28112783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28112784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28112785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28112786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28112787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28112788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28112789, 'pht': 3726}}" where mtr_portfolio_id = 28112774 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28112774 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743713, 0.042972506623811295, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28112774_04-11-2025_05_58_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28112778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28112779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28112780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28112781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28112782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28112783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28112784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28112785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28112786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28112787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28112788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28112789, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28113341 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993949, 'mtr_portfolio_id': 28113341, 'created_at': datetime.datetime(2025, 11, 4, 5, 58, 58), 'result': '0.031589514892836554', 'result_long': None, 'result_double': None}] Qualite : 0.031589514892836554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28113341 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28113341_04-11-2025_05_59_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28113341 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28113341_04-11-2025_05_59_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28113351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28113352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28113353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28113354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28113355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28113356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28113357, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28113358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28113359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28113360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28113361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28113362, 'pht': 3726}}" where mtr_portfolio_id = 28113341 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28113341 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743714, 0.031589514892836554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28113341_04-11-2025_05_59_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28113351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28113352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28113353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28113354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28113355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28113356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28113357, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28113358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28113359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28113360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28113361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28113362, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28113906 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993950, 'mtr_portfolio_id': 28113906, 'created_at': datetime.datetime(2025, 11, 4, 5, 59, 30), 'result': '0.039347089425765175', 'result_long': None, 'result_double': None}] Qualite : 0.039347089425765175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28113906 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28113906_04-11-2025_05_59_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28113906 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28113906_04-11-2025_05_59_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28113926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28113927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28113928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28113929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28113930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28113931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28113932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28113933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28113934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28113935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28113936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28113937, 'pht': 3726}}" where mtr_portfolio_id = 28113906 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28113906 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743715, 0.039347089425765175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28113906_04-11-2025_05_59_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28113926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28113927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28113928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28113929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28113930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28113931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28113932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28113933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28113934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28113935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28113936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28113937, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28114558 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993951, 'mtr_portfolio_id': 28114558, 'created_at': datetime.datetime(2025, 11, 4, 7, 32, 1), 'result': '0.03871547560940504', 'result_long': None, 'result_double': None}] Qualite : 0.03871547560940504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28114558 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28114558_04-11-2025_07_32_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28114558 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28114558_04-11-2025_07_32_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28114562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28114563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28114564, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28114565, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28114566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28114567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28114568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28114569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28114570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28114571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28114572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28114573, 'pht': 3726}}" where mtr_portfolio_id = 28114558 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28114558 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743716, 0.03871547560940504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28114558_04-11-2025_07_32_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28114562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28114563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28114564, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28114565, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28114566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28114567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28114568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28114569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28114570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28114571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28114572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28114573, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28115201 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993952, 'mtr_portfolio_id': 28115201, 'created_at': datetime.datetime(2025, 11, 4, 6, 0, 59), 'result': '0.04362010766547881', 'result_long': None, 'result_double': None}] Qualite : 0.04362010766547881 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28115201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28115201_04-11-2025_06_01_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28115201 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28115201_04-11-2025_06_01_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28115225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28115226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28115227, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28115228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28115229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28115230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28115231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28115232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28115233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28115234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28115235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28115236, 'pht': 3726}}" where mtr_portfolio_id = 28115201 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28115201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743717, 0.04362010766547881, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28115201_04-11-2025_06_01_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28115225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28115226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28115227, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28115228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28115229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28115230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28115231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28115232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28115233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28115234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28115235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28115236, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28115927 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993953, 'mtr_portfolio_id': 28115927, 'created_at': datetime.datetime(2025, 11, 4, 6, 1, 8), 'result': '0.04395555451589283', 'result_long': None, 'result_double': None}] Qualite : 0.04395555451589283 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28115927 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28115927_04-11-2025_06_01_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28115927 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28115927_04-11-2025_06_01_10.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28115983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28115984, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28115985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28115986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28115987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28115988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28115989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28115990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28115991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28115992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28115993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28115994, 'pht': 3726}}" where mtr_portfolio_id = 28115927 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28115927 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743718, 0.04395555451589283, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28115927_04-11-2025_06_01_10.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28115983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28115984, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28115985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28115986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28115987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28115988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28115989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28115990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28115991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28115992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28115993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28115994, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28117106 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993954, 'mtr_portfolio_id': 28117106, 'created_at': datetime.datetime(2025, 11, 4, 6, 1, 31), 'result': '0.057599874104193975', 'result_long': None, 'result_double': None}] Qualite : 0.057599874104193975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28117106 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28117106_04-11-2025_06_01_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28117106 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28117106_04-11-2025_06_01_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28117111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28117112, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28117113, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28117114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28117115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28117116, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28117117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28117118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28117119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28117120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28117121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28117122, 'pht': 3726}}" where mtr_portfolio_id = 28117106 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28117106 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743719, 0.057599874104193975, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28117106_04-11-2025_06_01_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28117111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28117112, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28117113, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28117114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28117115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28117116, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28117117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28117118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28117119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28117120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28117121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28117122, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28117623 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993955, 'mtr_portfolio_id': 28117623, 'created_at': datetime.datetime(2025, 11, 4, 6, 1, 57), 'result': '0.040803594667540175', 'result_long': None, 'result_double': None}] Qualite : 0.040803594667540175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28117623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28117623_04-11-2025_06_02_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28117623 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28117623_04-11-2025_06_02_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28117633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28117634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28117635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28117636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28117637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28117638, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28117639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28117640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28117641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28117642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28117643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28117644, 'pht': 3726}}" where mtr_portfolio_id = 28117623 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28117623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743720, 0.040803594667540175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28117623_04-11-2025_06_02_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28117633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28117634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28117635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28117636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28117637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28117638, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28117639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28117640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28117641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28117642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28117643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28117644, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28118126 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993956, 'mtr_portfolio_id': 28118126, 'created_at': datetime.datetime(2025, 11, 4, 6, 2, 29), 'result': '0.05025408293317555', 'result_long': None, 'result_double': None}] Qualite : 0.05025408293317555 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28118126 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28118126_04-11-2025_06_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28118126 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28118126_04-11-2025_06_02_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28118143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28118144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28118145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28118146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28118147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28118148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28118149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28118150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28118151, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28118152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28118153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28118154, 'pht': 3726}}" where mtr_portfolio_id = 28118126 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28118126 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743721, 0.05025408293317555, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28118126_04-11-2025_06_02_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28118143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28118144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28118145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28118146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28118147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28118148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28118149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28118150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28118151, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28118152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28118153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28118154, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28118702 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993957, 'mtr_portfolio_id': 28118702, 'created_at': datetime.datetime(2025, 11, 4, 6, 3, 28), 'result': '0.06693176063316156', 'result_long': None, 'result_double': None}] Qualite : 0.06693176063316156 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28118702 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28118702_04-11-2025_06_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28118702 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28118702_04-11-2025_06_03_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28118703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28118704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28118705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28118706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28118707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28118708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28118709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28118710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28118711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28118712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28118713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28118714, 'pht': 3726}}" where mtr_portfolio_id = 28118702 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28118702 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743722, 0.06693176063316156, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28118702_04-11-2025_06_03_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28118703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28118704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28118705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28118706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28118707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28118708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28118709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28118710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28118711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28118712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28118713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28118714, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28119320 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993958, 'mtr_portfolio_id': 28119320, 'created_at': datetime.datetime(2025, 11, 4, 6, 3, 59), 'result': '0.062092561333713776', 'result_long': None, 'result_double': None}] Qualite : 0.062092561333713776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28119320 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28119320_04-11-2025_06_04_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28119320 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28119320_04-11-2025_06_04_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28119378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28119379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28119380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28119381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28119382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28119383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28119384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28119385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28119386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28119387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28119388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28119389, 'pht': 3726}}" where mtr_portfolio_id = 28119320 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28119320 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743723, 0.062092561333713776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28119320_04-11-2025_06_04_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28119378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28119379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28119380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28119381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28119382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28119383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28119384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28119385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28119386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28119387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28119388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28119389, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28119995 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993959, 'mtr_portfolio_id': 28119995, 'created_at': datetime.datetime(2025, 11, 4, 6, 5, 28), 'result': '0.05215151200057958', 'result_long': None, 'result_double': None}] Qualite : 0.05215151200057958 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28119995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28119995_04-11-2025_06_05_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28119995 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28119995_04-11-2025_06_05_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28120016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28120017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28120018, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28120019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28120020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28120021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28120022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28120023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28120024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28120025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28120027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28120028, 'pht': 3726}}" where mtr_portfolio_id = 28119995 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28119995 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743724, 0.05215151200057958, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28119995_04-11-2025_06_05_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28120016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28120017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28120018, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28120019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28120020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28120021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28120022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28120023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28120024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28120025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28120027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28120028, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28120497 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993960, 'mtr_portfolio_id': 28120497, 'created_at': datetime.datetime(2025, 11, 4, 6, 5, 58), 'result': '0.0234237085373612', 'result_long': None, 'result_double': None}] Qualite : 0.0234237085373612 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28120497 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28120497_04-11-2025_06_06_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28120497 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28120497_04-11-2025_06_06_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28120529, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28120530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28120531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28120532, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28120533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28120534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28120535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28120536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28120537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28120538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28120539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28120540, 'pht': 3726}}" where mtr_portfolio_id = 28120497 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28120497 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743725, 0.0234237085373612, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28120497_04-11-2025_06_06_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28120529, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28120530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28120531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28120532, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28120533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28120534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28120535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28120536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28120537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28120538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28120539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28120540, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28121225 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993961, 'mtr_portfolio_id': 28121225, 'created_at': datetime.datetime(2025, 11, 4, 6, 6, 9), 'result': '0.02679623689876348', 'result_long': None, 'result_double': None}] Qualite : 0.02679623689876348 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28121225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28121225_04-11-2025_06_06_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28121225 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28121225_04-11-2025_06_06_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28121229, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28121230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28121231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28121232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28121233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28121234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28121235, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28121236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28121237, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28121238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28121239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28121240, 'pht': 3726}}" where mtr_portfolio_id = 28121225 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28121225 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743726, 0.02679623689876348, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28121225_04-11-2025_06_06_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28121229, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28121230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28121231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28121232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28121233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28121234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28121235, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28121236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28121237, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28121238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28121239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28121240, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28121481 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993962, 'mtr_portfolio_id': 28121481, 'created_at': datetime.datetime(2025, 11, 4, 6, 6, 27), 'result': '0.03893505297221175', 'result_long': None, 'result_double': None}] Qualite : 0.03893505297221175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28121481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28121481_04-11-2025_06_06_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28121481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28121481_04-11-2025_06_06_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28121490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28121491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28121492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28121493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28121494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28121495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28121496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28121497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28121498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28121499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28121500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28121501, 'pht': 3726}}" where mtr_portfolio_id = 28121481 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28121481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743727, 0.03893505297221175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28121481_04-11-2025_06_06_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28121490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28121491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28121492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28121493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28121494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28121495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28121496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28121497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28121498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28121499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28121500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28121501, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28122025 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993963, 'mtr_portfolio_id': 28122025, 'created_at': datetime.datetime(2025, 11, 4, 6, 7, 27), 'result': '0.031650365853347996', 'result_long': None, 'result_double': None}] Qualite : 0.031650365853347996 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28122025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28122025_04-11-2025_06_07_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28122025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28122025_04-11-2025_06_07_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28122027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28122028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28122029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28122030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28122031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28122032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28122033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28122034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28122035, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28122036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28122037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28122038, 'pht': 3726}}" where mtr_portfolio_id = 28122025 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28122025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743728, 0.031650365853347996, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28122025_04-11-2025_06_07_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28122027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28122028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28122029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28122030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28122031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28122032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28122033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28122034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28122035, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28122036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28122037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28122038, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28123039 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993964, 'mtr_portfolio_id': 28123039, 'created_at': datetime.datetime(2025, 11, 4, 6, 7, 59), 'result': '0.07258186952945904', 'result_long': None, 'result_double': None}] Qualite : 0.07258186952945904 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28123039 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28123039_04-11-2025_06_08_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28123039 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28123039_04-11-2025_06_08_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28123055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28123056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28123057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28123058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28123059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28123060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28123061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28123062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28123063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28123064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28123065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28123066, 'pht': 3726}}" where mtr_portfolio_id = 28123039 and dashboard_run_id = 2510825 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28123039 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16743729, 0.07258186952945904, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28123039_04-11-2025_06_08_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28123055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28123056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28123057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28123058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28123059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28123060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28123061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28123062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28123063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28123064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28123065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28123066, '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 (28078721,28078945,28079283,28079678,28080272,28080736,28081410,28081721,28082511,28083055,28083660,28084189,28085008,28085613,28086254,28088163,28088405,28088712,28089270,28089607,28090052,28090500,28090962,28091440,28091933,28092420,28096357,28096564,28097150,28097845,28098378,28099347,28099927,28100666,28101364,28102901,28103763,28104957,28105272,28105887,28106855,28107565,28109638,28110154,28110913,28111530,28112022,28112774,28113341,28113906,28114558,28115201,28115927,28117106,28117623,28118126,28118702,28119320,28119995,28120497,28121225,28121481,28122025,28123039) result : ((1391984846,), (1391984848,), (1391984849,), (1391984850,), (1391984881,), (1391984884,), (1391984887,), (1391984889,), (1391984937,), (1391984942,), (1391984944,), (1391984946,), (1391985006,), (1391985008,), (1391985010,), (1391985031,), (1391985035,), (1391985038,), (1391985041,), (1391985045,), (1391985070,), (1391985073,), (1391985075,), (1391985098,), (1391985099,), (1391985102,), (1391985105,), (1391985109,), (1391985115,), (1391985132,), (1391985135,), (1391985138,), (1391985141,), (1391985143,), (1391985178,), (1391985172,), (1391985174,), (1391985175,), (1391985177,), (1391985203,), (1391985204,), (1391985209,), (1391985210,), (1391985212,), (1391985261,), (1391985264,), (1391985267,), (1391985270,), (1391985302,), (1391985305,), (1391985310,), (1391985315,), (1391985317,), (1391985319,), (1391985336,), (1391985338,), (1391985340,), (1391985343,), (1391985346,), (1391985368,), (1391985371,), (1391985374,), (1391985377,), (1391985379,), (1391985381,), (1391985401,), (1391985405,), (1391985409,), (1391985413,), (1391985421,), (1391985422,), (1391985424,), (1391985427,), (1391985430,), (1391985442,), (1391985445,), (1391985447,), (1391985451,), (1391985475,), (1391985478,), (1391985481,), (1391985483,), (1391985487,), (1391985490,), (1391985503,), (1391985515,), (1391985518,), (1391985521,), (1391985529,), (1391985531,), (1391985540,), (1391985546,), (1391985563,), (1391985564,), (1391985566,), (1391985568,), (1391985571,), (1391985574,), (1391985602,), (1391985605,), (1391985608,), (1391985611,), (1391985637,), (1391985641,), (1391985642,), (1391985643,), (1391985645,), (1391985649,), (1391985681,), (1391985685,), (1391985689,), (1391985691,), (1391985693,), (1391985697,), (1391985703,), (1391985706,), (1391985709,), (1391985720,), (1391985723,), (1391985726,), (1391985734,), (1391985745,), (1391985747,), (1391985780,), (1391985770,), (1391985774,), (1391985777,), (1391985802,), (1391985803,), (1391985804,), (1391985806,), (1391985809,), (1391985812,), (1391985836,), (1391985840,), (1391985843,), (1391985847,), (1391985850,), (1391985853,), (1391985879,), (1391985881,), (1391985883,), (1391985885,), (1391985887,), (1391985888,), (1391985913,), (1391985915,), (1391985918,), (1391985921,), (1391985923,), (1391985926,), (1391985933,), (1391985934,), (1391985935,), (1391985936,), (1391985939,), (1391985942,), (1391985954,), (1391985957,), (1391985961,), (1391985971,), (1391985975,), (1391985988,), (1391985992,), (1391985995,), (1391985998,), (1391986001,), (1391986003,), (1391986005,), (1391986022,), (1391986024,), (1391986027,), (1391986033,), (1391986040,), (1391986042,), (1391986043,), (1391986045,), (1391986047,), (1391986071,), (1391986074,), (1391986077,), (1391986079,), (1391986084,), (1391986086,), (1391986108,), (1391986112,), (1391986115,), (1391986118,), (1391986147,), (1391986150,), (1391986151,), (1391986152,), (1391986153,), (1391986155,), (1391986172,), (1391986174,), (1391986176,), (1391986178,), (1391986181,), (1391986219,), (1391986221,), (1391986225,), (1391986226,), (1391986266,), (1391986277,), (1391986280,), (1391986283,), (1391986285,), (1391986289,), (1391986294,), (1391986295,), (1391986297,), (1391986300,), (1391986302,), (1391986304,), (1391986321,), (1391986309,), (1391986312,), (1391986314,), (1391986317,), (1391986320,), (1391986467,), (1391986512,), (1391986580,), (1391986641,), (1391987246,), (1391987286,), (1391987319,), (1391987354,), (1391987390,), (1391987424,), (1391987763,), (1391987792,), (1391987793,), (1391987794,), (1391987796,), (1391987816,), (1391987817,), (1391987818,), (1391987820,), (1391987823,), (1391987827,), (1391987981,), (1391988018,), (1391988051,), (1391988089,), (1391988126,), (1391988162,), (1391988299,), (1391988336,), (1391988369,), (1391988386,), (1391988442,), (1391988445,), (1391988481,), (1391988505,), (1391988517,), (1391988526,), (1391988558,), (1391988559,), (1391988560,), (1391988562,), (1391988564,), (1391988591,), (1391988593,), (1391988595,), (1391988598,), (1391988599,), (1391988601,), (1391988621,), (1391988625,), (1391988630,), (1391988635,), (1391988637,), (1391988641,), (1391988642,), (1391988644,), (1391988647,), (1391988665,), (1391988666,), (1391988667,), (1391988669,), (1391988672,), (1391988703,), (1391988708,), (1391988720,), (1391988726,), (1391988730,), (1391988747,), (1391988748,), (1391988749,), (1391988751,), (1391988753,), (1391988755,), (1391988767,), (1391988770,), (1391988774,), (1391988777,), (1391988786,), (1391988836,), (1391988839,), (1391988841,), (1391988842,), (1391988844,), (1391988846,), (1391988856,), (1391988859,), (1391988861,), (1391988869,), (1391988875,), (1391988878,), (1391988890,), (1391988892,), (1391988894,), (1391988916,), (1391988917,), (1391988898,), (1391988899,), (1391988904,), (1391988905,), (1391988909,), (1391988910,), (1391988931,), (1391988932,), (1391988934,), (1391988937,), (1391988966,), (1391988979,), (1391988989,), (1391988992,), (1391988996,), (1391989000,), (1391989025,), (1391989027,), (1391989029,), (1391989032,), (1391989035,), (1391989036,), (1391989053,), (1391989057,), (1391989060,), (1391989063,), (1391989066,), (1391989071,), (1391989075,), (1391989080,), (1391989083,), (1391989088,), (1391989093,), (1391989099,), (1391989101,), (1391989104,), (1391989137,), (1391989140,), (1391989153,), (1391989159,), (1391989182,), (1391989184,), (1391989186,), (1391989189,), (1391989193,), (1391989197,), (1391989220,), (1391989223,), (1391989227,), (1391989230,), (1391989257,), (1391989260,), (1391989261,), (1391989262,), (1391989264,), (1391989266,), (1391989282,), (1391989285,), (1391989290,), (1391989299,), (1391989306,), (1391989327,), (1391989330,), (1391989334,), (1391989339,), (1391989344,), (1391989347,), (1391989389,), (1391989392,), (1391989393,), (1391989394,), (1391989424,), (1391989429,), (1391989434,), (1391989439,), (1391989443,), (1391989446,), (1391989454,), (1391989457,), (1391989462,), (1391989464,), (1391989491,), (1391989497,), (1391989501,), (1391989503,), (1391989532,), (1391989520,), (1391989522,), (1391989523,), (1391989525,), (1391989529,), (1391989565,), (1391989568,), (1391989570,), (1391989573,), (1391989578,), (1391989598,), (1391989601,), (1391989604,), (1391989608,), (1391989611,), (1391989615,), (1391989632,), (1391989633,), (1391989634,), (1391989637,), (1391989641,), (1391989661,), (1391989664,), (1391989667,), (1391989670,), (1391989674,), (1391989678,), (1391989700,), (1391989702,), (1391989704,), (1391989707,), (1391989734,), (1391989738,), (1391989740,), (1391989743,), (1391989745,), (1391989748,), (1391989761,), (1391989763,), (1391989765,), (1391989771,), (1391989788,), (1391989792,), (1391989794,), (1391989802,), (1391989806,), (1391989810,), (1391989813,), (1391989819,), (1391989824,), (1391989852,), (1391989861,), (1391989865,), (1391989868,), (1391989894,), (1391989898,), (1391989902,), (1391989904,), (1391990164,), (1391990196,), (1391990199,), (1391990202,), (1391990205,), (1391990208,), (1391990226,), (1391990228,), (1391990229,), (1391990232,), (1391990260,), (1391990265,), (1391990268,), (1391990273,), (1391990279,), (1391990306,), (1391990309,), (1391990312,), (1391990317,), (1391990322,), (1391990326,), (1391990341,), (1391990344,), (1391990345,), (1391990346,), (1391990348,), (1391990350,), (1391990388,), (1391990397,), (1391990399,), (1391990402,), (1391990406,), (1391990427,), (1391990430,), (1391990434,), (1391990439,), (1391990444,), (1391990447,), (1391990470,), (1391990474,), (1391990476,), (1391990477,), (1391990479,), (1391990499,), (1391990501,), (1391990503,), (1391990506,), (1391990532,), (1391990534,), (1391990536,), (1391990539,), (1391990543,), (1391990547,), (1391990580,), (1391990586,), (1391990600,), (1391990637,), (1391990676,), (1391990715,), (1391990886,), (1391990921,), (1391990960,), (1391990992,), (1391991033,), (1391991067,), (1391991243,), (1391991245,), (1391991295,), (1391991338,), (1391991206,), (1391991237,), (1391991240,), (1391991242,), (1391991411,), (1391991425,), (1391991436,), (1391991438,), (1391991441,), (1391991443,), (1391991459,), (1391991462,), (1391991465,), (1391992101,), (1391992166,), (1391992231,), (1391992304,), (1391992371,), (1391992800,), (1391992944,), (1391993024,), (1391993087,), (1391993159,), (1391993235,), (1391993379,), (1391993382,), (1391993386,), (1391993389,), (1391993422,), (1391993426,), (1391993430,), (1391993447,), (1391993485,), (1391993520,), (1391993933,), (1391993966,), (1391994000,), (1391994011,), (1391994015,), (1391994039,), (1391994240,), (1391994244,), (1391994247,), (1391994250,), (1391994253,), (1391994258,), (1391994270,), (1391994273,), (1391994274,), (1391994275,), (1391994277,), (1391994280,), (1391994293,), (1391994298,), (1391994304,), (1391994311,), (1391994321,), (1391994324,), (1391994359,), (1391994386,), (1391994390,), (1391994393,), (1391994398,), (1391994418,), (1391994523,), (1391994572,), (1391994617,), (1391994628,), (1391994637,), (1391994639,), (1391994642,), (1391994673,), (1391994674,), (1391994675,), (1391994677,), (1391994680,), (1391994715,), (1391994740,), (1391994775,), (1391994815,), (1391994833,), (1391994839,), (1391994878,), (1391994882,), (1391994884,), (1391994940,), (1391994926,), (1391994930,), (1391994932,), (1391994934,), (1391994937,), (1391994971,), (1391994975,), (1391995013,), (1391995015,), (1391995018,), (1391995021,), (1391995024,), (1391995028,), (1391995051,), (1391995054,), (1391995056,), (1391995060,), (1391995064,), (1391995070,), (1391995081,), (1391995084,), (1391995087,), (1391995095,), (1391995098,), (1391995104,), (1391995110,), (1391995115,), (1391995118,), (1391995129,), (1391995135,), (1391995137,), (1391995172,), (1391995273,), (1391995276,), (1391995279,), (1391995281,), (1391995285,), (1391995314,), (1391995318,), (1391995320,), (1391995322,), (1391995327,), (1391995375,), (1391995380,), (1391995384,), (1391995389,), (1391995395,), (1391995420,), (1391995424,), (1391995426,), (1391995454,), (1391995456,), (1391995459,), (1391995463,), (1391995467,), (1391995502,), (1391995507,), (1391995513,), (1391995534,), (1391995546,), (1391995549,), (1391995636,), (1391995653,), (1391995667,), (1391995786,), (1391995790,), (1391995795,), (1391995803,), (1391995805,), (1391995814,), (1391995845,), (1391995855,), (1391995858,), (1391995888,), (1391995894,), (1391995898,), (1391995902,), (1391995953,), (1391995932,), (1391995933,), (1391995946,), (1391995949,), (1391996022,), (1391996036,), (1391996038,), (1391996043,), (1391996047,), (1391996050,), (1391996072,), (1391996075,), (1391996078,), (1391996139,), (1391996146,), (1391996149,), (1391996152,), (1391996158,), (1391996164,), (1391996185,), (1391996188,), (1391996191,), (1391996193,), (1391996198,), (1391996203,), (1391996223,), (1391996227,), (1391996231,), (1391996268,), (1391996270,), (1391996272,), (1391996276,), (1391996280,), (1391996284,), (1391996326,), (1391996336,), (1391996340,), (1391996343,), (1391996369,), (1391996371,), (1391996373,), (1391996376,), (1391996380,), (1391996384,), (1391996395,), (1391996398,), (1391996400,), (1391996410,), (1391996414,), (1391996420,), (1391996426,), (1391996433,), (1391996437,), (1391996460,), (1391996462,), (1391996464,), (1391996466,), (1391996504,), (1391996506,), (1391996508,), (1391996510,), (1391996513,), (1391996518,), (1391996554,), (1391996555,), (1391996556,), (1391996558,), (1391996563,), (1391996569,), (1391996591,), (1391996594,), (1391996597,), (1391996600,), (1391996633,), (1391996635,), (1391996638,), (1391996643,), (1391996648,), (1391996653,), (1391996667,), (1391996671,), (1391996673,), (1391996683,), (1391996717,), (1391996859,), (1391997062,), (1391996700,), (1391996707,), (1391996711,), (1391996714,), (1391996750,), (1391996752,), (1391996758,), (1391996769,), (1391996774,), (1391996780,), (1391996826,), (1391996841,), (1391996845,), (1391996919,), (1391996922,), (1391996924,), (1391996927,), (1391996931,), (1391996936,), (1391996956,), (1391996961,), (1391996963,), (1391996966,), (1391996968,), (1391996971,), (1391996990,), (1391996993,), (1391997033,), (1391997042,), (1391997045,), (1391997047,), (1391997071,), (1391997072,), (1391997085,), (1391997132,), (1391997136,), (1391997211,), (1391997212,), (1391997215,), (1391997235,), (1391997238,), (1391997244,), (1391997277,), (1391997280,), (1391997282,), (1391997322,), (1391997332,), (1391997348,), (1391997353,), (1391997356,), (1391997358,), (1391997382,), (1391997384,), (1391997385,), (1391997387,), (1391997419,), (1391997423,), (1391997431,), (1391997443,), (1391997451,), (1391997456,), (1391997482,), (1391997485,), (1391997488,), (1391997490,), (1391997554,), (1391997558,), (1391997561,), (1391997565,), (1391997643,), (1391997649,), (1391997654,), (1391997659,), (1391997664,), (1391997668,), (1391997681,), (1391997684,), (1391997687,), (1391997690,), (1391997693,), (1391997697,), (1391997723,), (1391997732,), (1391997734,), (1391997705,), (1391997710,), (1391997713,), (1391997717,), (1391997721,), (1391997743,), (1391997746,), (1391997750,), (1391997754,), (1391997758,), (1391997762,), (1391997779,), (1391997781,), (1391997783,), (1391997786,), (1391997792,), (1391997916,), (1391997953,), (1391997989,), (1391998027,), (1391998074,), (1391998121,), (1391998381,), (1391998384,), (1391998385,), (1391998590,), (1391998628,), (1391998664,), (1391998699,), (1391998753,), (1391998758,), (1391998888,), (1391998892,), (1391998896,), (1391998900,), (1391998994,), (1391999023,), (1391999060,), (1391999097,), (1391999159,), (1391999198,), (1391999627,), (1391999663,), (1391999699,), (1391999737,), (1391999776,), (1391999812,), (1391999918,), (1391999921,), (1391999924,), (1391999926,), (1391999928,), (1391999934,), (1391999936,), (1391999940,), (1391999942,), (1391999945,), (1392000190,), (1392000228,), (1392000270,), (1392000340,), (1392000416,), (1392000499,), (1392001101,), (1392001154,), (1392001168,), (1392001170,), (1392001435,), (1392001438,), (1392001454,), (1392001477,), (1392001578,), (1392001585,), (1392001587,), (1392001589,), (1392001591,), (1392001594,), (1392001620,), (1392001632,), (1392001641,), (1392001647,), (1392001717,), (1392001727,), (1392001752,), (1392001754,), (1392001758,), (1392001854,), (1392001855,), (1392002149,), (1392002153,), (1392002156,), (1392001702,), (1392001706,), (1392001709,), (1392001713,), (1392001831,), (1392001838,), (1392001842,), (1392001850,), (1392001891,), (1392001893,), (1392001897,), (1392001916,), (1392001928,), (1392001932,), (1392001988,), (1392001997,), (1392002001,), (1392002005,), (1392002009,), (1392002014,), (1392002094,), (1392002115,), (1392002120,), (1392002125,), (1392002129,), (1392002134,), (1392002146,), (1392002166,), (1392002170,), (1392002175,), (1392002179,), (1392002182,), (1392002204,), (1392002209,), (1392002212,), (1392002215,), (1392002219,), (1392002222,), (1392002252,), (1392002255,), (1392002256,), (1392002257,), (1392002259,), (1392002261,), (1392002293,), (1392002295,), (1392002296,), (1392002298,), (1392002302,), (1392002341,), (1392002345,), (1392002348,), (1392002353,), (1392002364,), (1392002407,), (1392002413,), (1392002417,), (1392002423,), (1392002427,), (1392002428,), (1392002457,), (1392002470,), (1392002497,), (1392002534,), (1392002739,), (1392002742,), (1392002756,), (1392002758,), (1392002761,), (1392002812,), (1392002822,), (1392002825,), (1392002845,), (1392002853,), (1392002860,), (1392002875,), (1392002877,), (1392002880,), (1392002883,), (1392002893,), (1392002896,), (1392002900,), (1392002904,), (1392002907,), (1392002958,), (1392002950,), (1392002952,), (1392002955,), (1392003039,), (1392003043,), (1392003046,), (1392003048,), (1392003051,), (1392003082,), (1392003084,), (1392003086,), (1392003089,), (1392003092,), (1392003129,), (1392003133,), (1392003136,), (1392003139,), (1392003144,), (1392003146,), (1392003175,), (1392003178,), (1392003181,), (1392003184,), (1392003214,), (1392003215,), (1392003218,), (1392003222,), (1392003228,), (1392003262,), (1392003266,), (1392003269,), (1392003274,), (1392003280,), (1392003283,), (1392003316,), (1392003320,), (1392003324,), (1392003327,), (1392003363,), (1392003365,), (1392003367,), (1392003371,), (1392003375,), (1392003378,), (1392003407,), (1392003409,), (1392003414,), (1392003417,), (1392003420,), (1392003424,), (1392003436,), (1392003442,), (1392003452,), (1392003456,), (1392003459,), (1392003460,), (1392003475,), (1392003477,), (1392003481,), (1392003486,), (1392003491,), (1392003494,), (1392003519,), (1392003521,), (1392003524,), (1392003529,), (1392003533,), (1392003560,), (1392003563,), (1392003565,), (1392003566,), (1392003570,), (1392003573,), (1392003599,), (1392003602,), (1392003604,), (1392003608,), (1392003613,), (1392003617,), (1392003644,), (1392003660,), (1392003667,), (1392003671,), (1392003709,), (1392003700,), (1392003703,), (1392003705,), (1392003707,), (1392003735,), (1392003738,), (1392003741,), (1392003745,), (1392003781,), (1392003786,), (1392003790,), (1392003793,), (1392003798,), (1392003818,), (1392003819,), (1392003821,), (1392003825,), (1392003829,), (1392003832,), (1392003851,), (1392003853,), (1392003855,), (1392003857,), (1392003864,), (1392003868,), (1392003872,), (1392003876,), (1392003881,), (1392003904,), (1392003907,), (1392003910,), (1392003912,), (1392003918,), (1392004012,), (1392004019,), (1392004028,), (1392004031,), (1392004036,), (1392004096,), (1392004099,), (1392004102,), (1392004105,), (1392004144,), (1392004156,), (1392004159,), (1392004163,), (1392004167,), (1392004171,), (1392004189,), (1392004192,), (1392004196,), (1392004201,), (1392004206,), (1392004244,), (1392004245,), (1392004248,), (1392004252,), (1392004258,), (1392004278,), (1392004281,), (1392004285,), (1392004287,), (1392004292,), (1392004296,), (1392004330,), (1392004334,), (1392004337,), (1392004340,), (1392004492,), (1392004530,), (1392004569,), (1392004610,), (1392004650,), (1392004689,), (1392004862,), (1392004901,), (1392004938,), (1392004977,), (1392005044,), (1392010481,), (1392010799,), (1392010801,), (1392010804,), (1392010841,), (1392010843,), (1392010846,), (1392010962,), (1392010965,), (1392010968,), (1392010971,), (1392011001,), (1392011004,), (1392011006,), (1392011008,), (1392011012,), (1392011015,), (1392011047,), (1392011049,), (1392011052,), (1392011056,), (1392011061,), (1392011065,), (1392011076,), (1392011078,), (1392011081,), (1392011083,), (1392011089,), (1392011091,), (1392011095,), (1392011101,), (1392011106,), (1392011111,), (1392011138,), (1392011141,), (1392011143,), (1392011145,), (1392011148,), (1392011176,), (1392011177,), (1392011179,), (1392011182,), (1392011186,), (1392011190,), (1392011237,), (1392011233,), (1392011236,), (1392011280,), (1392011282,), (1392011284,), (1392011286,), (1392011289,), (1392011294,), (1392011344,), (1392011347,), (1392011350,), (1392011354,), (1392011358,), (1392011362,), (1392011391,), (1392011398,), (1392011404,), (1392011412,), (1392011418,), (1392011424,), (1392011445,), (1392011449,), (1392011453,), (1392011454,), (1392011458,), (1392011460,), (1392011468,), (1392011473,), (1392011476,), (1392011480,), (1392011484,), (1392011489,), (1392011497,), (1392011509,), (1392011517,), (1392011522,), (1392011527,), (1392011532,), (1392011540,), (1392011542,), (1392011547,), (1392011553,), (1392011558,), (1392011562,), (1392011582,), (1392011586,), (1392011591,), (1392011595,), (1392011599,), (1392011609,), (1392011631,), (1392011636,), (1392011640,), (1392011644,), (1392011647,), (1392011650,), (1392011661,), (1392011664,), (1392011667,), (1392011671,), (1392011675,), (1392011679,), (1392011686,), (1392011690,), (1392011694,), (1392011699,), (1392011703,), (1392011710,), (1392011716,), (1392011724,), (1392011729,), (1392011732,), (1392011735,), (1392011739,), (1392011752,), (1392011755,), (1392011758,), (1392011763,), (1392011767,), (1392011771,), (1392011809,), (1392011813,), (1392011818,), (1392011824,), (1392011829,), (1392011834,), (1392011845,), (1392011847,), (1392011860,), (1392011896,), (1392011936,), (1392011972,), (1392012284,), (1392012421,), (1392012455,), (1392012098,), (1392012137,), (1392012172,), (1392012207,), (1392012244,), (1392012591,), (1392012626,), (1392012665,), (1392012701,), (1392013156,), (1392013253,), (1392013344,), (1392013447,), (1392013552,), (1392014436,), (1392014470,), (1392014504,), (1392014537,), (1392014571,), (1392014604,), (1392014949,), (1392014983,), (1392015062,), (1392015133,), (1392015410,), (1392015432,), (1392015465,), (1392015494,), (1392015500,), (1392015505,), (1392015630,), (1392015665,), (1392015700,), (1392015734,), (1392015771,), (1392016096,), (1392016172,), (1392016179,), (1392016184,), (1392016191,), (1392016206,), (1392016321,), (1392016323,), (1392016326,), (1392016329,), (1392016335,), (1392016337,), (1392016352,), (1392016357,), (1392016360,), (1392016372,), (1392016378,), (1392016383,), (1392016393,), (1392016410,), (1392016450,), (1392016938,), (1392016819,), (1392016982,), (1392016983,), (1392016984,), (1392016986,), (1392016989,), (1392017018,), (1392017021,), (1392017025,), (1392017029,), (1392017058,), (1392017061,), (1392017063,), (1392017065,), (1392017067,), (1392017070,), (1392017123,), (1392017124,), (1392017131,), (1392017137,), (1392017141,), (1392017146,), (1392017159,), (1392017161,), (1392017163,), (1392017165,), (1392017206,), (1392017210,), (1392017212,), (1392017216,), (1392017221,), (1392017227,), (1392017234,), (1392017236,), (1392017239,), (1392017243,), (1392017248,), (1392017252,), (1392017259,), (1392017261,), (1392017262,), (1392017281,), (1392017287,), (1392017292,), (1392017309,), (1392017311,), (1392017313,), (1392017315,), (1392017320,), (1392017324,), (1392017358,), (1392017360,), (1392017361,), (1392017362,), (1392017363,), (1392017367,), (1392017404,), (1392017406,), (1392017409,), (1392017414,), (1392017419,), (1392017425,), (1392017440,), (1392017442,), (1392017443,), (1392017463,), (1392017466,), (1392017470,), (1392017476,), (1392017481,), (1392017485,), (1392017512,), (1392017509,), (1392017511,), (1392017549,), (1392017552,), (1392017555,), (1392017613,), (1392017615,), (1392017617,), (1392017651,), (1392017654,), (1392017656,), (1392017696,), (1392017699,), (1392017701,), (1392017705,), (1392017777,), (1392017780,), (1392017783,), (1392017786,), (1392017790,), (1392017794,), (1392017827,), (1392017829,), (1392017831,), (1392017832,), (1392017868,), (1392017871,), (1392017873,), (1392017878,), (1392017884,), (1392017910,), (1392017912,), (1392017915,), (1392017920,), (1392017924,), (1392017927,), (1392017937,), (1392017942,), (1392017946,), (1392017949,), (1392017954,), (1392017961,), (1392017964,), (1392017967,), (1392018001,), (1392018033,), (1392018042,), (1392018045,), (1392018049,), (1392018052,), (1392018090,), (1392018093,), (1392018097,), (1392018101,), (1392018157,), (1392018161,), (1392018164,), (1392018166,), (1392018170,), (1392018211,), (1392018215,), (1392018219,), (1392018221,), (1392018225,), (1392018227,), (1392018245,), (1392018249,), (1392018252,), (1392018254,), (1392018259,), (1392018307,), (1392018286,), (1392018290,), (1392018296,), (1392018300,), (1392018303,), (1392018332,), (1392018335,), (1392018337,), (1392018341,), (1392018394,), (1392018398,), (1392018440,), (1392018444,), (1392018486,), (1392018491,), (1392018531,), (1392018533,), (1392018536,), (1392018554,), (1392018599,), (1392018602,), (1392018604,), (1392018606,), (1392018674,), (1392018675,), (1392018677,), (1392018680,), (1392018684,), (1392018689,), (1392018722,), (1392018725,), (1392018729,), (1392018758,), (1392018761,), (1392018764,), (1392018767,), (1392018771,), (1392018815,), (1392018818,), (1392018820,), (1392018824,), (1392018830,), (1392018869,), (1392018873,), (1392018877,), (1392018881,), (1392018917,), (1392018919,), (1392018920,), (1392018922,), (1392019441,), (1392019476,), (1392019503,), (1392019509,), (1392019513,), (1392019518,), (1392019743,), (1392019693,), (1392019698,), (1392019709,), (1392020042,), (1392020104,), (1392020165,), (1392020230,), (1392020308,), (1392021003,), (1392021040,), (1392021077,), (1392021110,), (1392021146,), (1392021762,), (1392021828,), (1392021863,), (1392021892,), (1392021901,), (1392021906,), (1392021959,), (1392022009,), (1392022059,), (1392022061,), (1392022063,), (1392022066,), (1392022269,), (1392022303,), (1392022349,), (1392022704,), (1392022707,), (1392022711,), (1392022750,), (1392022814,), (1392022816,), (1392022818,), (1392023087,), (1392023491,), (1392023633,), (1392023637,), (1392023639,), (1392023677,), (1392023680,), (1392023683,), (1392023687,), (1392023719,), (1392023724,), (1392023728,), (1392023733,), (1392023738,), (1392023777,), (1392023781,), (1392023784,), (1392023833,), (1392023822,), (1392023826,), (1392023828,), (1392023865,), (1392023868,), (1392023869,), (1392023871,), (1392023876,), (1392023925,), (1392023956,), (1392023989,), (1392024022,), (1392024056,), (1392024089,), (1392024353,), (1392024356,), (1392024360,), (1392024365,), (1392024369,), (1392024373,), (1392024390,), (1392024391,), (1392024394,), (1392024397,), (1392024400,), (1392024405,), (1392024420,), (1392024424,), (1392024427,), (1392024428,), (1392024429,), (1392024430,), (1392024442,), (1392024443,), (1392024449,), (1392024450,), (1392024495,), (1392024506,), (1392024509,), (1392024522,), (1392024555,), (1392024638,), (1392024641,), (1392024643,), (1392024649,), (1392024653,), (1392024676,), (1392024679,), (1392024682,), (1392024687,), (1392024693,), (1392024728,), (1392025300,), (1392025326,), (1392025329,), (1392025334,), (1392025370,), (1392025372,), (1392025373,), (1392025375,), (1392025378,), (1392025382,), (1392025403,), (1392025412,), (1392025424,), (1392025752,), (1392025756,), (1392025759,), (1392025763,), (1392025766,), (1392025770,), (1392025785,), (1392025791,), (1392025797,), (1392025783,), (1392025820,), (1392025821,), (1392025822,), (1392025824,), (1392025828,), (1392025843,), (1392025868,), (1392025869,), (1392025890,), (1392025892,), (1392025896,), (1392025900,), (1392025923,), (1392025926,), (1392025929,), (1392025932,), (1392026166,), (1392026168,), (1392026169,), (1392026170,), (1392026173,), (1392026175,), (1392026269,), (1392026272,), (1392026274,), (1392026278,), (1392026282,), (1392026503,), (1392026514,), (1392026540,), (1392026547,), (1392026552,), (1392026631,), (1392026666,), (1392026686,), (1392026690,), (1392026694,), (1392026724,), (1392026727,), (1392026731,), (1392026735,), (1392026738,), (1392026741,), (1392026753,), (1392026756,), (1392026757,), (1392026759,), (1392026761,), (1392026785,), (1392026791,), (1392026796,), (1392026800,), (1392026822,), (1392026829,), (1392026831,), (1392026834,), (1392026838,), (1392026840,), (1392026882,), (1392026887,), (1392026891,), (1392026895,), (1392026925,), (1392026927,), (1392026930,), (1392026933,), (1392026939,), (1392026944,), (1392026976,), (1392026979,), (1392026981,), (1392026983,), (1392027038,), (1392027040,), (1392027042,), (1392027046,), (1392027050,), (1392027055,), (1392027299,), (1392027181,), (1392027212,), (1392027241,), (1392027269,), (1392027404,), (1392027407,), (1392027409,), (1392027415,), (1392027424,), (1392027529,), (1392027532,), (1392027550,), (1392027554,), (1392027560,), (1392027570,), (1392027593,), (1392027595,), (1392027597,), (1392027601,), (1392027605,), (1392027608,), (1392027799,), (1392027802,), (1392027805,), (1392027807,), (1392027910,), (1392027914,), (1392027917,), (1392027920,), (1392027922,), (1392027923,), (1392028003,), (1392028004,), (1392028010,), (1392028017,), (1392028024,), (1392028028,), (1392028041,), (1392028045,), (1392028058,), (1392028068,), (1392028069,), (1392028071,), (1392028075,), (1392028081,), (1392028126,), (1392028128,), (1392028129,), (1392028134,), (1392028306,), (1392028348,), (1392028365,), (1392028368,), (1392028371,), (1392028376,), (1392028489,), (1392028523,), (1392028528,), (1392028531,), (1392028667,), (1392028671,), (1392028673,), (1392028676,), (1392028679,), (1392028683,), (1392028710,), (1392028714,), (1392028716,), (1392028719,), (1392028723,), (1392028727,), (1392028953,), (1392028972,), (1392028975,), (1392029113,), (1392029118,), (1392029124,), (1392029130,), (1392029134,), (1392029140,), (1392029620,), (1392029481,), (1392029516,), (1392029551,), (1392029583,), (1392029988,), (1392030050,), (1392030122,), (1392030192,), (1392030662,), (1392030695,), (1392030728,), (1392030761,), (1392030814,), (1392030845,), (1392031135,), (1392031138,), (1392031141,), (1392031144,), (1392031171,), (1392031173,), (1392031174,), (1392031175,), (1392031185,), (1392031216,), (1392031543,), (1392031568,), (1392031571,), (1392031573,), (1392031789,), (1392031797,), (1392031799,), (1392031804,), (1392031808,), (1392031836,), (1392031838,), (1392031840,), (1392031842,), (1392031846,), (1392031895,), (1392031899,), (1392031905,), (1392031913,), (1392031918,), (1392031923,), (1392031929,), (1392031931,), (1392031934,), (1392031937,), (1392031946,), (1392031950,), (1392031953,), (1392031958,), (1392031965,), (1392031970,), (1392031985,), (1392031990,), (1392031993,), (1392031996,), (1392032031,), (1392032037,), (1392032058,), (1392032061,), (1392032065,), (1392032090,), (1392032131,), (1392032134,), (1392032136,), (1392032178,), (1392032182,), (1392032829,), (1392032881,), (1392047821,), (1392047828,), (1392048115,), (1392048186,), (1392048364,), (1392048539,), (1392048541,), (1392048543,), (1392048598,), (1392048591,), (1392048594,), (1392048595,), (1392048690,), (1392048698,), (1392048701,), (1392048703,), (1392048745,), (1392048747,), (1392048781,), (1392048929,), (1392048933,), (1392048936,), (1392049134,), (1392049137,), (1392049139,), (1392049141,), (1392049144,), (1392049147,), (1392049167,), (1392049178,), (1392049181,), (1392049185,), (1392049190,), (1392049193,), (1392049217,), (1392049220,), (1392049222,), (1392049282,), (1392049289,), (1392049293,), (1392049298,), (1392049302,), (1392049383,), (1392049386,), (1392049390,), (1392049398,), (1392049403,), (1392049406,), (1392049423,), (1392049426,), (1392049429,), (1392049445,), (1392049459,), (1392049462,), (1392049467,), (1392049470,), (1392049604,), (1392049620,), (1392049628,), (1392049638,), (1392049714,), (1392049722,), (1392049733,), (1392049743,), (1392049802,), (1392049806,), (1392049810,), (1392049814,), (1392049818,), (1392050059,), (1392050066,), (1392050071,), (1392050075,), (1392050080,), (1392050086,), (1392050097,), (1392050098,), (1392050101,), (1392050127,), (1392050141,), (1392050146,), (1392050200,), (1392050176,), (1392050180,), (1392050189,), (1392050193,), (1392050367,), (1392050405,), (1392050452,), (1392050522,), (1392051023,), (1392051060,), (1392051093,), (1392051151,), (1392051222,), (1392051889,), (1392051910,), (1392051913,), (1392051916,), (1392052106,), (1392052109,), (1392052140,), (1392052170,), (1392052217,), (1392052606,), (1392052610,), (1392052641,), (1392052667,), (1392052677,), (1392052681,), (1392052901,), (1392052906,), (1392052910,), (1392053019,), (1392053021,), (1392053024,), (1392053033,), (1392053037,), (1392053041,), (1392053084,), (1392053087,), (1392053091,), (1392053096,), (1392053100,), (1392053103,), (1392053111,), (1392053113,), (1392053115,), (1392053121,), (1392053124,), (1392053128,), (1392053149,), (1392053150,), (1392053153,), (1392053154,), (1392053158,), (1392053159,), (1392053163,), (1392053164,), (1392053167,), (1392053169,), (1392053171,), (1392053173,), (1392053183,), (1392053185,), (1392053188,), (1392053192,), (1392053195,), (1392053327,), (1392053339,), (1392053349,), (1392053610,), (1392053614,), (1392053749,), (1392053753,), (1392053756,), (1392053757,), (1392053792,), (1392053789,), (1392053953,), (1392053977,), (1392053984,), (1392053997,), (1392054120,), (1392054123,), (1392054124,), (1392054126,), (1392054159,), (1392054161,), (1392054163,), (1392054165,), (1392054170,), (1392054173,), (1392054286,), (1392054308,), (1392054314,), (1392054319,), (1392054610,), (1392054616,), (1392054618,), (1392054634,), (1392054831,), (1392054835,), (1392054837,), (1392054839,), (1392054843,), (1392055177,), (1392055214,), (1392055250,), (1392055284,), (1392055813,), (1392055857,), (1392055866,), (1392055875,), (1392055880,), (1392055884,), (1392055896,), (1392055898,), (1392055900,), (1392055911,), (1392055913,), (1392055915,), (1392055921,), (1392056223,), (1392056260,), (1392056296,), (1392056314,), (1392056337,), (1392056385,), (1392056616,), (1392056670,), (1392056732,), (1392056781,), (1392056816,), (1392056841,), (1392057273,), (1392057339,), (1392057403,), (1392057477,), (1392058075,), (1392058111,), (1392058146,), (1392058165,), (1392058169,), (1392058172,), (1392058204,), (1392058207,), (1392058210,), (1392058225,), (1392059161,), (1392058831,), (1392058900,), (1392058974,), (1392059082,), (1392059146,), (1392059279,), (1392059354,), (1392059448,), (1392059579,), (1392059699,), (1392059796,), (1392060105,), (1392060133,), (1392060435,), (1392060442,), (1392060444,), (1392060448,), (1392060615,), (1392060619,), (1392060628,), (1392060637,), (1392060682,), (1392060685,), (1392060688,), (1392060690,), (1392060717,), (1392060754,), (1392060857,), (1392060860,), (1392060873,), (1392061282,), (1392061320,), (1392061354,), (1392061385,), (1392061417,), (1392061572,), (1392061607,), (1392061619,), (1392061622,), (1392061635,), (1392061657,), (1392061712,), (1392061749,), (1392061791,), (1392061829,), (1392061839,), (1392061900,), (1392061938,), (1392061974,), (1392062036,), (1392062038,), (1392062040,), (1392062042,), (1392062046,), (1392062051,), (1392062077,), (1392062081,), (1392062085,), (1392062119,), (1392062128,), (1392062129,), (1392062132,), (1392062135,), (1392062139,), (1392062278,), (1392062283,), (1392062292,), (1392062298,), (1392062310,), (1392062326,), (1392062418,), (1392062422,), (1392062427,), (1392062954,), (1392062953,), (1392063035,), (1392063161,), (1392063166,), (1392063168,), (1392063246,), (1392063256,), (1392063259,), (1392063264,), (1392063423,), (1392063426,), (1392063429,), (1392063433,), (1392063436,), (1392063440,), (1392063455,), (1392063458,), (1392063462,), (1392063464,), (1392063467,), (1392063559,), (1392063666,), (1392063861,), (1392063879,), (1392063905,), (1392063986,), (1392063990,), (1392063993,), (1392063995,), (1392064687,), (1392064702,), (1392064732,), (1392064774,), (1392064826,), (1392064889,), (1392064905,), (1392064993,), (1392064974,), (1392064980,), (1392064984,), (1392064989,), (1392065312,), (1392065352,), (1392065387,), (1392065430,), (1392065760,), (1392065768,), (1392065803,), (1392065837,), (1392065844,), (1392065876,), (1392066160,), (1392066178,), (1392066361,), (1392066363,), (1392066366,), (1392066393,), (1392066396,), (1392066398,), (1392066410,), (1392066810,), (1392067380,), (1392067411,), (1392067697,), (1392067700,), (1392068123,), (1392068158,), (1392068196,), (1392068424,), (1392068425,), (1392068448,), (1392068482,), (1392068537,), (1392068540,), (1392068543,), (1392068583,), (1392068591,), (1392068596,), (1392068600,), (1392068640,), (1392068642,), (1392068672,), (1392068709,), (1392068727,), (1392068806,), (1392068809,), (1392068811,), (1392068813,), (1392068882,), (1392068863,), (1392068867,), (1392068871,), (1392068874,), (1392068878,), (1392068902,), (1392068904,), (1392068907,), (1392069028,), (1392069061,), (1392069064,), (1392069068,), (1392069076,), (1392069128,), (1392069130,), (1392069132,), (1392069136,), (1392069140,), (1392069142,), (1392069161,), (1392069165,), (1392069170,), (1392069219,), (1392069237,), (1392069256,), (1392069305,), (1392069376,), (1392069431,), (1392069544,), (1392069547,), (1392069552,), (1392069554,), (1392069632,), (1392069634,), (1392069635,), (1392069636,), (1392069638,), (1392069697,), (1392069703,), (1392069822,), (1392069854,), (1392069888,), (1392069926,), (1392069944,), (1392069949,), (1392070269,), (1392070291,), (1392070325,), (1392070358,), (1392070362,), (1392070366,), (1392070388,), (1392070391,), (1392070394,), (1392070398,), (1392070443,), (1392070541,), (1392070588,), (1392070591,), (1392070595,), (1392070637,), (1392070697,), (1392070734,), (1392070803,), (1392070807,), (1392070820,), (1392070822,), (1392070826,), (1392070834,), (1392070848,), (1392070855,), (1392070863,), (1392070867,), (1392070888,), (1392070923,), (1392070955,), (1392070988,), (1392071443,), (1392071491,), (1392071530,), (1392071585,), (1392071590,), (1392071595,), (1392071603,), (1392071633,), (1392071688,), (1392071726,), (1392072014,), (1392072057,), (1392072089,), (1392072092,), (1392072134,), (1392072139,), (1392072143,), (1392072146,), (1392072151,), (1392071929,), (1392071975,), (1392072361,), (1392072403,), (1392072425,), (1392072445,), (1392072468,), (1392072628,), (1392072631,), (1392072633,), (1392072636,), (1392072639,), (1392072676,), (1392072679,), (1392072680,), (1392072682,), (1392072684,), (1392072814,), (1392072849,), (1392072857,), (1392072992,), (1392072997,), (1392073043,), (1392073046,), (1392073057,), (1392073062,), (1392073094,), (1392073097,), (1392073100,), (1392073103,), (1392073106,), (1392073140,), (1392073143,), (1392073163,), (1392073167,), (1392073183,), (1392073481,), (1392073484,), (1392073487,), (1392073489,), (1392073556,), (1392073570,), (1392073576,), (1392073585,), (1392073599,), (1392073693,), (1392073702,), (1392073704,), (1392073738,), (1392073765,), (1392073777,), (1392073854,), (1392073856,), (1392073858,), (1392073860,), (1392073910,), (1392073923,), (1392073942,), (1392073944,), (1392073948,), (1392073985,), (1392073989,), (1392073993,), (1392074021,), (1392074058,), (1392074234,), (1392074238,), (1392074240,), (1392074243,), (1392074246,), (1392074249,), (1392074263,), (1392074276,), (1392074279,), (1392074282,), (1392074284,), (1392074304,), (1392074293,), (1392074299,), (1392074323,), (1392074394,), (1392074410,), (1392074477,), (1392074536,), (1392074570,), (1392074582,), (1392074611,), (1392074634,), (1392074640,), (1392074643,), (1392074649,), (1392074650,), (1392074653,), (1392074657,), (1392074661,), (1392074763,), (1392074785,), (1392074800,), (1392074805,), (1392074882,), (1392074886,), (1392074892,), (1392075084,), (1392075090,), (1392075094,), (1392075103,), (1392075220,), (1392075234,), (1392075238,), (1392075278,), (1392075281,), (1392075291,), (1392075294,), (1392075298,), (1392075303,), (1392075347,), (1392075350,), (1392075354,), (1392075359,), (1392075363,), (1392075368,), (1392075460,), (1392075503,), (1392075542,), (1392075612,), (1392075646,), (1392075653,), (1392075700,), (1392075708,), (1392075738,), (1392075771,), (1392075920,), (1392075922,), (1392075923,), (1392075926,), (1392075930,), (1392075934,), (1392075945,), (1392076086,), (1392076100,), (1392076105,), (1392076109,), (1392076116,), (1392076150,), (1392076186,), (1392076222,), (1392076258,), (1392076810,), (1392076844,), (1392076878,), (1392077039,), (1392077103,), (1392076708,), (1392076742,), (1392076775,), (1392076980,), (1392076983,), (1392076987,), (1392076993,), (1392077640,), (1392077705,), (1392077823,), (1392077889,), (1392077996,), (1392078666,), (1392078681,), (1392078989,), (1392079027,), (1392079092,), (1392079126,), (1392079192,), (1392079386,), (1392079414,), (1392079451,), (1392079466,), (1392079490,), (1392079502,), (1392079515,), (1392079519,), (1392079537,), (1392079555,), (1392079625,), (1392079638,), (1392079647,), (1392079662,), (1392079671,), (1392079707,), (1392079795,), (1392079801,), (1392079808,), (1392079817,), (1392079844,), (1392079848,), (1392079853,), (1392079856,), (1392079859,), (1392079862,), (1392079878,), (1392079880,), (1392079882,), (1392079884,), (1392079917,), (1392079924,), (1392079927,), (1392079965,), (1392079969,), (1392080211,), (1392080214,), (1392080215,), (1392080216,), (1392080249,), (1392080251,), (1392080254,), (1392080265,), (1392080270,), (1392080274,), (1392080302,), (1392080305,), (1392080337,), (1392080334,), (1392081181,), (1392081183,), (1392081215,), (1392081216,), (1392081218,), (1392081221,), (1392081240,), (1392081278,), (1392081488,), (1392081532,), (1392081551,), (1392081563,), (1392081716,), (1392081719,), (1392081751,), (1392081786,), (1392081824,), (1392081858,), (1392081977,), (1392082009,), (1392082043,), (1392082178,), (1392082210,), (1392082442,), (1392082443,), (1392082445,), (1392082504,), (1392082511,), (1392082514,), (1392082520,), (1392082490,), (1392082493,), (1392082495,), (1392082498,), (1392082502,), (1392082534,), (1392082563,), (1392082597,), (1392082634,), (1392082671,), (1392082787,), (1392082824,), (1392082849,), (1392083001,), (1392083003,), (1392083005,), (1392083008,), (1392083012,), (1392083033,), (1392083037,), (1392083039,), (1392083044,), (1392083049,), (1392083187,), (1392083220,), (1392083251,), (1392083302,), (1392083413,), (1392083449,), (1392083582,), (1392083614,), (1392083659,), (1392083661,), (1392083664,), (1392083793,), (1392083795,), (1392083796,), (1392083797,), (1392083880,), (1392083882,), (1392083905,), (1392083907,), (1392083909,), (1392083911,), (1392084212,), (1392084247,), (1392084285,), (1392084346,), (1392084691,), (1392084693,), (1392084696,), (1392084699,), (1392084703,), (1392084706,), (1392084974,), (1392084979,), (1392084984,), (1392084991,), (1392085023,), (1392085068,), (1392085215,), (1392085246,), (1392085262,), (1392085649,), (1392085645,), (1392085647,), (1392085682,), (1392085685,), (1392085688,), (1392085759,), (1392085791,), (1392085823,), (1392085857,), (1392085878,), (1392085883,), (1392085944,), (1392085995,), (1392086363,), (1392086397,), (1392087052,), (1392087059,), (1392087065,), (1392089215,), (1392090693,), (1392090677,), (1392090914,), (1392090929,), (1392090932,), (1392090935,), (1392091098,), (1392091108,), (1392091128,), (1392091131,), (1392091134,), (1392091136,), (1392091202,), (1392091235,), (1392091251,), (1392091262,), (1392091286,), (1392091288,), (1392091310,), (1392091502,), (1392091508,), (1392091512,), (1392091516,), (1392091550,), (1392091615,), (1392091618,), (1392091619,), (1392091621,), (1392091624,), (1392091626,), (1392091663,), (1392091670,), (1392091673,), (1392091676,), (1392091680,), (1392091739,), (1392091762,), (1392091768,), (1392091773,), (1392091782,), (1392091791,), (1392091882,), (1392091885,), (1392091888,), (1392091901,), (1392091914,), (1392091991,), (1392091992,), (1392092244,), (1392092259,), (1392092301,), (1392092349,), (1392092385,), (1392092545,), (1392092701,), (1392092528,), (1392092536,), (1392092538,), (1392092539,), (1392092542,), (1392092600,), (1392092612,), (1392092614,), (1392092618,), (1392092621,), (1392092623,), (1392092646,), (1392092648,), (1392092660,), (1392092694,), (1392092707,), (1392092709,), (1392092711,), (1392092718,), (1392092752,), (1392092785,), (1392092998,), (1392093034,), (1392093062,), (1392093068,), (1392093079,), (1392093086,), (1392093216,), (1392093255,), (1392093286,), (1392093306,), (1392093781,), (1392093847,), (1392093920,), (1392093995,), (1392094046,), (1392094093,), (1392094248,), (1392094256,), (1392094294,), (1392094303,), (1392094434,), (1392094441,), (1392094443,), (1392094445,), (1392094447,), (1392094485,), (1392094526,), (1392094554,), (1392094583,), (1392094619,), (1392094659,), (1392094698,), (1392094913,), (1392094918,), (1392094924,), (1392095243,), (1392095295,), (1392095330,), (1392095347,), (1392095349,), (1392095368,), (1392095529,), (1392095530,), (1392095531,), (1392095564,), (1392095588,), (1392095591,), (1392095611,), (1392095613,), (1392095614,), (1392095616,), (1392095649,), (1392095736,), (1392095835,), (1392095881,), (1392095922,), (1392096045,), (1392096051,), (1392096055,), (1392096083,), (1392096118,), (1392096290,), (1392096292,), (1392096294,), (1392096297,), (1392096300,), (1392096302,), (1392103438,), (1392103717,), (1392103720,), (1392103723,), (1392103830,), (1392103831,), (1392103832,), (1392103833,), (1392103836,), (1392104084,), (1392104114,), (1392104116,), (1392104128,), (1392104162,), (1392104199,), (1392104244,), (1392104247,), (1392104249,), (1392104397,), (1392104398,), (1392104399,), (1392104402,), (1392104406,), (1392104644,), (1392104695,), (1392104750,), (1392104794,), (1392104836,), (1392104849,), (1392105044,), (1392105047,), (1392105069,), (1392105072,), (1392105083,), (1392105086,), (1392105146,), (1392105149,), (1392105157,), (1392105159,), (1392105541,), (1392105516,), (1392105526,), (1392105528,), (1392105538,), (1392105715,), (1392105746,), (1392105755,), (1392105953,), (1392105985,), (1392106021,), (1392106066,), (1392106101,), (1392106402,), (1392106405,), (1392107040,), (1392107069,), (1392107082,), (1392107143,), (1392107554,), (1392107567,), (1392107568,), (1392107570,), (1392107650,), (1392107747,), (1392107775,), (1392107784,), (1392107803,), (1392107897,), (1392107900,), (1392107919,), (1392107927,), (1392107932,), (1392107959,), (1392107961,), (1392107963,), (1392107965,), (1392107992,), (1392108028,), (1392108095,), (1392108146,), (1392108149,), (1392108307,), (1392108311,), (1392108313,), (1392108315,), (1392108317,), (1392108320,), (1392108416,), (1392108457,), (1392108496,), (1392108515,), (1392108676,), (1392108680,), (1392108704,), (1392108713,), (1392108734,), (1392108737,), (1392108771,), (1392108778,), (1392108787,), (1392108802,), (1392108909,), (1392108911,), (1392108915,), (1392108925,), (1392108927,), (1392108905,), (1392108906,), (1392108907,), (1392108939,), (1392108976,), (1392109011,), (1392109052,), (1392109270,), (1392109272,), (1392109273,), (1392109275,), (1392109277,), (1392109280,), (1392109358,), (1392109366,), (1392109378,), (1392109385,), (1392109391,), (1392109395,), (1392109472,), (1392109474,), (1392109476,), (1392109478,), (1392109482,), (1392109517,), (1392109545,), (1392109575,), (1392109616,), (1392109682,), (1392109752,), (1392110070,), (1392110079,), (1392110121,), (1392110392,), (1392110466,), (1392110506,), (1392110550,), (1392110578,), (1392110608,), (1392110683,), (1392110684,), (1392110685,), (1392110688,), (1392110691,), (1392110694,), (1392110721,), (1392110731,), (1392110732,), (1392110736,), (1392110739,), (1392110745,), (1392110747,), (1392110751,), (1392110755,), (1392110759,), (1392110802,), (1392110803,), (1392110804,), (1392110807,), (1392110842,), (1392111060,), (1392111095,), (1392111109,), (1392111128,), (1392111183,), (1392111328,), (1392111359,), (1392111363,), (1392111368,), (1392111379,), (1392111414,), (1392111416,), (1392111419,), (1392111441,), (1392111445,), (1392111485,), (1392111486,), (1392111489,), (1392111492,), (1392111497,), (1392111536,), (1392111520,), (1392111523,), (1392111526,), (1392111528,), (1392111532,), (1392111564,), (1392111567,), (1392111569,), (1392111571,), (1392111614,), (1392111652,), (1392112139,), (1392112190,), (1392112244,), (1392112578,), (1392112580,), (1392112589,), (1392112622,), (1392112657,), (1392112693,), (1392112766,), (1392112911,), (1392112943,), (1392112963,), (1392112981,), (1392113188,), (1392113222,), (1392113226,), (1392113229,), (1392113253,), (1392113257,), (1392113273,), (1392113276,), (1392113279,), (1392113283,), (1392113306,), (1392113323,), (1392113326,), (1392113330,), (1392113335,), (1392113339,), (1392113425,), (1392113430,), (1392113434,), (1392113436,), (1392113439,), (1392113442,), (1392113461,), (1392113462,), (1392113464,), (1392113467,), (1392113471,), (1392113493,), (1392113497,), (1392113501,), (1392113503,), (1392113507,), (1392113512,), (1392113553,), (1392113556,), (1392113558,), (1392113561,), (1392113912,), (1392113914,), (1392113915,), (1392113927,), (1392113966,), (1392114349,), (1392114358,), (1392114372,), (1392114377,), (1392114395,), (1392114398,), (1392114438,), (1392114422,), (1392114426,), (1392114430,), (1392114435,), (1392114453,), (1392114462,), (1392114466,), (1392114470,), (1392114553,), (1392114560,), (1392114584,), (1392114621,), (1392114986,), (1392115030,), (1392115062,), (1392115097,), (1392115146,), (1392115603,), (1392115639,), (1392115670,), (1392115705,), (1392115742,), (1392115780,), (1392116164,), (1392116236,), (1392116303,), (1392116375,), (1392116443,), (1392117101,), (1392117216,), (1392117318,), (1392117395,), (1392117473,), (1392117694,), (1392117695,), (1392117702,), (1392117737,), (1392117754,), (1392117773,), (1392118203,), (1392118272,), (1392118347,), (1392118411,), (1392118928,), (1392118930,), (1392118933,), (1392118937,), (1392118941,), (1392118944,), (1392118965,), (1392118968,), (1392119008,), (1392119040,), (1392119041,), (1392120309,), (1392120307,), (1392120584,), (1392120609,), (1392120613,), (1392120624,), (1392120649,), (1392120762,), (1392120765,), (1392120767,), (1392120794,), (1392120796,), (1392120799,), (1392120814,), (1392120817,), (1392120820,), (1392120863,), (1392120916,), (1392120954,), (1392120994,), (1392121016,), (1392121378,), (1392121441,), (1392121476,), (1392121515,), (1392121549,), (1392121596,), (1392121731,), (1392121745,), (1392122062,), (1392122069,), (1392122080,), (1392122088,), (1392122099,), (1392122111,), (1392122131,), (1392122135,), (1392122141,), (1392122172,), (1392122582,), (1392122615,), (1392122645,), (1392122647,), (1392122651,), (1392122975,), (1392123131,), (1392123135,), (1392123147,), (1392123182,), (1392123474,), (1392123476,), (1392123478,), (1392123480,), (1392123484,), (1392123510,), (1392123513,), (1392123530,), (1392123570,), (1392123596,), (1392123621,), (1392123750,), (1392123751,), (1392123753,), (1392123757,), (1392123761,), (1392123793,), (1392123916,), (1392123921,), (1392123925,), (1392123930,), (1392123934,), (1392124025,), (1392124061,), (1392124102,), (1392124137,), (1392124147,), (1392124164,), (1392124363,), (1392124376,), (1392123911,), (1392124285,), (1392124289,), (1392124318,), (1392124341,), (1392124450,), (1392124467,), (1392124470,), (1392124510,), (1392124543,), (1392124596,), (1392124621,), (1392124622,), (1392124635,), (1392124653,), (1392124655,), (1392124657,), (1392124683,), (1392124706,), (1392124711,), (1392124744,), (1392124794,), (1392125038,), (1392125048,), (1392125093,), (1392125155,), (1392125492,), (1392125494,), (1392125496,), (1392125507,), (1392125542,), (1392125576,), (1392125653,), (1392125657,), (1392125660,), (1392125663,), (1392125741,), (1392125823,), (1392125827,), (1392125829,), (1392125839,), (1392125872,), (1392125874,), (1392125906,), (1392125975,), (1392125977,), (1392125978,), (1392125985,), (1392125994,), (1392126048,), (1392126050,), (1392126052,), (1392126073,), (1392126076,), (1392126079,), (1392126082,), (1392126092,), (1392126176,), (1392126178,), (1392126180,), (1392126228,), (1392126215,), (1392126221,), (1392126222,), (1392126225,), (1392126257,), (1392126259,), (1392126279,), (1392126312,), (1392126316,), (1392126318,), (1392126334,), (1392126336,), (1392126337,), (1392126409,), (1392126420,), (1392126435,), (1392126448,), (1392126474,), (1392126487,), (1392126546,), (1392126548,), (1392126550,), (1392126963,), (1392126994,), (1392127025,), (1392127081,), (1392127150,), (1392127193,), (1392127322,), (1392127356,), (1392127392,), (1392127520,), (1392127553,), (1392127587,), (1392127726,), (1392127728,), (1392127730,), (1392127732,), (1392127735,), (1392127762,), (1392127990,), (1392128002,), (1392128004,), (1392128006,), (1392128010,), (1392128013,), (1392128494,), (1392128495,), (1392128834,), (1392128893,), (1392128944,), (1392128981,), (1392129018,), (1392129055,), (1392129467,), (1392129504,), (1392129536,), (1392129574,), (1392129592,), (1392129818,), (1392129820,), (1392129838,), (1392129875,), (1392129897,), (1392129901,), (1392130162,), (1392130172,), (1392130183,), (1392130189,), (1392130219,), (1392130812,), (1392130944,), (1392130976,), (1392131008,), (1392131043,), (1392131073,), (1392131107,), (1392131208,), (1392130616,), (1392130652,), (1392130690,), (1392130734,), (1392130774,), (1392131189,), (1392131193,), (1392131198,), (1392131201,), (1392131204,), (1392131278,), (1392131320,), (1392131360,), (1392132138,), (1392132206,), (1392132271,), (1392132880,), (1392133317,), (1392133319,), (1392133320,), (1392133515,), (1392133553,), (1392133598,), (1392134140,), (1392134478,), (1392134922,), (1392134930,), (1392135106,), (1392135587,), (1392135619,), (1392135758,), (1392135744,), (1392135746,), (1392135750,), (1392135755,), (1392136218,), (1392136223,), (1392136253,), (1392136287,), (1392136539,), (1392136554,), (1392136565,), (1392136574,), (1392136592,), (1392136900,), (1392136903,), (1392136906,), (1392136909,), (1392136913,), (1392136917,), (1392136936,), (1392136938,), (1392137048,), (1392137188,), (1392137267,), (1392137299,), (1392137933,), (1392137972,), (1392138271,), (1392138304,), (1392138342,), (1392138379,), (1392138404,), (1392138411,), (1392138710,), (1392138717,), (1392138730,), (1392138838,), (1392138875,), (1392138902,), (1392138904,), (1392138908,), (1392138910,), (1392138934,), (1392138936,), (1392138939,), (1392138942,), (1392138946,), (1392138950,), (1392139041,), (1392139061,), (1392139064,), (1392139067,), (1392139097,), (1392139237,), (1392139594,), (1392139192,), (1392139196,), (1392139312,), (1392139325,), (1392139327,), (1392139330,), (1392139333,), (1392139346,), (1392139576,), (1392139592,), (1392139707,), (1392139742,), (1392139800,), (1392139848,), (1392139856,), (1392139922,), (1392140454,), (1392140479,), (1392140564,), (1392140589,), (1392140775,), (1392141017,), (1392141019,), (1392141051,), (1392141083,), (1392141115,), (1392141150,), (1392141431,), (1392141433,), (1392141460,), (1392141473,), (1392141484,), (1392141488,), (1392141513,), (1392141515,), (1392141522,), (1392141777,), (1392141811,), (1392141825,), (1392146898,), (1392146859,), (1392147484,), (1392147488,), (1392147489,), (1392149129,), (1392149131,), (1392149133,), (1392149158,), (1392149160,), (1392149162,), (1392149164,), (1392149167,), (1392149171,), (1392149230,), (1392149231,), (1392149232,), (1392149339,), (1392149342,), (1392149344,), (1392149450,), (1392149516,), (1392149558,), (1392150109,), (1392150120,), (1392150126,), (1392150136,), (1392150143,), (1392150164,), (1392150291,), (1392150321,), (1392150352,), (1392150382,), (1392150647,), (1392150680,), (1392150716,), (1392150767,), (1392150789,), (1392150973,), (1392151003,), (1392151056,), (1392151120,), (1392151158,), (1392151371,), (1392151327,), (1392151330,), (1392151356,), (1392151364,), (1392151426,), (1392151429,), (1392151432,), (1392151472,), (1392151477,), (1392151483,), (1392151557,), (1392151558,), (1392151559,), (1392151562,), (1392151566,), (1392151588,), (1392151591,), (1392151593,), (1392151596,), (1392151600,), (1392151618,), (1392151620,), (1392151622,), (1392151623,), (1392151627,), (1392151679,), (1392151729,), (1392151732,), (1392151734,), (1392151737,), (1392151740,), (1392151761,), (1392151764,), (1392151766,), (1392151769,), (1392151772,), (1392151775,), (1392151813,), (1392151821,), (1392151824,), (1392151827,), (1392151887,), (1392151908,), (1392151909,), (1392151931,), (1392151933,), (1392151936,), (1392151939,), (1392151948,), (1392151971,), (1392151972,), (1392151974,), (1392151976,), (1392151979,), (1392152443,), (1392152516,), (1392152919,), (1392152928,), (1392152934,), (1392152937,), (1392152941,), (1392152945,), (1392152967,), (1392152968,), (1392152969,), (1392152972,), (1392152975,), (1392152981,), (1392153016,), (1392153020,), (1392153024,), (1392153028,), (1392153469,), (1392153507,), (1392153564,), (1392153602,), (1392153613,), (1392153421,), (1392153795,), (1392153798,), (1392153801,), (1392153803,), (1392154106,), (1392154123,), (1392154149,), (1392154351,), (1392154354,), (1392154385,), (1392154387,), (1392154388,), (1392154390,), (1392154436,), (1392154446,), (1392154851,), (1392154892,), (1392154934,), (1392155265,), (1392155454,), (1392155496,), (1392155530,), (1392155562,), (1392155594,), (1392155728,), (1392155730,), (1392155739,), (1392155745,), (1392155757,), (1392155762,), (1392155790,), (1392155820,), (1392155855,), (1392155893,), (1392155914,), (1392156107,), (1392156120,), (1392156123,), (1392156126,), (1392156129,), (1392156133,), (1392156148,), (1392156150,), (1392156152,), (1392156154,), (1392156157,), (1392156253,), (1392156255,), (1392156285,), (1392156288,), (1392156302,), (1392156306,), (1392156358,), (1392156361,), (1392156366,), (1392156370,), (1392156374,), (1392156379,), (1392156395,), (1392156394,), (1392156443,), (1392156450,), (1392156459,), (1392156470,), (1392156476,), (1392156488,), (1392156984,), (1392157006,), (1392157014,), (1392157052,), (1392157232,), (1392157264,), (1392157266,), (1392157269,), (1392157296,), (1392157297,), (1392157298,), (1392157300,), (1392157313,), (1392157394,), (1392157396,), (1392157405,), (1392157412,), (1392157491,), (1392157494,), (1392157497,), (1392157500,), (1392157505,), (1392157544,), (1392157551,), (1392157557,), (1392157571,), (1392157715,), (1392157746,), (1392157779,), (1392157982,), (1392158000,), (1392158033,), (1392158048,), (1392158210,), (1392158214,), (1392158216,), (1392158401,), (1392158402,), (1392158506,), (1392158510,), (1392158513,), (1392159088,), (1392159127,), (1392159377,), (1392159370,), (1392159374,), (1392159584,), (1392159592,), (1392159593,), (1392159594,), (1392159598,), (1392159670,), (1392159677,), (1392159691,), (1392159704,), (1392159711,), (1392159848,), (1392159860,), (1392159866,), (1392159876,), (1392159887,), (1392159983,), (1392159992,), (1392160004,), (1392160227,), (1392160262,), (1392160296,), (1392160821,), (1392160856,), (1392160891,), (1392160926,), (1392160964,), (1392161000,), (1392161334,), (1392161336,), (1392161337,), (1392161338,), (1392161392,), (1392161431,), (1392161497,), (1392161563,), (1392161633,), (1392161703,), (1392162516,), (1392162612,), (1392162689,), (1392162755,), (1392163342,), (1392163375,), (1392163408,), (1392163440,), (1392163474,), (1392163512,), (1392163747,), (1392163788,), (1392163830,), (1392163866,), (1392164249,), (1392164283,), (1392164314,), (1392164501,), (1392164521,), (1392164523,), (1392164525,), (1392164527,), (1392164554,), (1392164558,), (1392164561,), (1392164565,), (1392164602,), (1392164648,), (1392164815,), (1392164848,), (1392164885,), (1392165208,), (1392167621,), (1392165032,), (1392165068,), (1392165106,), (1392165137,), (1392165175,), (1392165615,), (1392165647,), (1392165662,), (1392165692,), (1392165695,), (1392165705,), (1392165747,), (1392165748,), (1392165751,), (1392165752,), (1392165755,), (1392165756,), (1392165783,), (1392165785,), (1392165827,), (1392165830,), (1392165863,), (1392165867,), (1392166173,), (1392166177,), (1392166188,), (1392166220,), (1392166245,), (1392166247,), (1392166370,), (1392166400,), (1392166432,), (1392166471,), (1392166515,), (1392166552,), (1392166702,), (1392166736,), (1392166770,), (1392166809,), (1392166847,), (1392166882,), (1392167069,), (1392167114,), (1392167154,), (1392167196,), (1392167234,), (1392167295,), (1392167356,), (1392167358,), (1392167360,), (1392167362,), (1392167365,), (1392167368,), (1392167373,), (1392167393,), (1392167407,), (1392167448,), (1392167527,), (1392167874,), (1392167940,), (1392168002,), (1392168076,), (1392168120,), (1392168635,), (1392168667,), (1392168691,), (1392168695,), (1392168697,), (1392168701,), (1392168723,), (1392168727,), (1392168730,), (1392168764,), (1392168802,), (1392168838,), (1392168876,), (1392168912,), (1392168944,), (1392169130,), (1392169212,), (1392169262,), (1392169295,), (1392169916,), (1392169980,), (1392170015,), (1392170056,), (1392170095,), (1392170538,), (1392170580,), (1392170629,), (1392171226,), (1392171243,), (1392171252,), (1392171286,), (1392171293,), (1392171317,), (1392171333,), (1392171401,), (1392171468,), (1392171469,), (1392171470,), (1392171473,), (1392171477,), (1392171525,), (1392171563,), (1392172099,), (1392172141,), (1392172184,), (1392172240,), (1392172281,), (1392172313,), (1392172446,), (1392172627,), (1392172662,), (1392172693,), (1392172726,), (1392172758,), (1392172802,), (1392173150,), (1392173221,), (1392173833,), (1392175021,), (1392178399,), (1392176777,), (1392179192,), (1392179320,), (1392179324,), (1392179328,), (1392179382,), (1392179397,), (1392179412,), (1392179418,), (1392179422,), (1392179576,), (1392179580,), (1392179582,), (1392179584,), (1392179587,), (1392179668,), (1392179707,), (1392179741,), (1392179773,), (1392180178,), (1392180211,), (1392180242,), (1392180278,), (1392180312,), (1392180347,), (1392180800,), (1392180803,), (1392180874,), (1392180877,), (1392181314,), (1392181171,), (1392181207,), (1392181238,), (1392181278,), (1392181474,), (1392181476,), (1392181492,), (1392181500,), (1392181631,), (1392181678,), (1392181718,), (1392181789,), (1392181833,), (1392182223,), (1392182288,), (1392182349,), (1392182841,), (1392182875,), (1392182911,), (1392182943,), (1392182980,), (1392183642,), (1392183676,), (1392183708,), (1392183742,), (1392183780,), (1392184155,), (1392184189,), (1392184222,), (1392184242,), (1392184633,), (1392184701,), (1392184764,), (1392184830,), (1392185241,), (1392185299,), (1392185367,), (1392185418,), (1392185984,), (1392186018,), (1392186059,), (1392186092,), (1392186125,), (1392186162,), (1392186477,), (1392186478,), (1392186480,), (1392186482,), (1392186527,), (1392186530,), (1392186532,), (1392186564,), (1392186666,), (1392187114,), (1392187116,), (1392187120,), (1392187141,), (1392187349,), (1392187359,), (1392187361,), (1392187464,), (1392187472,), (1392187477,), (1392187480,), (1392187484,), (1392187848,), (1392187710,), (1392187747,), (1392187781,), (1392187812,), (1392188220,), (1392188252,), (1392188288,), (1392188740,), (1392188741,), (1392188743,), (1392188746,), (1392188750,), (1392188792,), (1392188816,), (1392188848,), (1392188950,), (1392189638,), (1392189712,), (1392189789,), (1392189839,), (1392189880,), (1392190227,), (1392190262,), (1392190304,), (1392190420,), (1392190422,), (1392190424,), (1392190426,), (1392190429,), (1392190432,), (1392190454,), (1392190455,), (1392190469,), (1392190472,), (1392190475,), (1392191551,), (1392198151,), (1392198149,), (1392198586,), (1392198622,), (1392198661,), (1392198697,), (1392198734,), (1392199011,), (1392199664,), (1392199699,), (1392199735,), (1392199777,), (1392200265,), (1392200298,), (1392200361,), (1392200483,), (1392200485,), (1392200487,), (1392200490,), (1392200493,), (1392200495,), (1392200621,), (1392200685,), (1392200754,), (1392201250,), (1392206027,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03112025': {'nb_upload': 31, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28114558]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1392135758, 1392135619, 1392135587, 1392135106, 1392134930, 1392134922, 1392134478, 1392134140, 1392133598, 1392133553, 1392133515, 1392133320, 1392133319, 1392133317, 1392132880, 1392132271, 1392132206, 1392132138, 1392131360, 1392131320, 1392131278, 1392131204, 1392131201, 1392131198, 1392131193, 1392131189, 1392130774, 1392130734, 1392130690, 1392130652, 1392130616] map_info['map_portfolio_photo'] : {28114558: [1392135758, 1392135619, 1392135587, 1392135106, 1392134930, 1392134922, 1392134478, 1392134140, 1392133598, 1392133553, 1392133515, 1392133320, 1392133319, 1392133317, 1392132880, 1392132271, 1392132206, 1392132138, 1392131360, 1392131320, 1392131278, 1392131204, 1392131201, 1392131198, 1392131193, 1392131189, 1392130774, 1392130734, 1392130690, 1392130652, 1392130616]} final : True mtd_id 4302 list_pids : [1392135758, 1392135619, 1392135587, 1392135106, 1392134930, 1392134922, 1392134478, 1392134140, 1392133598, 1392133553, 1392133515, 1392133320, 1392133319, 1392133317, 1392132880, 1392132271, 1392132206, 1392132138, 1392131360, 1392131320, 1392131278, 1392131204, 1392131201, 1392131198, 1392131193, 1392131189, 1392130774, 1392130734, 1392130690, 1392130652, 1392130616] Looping around the photos to save general results len do output : 1 /28114558Didn'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, '3993951') ('4302', '28114558', '1392135758', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392135619', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392135587', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392135106', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134930', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134922', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134478', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392134140', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133598', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133553', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133515', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133320', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133319', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392133317', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132880', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132271', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132206', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392132138', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131360', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131320', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131278', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131204', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131201', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131198', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131193', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392131189', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130774', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130734', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130690', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130652', None, None, None, None, None, '3993951') ('4302', None, None, None, None, None, None, None, '3993951') ('4302', '28114558', '1392130616', None, None, None, None, None, '3993951') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 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, '28114558', 'None', None, None, None, None, '3993951'), ('4302', '28114558', '1392135758', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392135619', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392135587', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392135106', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392134930', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392134922', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392134478', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392134140', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133598', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133553', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133515', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133320', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133319', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392133317', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392132880', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392132271', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392132206', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392132138', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131360', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131320', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131278', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131204', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131201', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131198', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131193', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392131189', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392130774', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392130734', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392130690', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392130652', None, None, None, None, None, '3993951'), ('4302', '28114558', '1392130616', None, None, None, None, None, '3993951')] time used for this insertion : 0.01814103126525879 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.251617431640625 time spend to save output : 0.018698453903198242 total time spend for step 5 : 14.270315885543823 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 (3993951) 3.19user 2.15system 0:28.15elapsed 18%CPU (0avgtext+0avgdata 167104maxresident)k 1760inputs+27200outputs (15major+87549minor)pagefaults 0swaps