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 : 2200119 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 (2667737) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2667737) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404758 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2667737'] with mtr_portfolio_ids : ['21404758'] and first list_photo_ids : [] new path : /proc/2200119/ Name: python3 Umask: 0002 State: R (running) Tgid: 2200119 Ngid: 0 Pid: 2200119 PPid: 2200116 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2200119 NSpid: 2200119 NSpgid: 2199205 NSsid: 2199205 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97888 kB VmRSS: 97888 kB RssAnon: 59764 kB RssFile: 38124 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 588 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 51 nonvoluntary_ctxt_switches: 74 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2200119', 'Ngid': '0', 'Pid': '2200119', 'PPid': '2200116', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2200119', 'NSpid': '2200119', 'NSpgid': '2199205', 'NSsid': '2199205', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97888 kB', 'VmRSS': '97888 kB', 'RssAnon': '59764 kB', 'RssFile': '38124 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '588 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '51', 'nonvoluntary_ctxt_switches': '74'} ('datou_batch_current', '2200119', '1106844', '0', '1106844', '865596', '97888', b'', 'marlene', '2667737') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (21404758) 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 (2667737 ) ) 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 (21404758) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1343738389, 'portfolio_id': 21404758}, {'photo_id': 1343738346, 'portfolio_id': 21404758}, {'photo_id': 1343738339, 'portfolio_id': 21404758}, {'photo_id': 1343738334, 'portfolio_id': 21404758}, {'photo_id': 1343738328, 'portfolio_id': 21404758}, {'photo_id': 1343738291, 'portfolio_id': 21404758}, {'photo_id': 1343738285, 'portfolio_id': 21404758}, {'photo_id': 1343738278, 'portfolio_id': 21404758}, {'photo_id': 1343738249, 'portfolio_id': 21404758}, {'photo_id': 1343738244, 'portfolio_id': 21404758}, {'photo_id': 1343738239, 'portfolio_id': 21404758}, {'photo_id': 1343738233, 'portfolio_id': 21404758}, {'photo_id': 1343738200, 'portfolio_id': 21404758}, {'photo_id': 1343738193, 'portfolio_id': 21404758}, {'photo_id': 1343738187, 'portfolio_id': 21404758}, {'photo_id': 1343738156, 'portfolio_id': 21404758}, {'photo_id': 1343738152, 'portfolio_id': 21404758}, {'photo_id': 1343738146, 'portfolio_id': 21404758}, {'photo_id': 1343738140, 'portfolio_id': 21404758}, {'photo_id': 1343738106, 'portfolio_id': 21404758}, {'photo_id': 1343738101, 'portfolio_id': 21404758}, {'photo_id': 1343737803, 'portfolio_id': 21404758}, {'photo_id': 1343737800, 'portfolio_id': 21404758}, {'photo_id': 1343737797, 'portfolio_id': 21404758}, {'photo_id': 1343737794, 'portfolio_id': 21404758}, {'photo_id': 1343737755, 'portfolio_id': 21404758}, {'photo_id': 1343737751, 'portfolio_id': 21404758}, {'photo_id': 1343737748, 'portfolio_id': 21404758}, {'photo_id': 1343737746, 'portfolio_id': 21404758}, {'photo_id': 1343737713, 'portfolio_id': 21404758}, {'photo_id': 1343737707, 'portfolio_id': 21404758}, {'photo_id': 1343737703, 'portfolio_id': 21404758}, {'photo_id': 1343737697, 'portfolio_id': 21404758}] map_portfolio_id_photo_id: {21404758: [1343738389, 1343738346, 1343738339, 1343738334, 1343738328, 1343738291, 1343738285, 1343738278, 1343738249, 1343738244, 1343738239, 1343738233, 1343738200, 1343738193, 1343738187, 1343738156, 1343738152, 1343738146, 1343738140, 1343738106, 1343738101, 1343737803, 1343737800, 1343737797, 1343737794, 1343737755, 1343737751, 1343737748, 1343737746, 1343737713, 1343737707, 1343737703, 1343737697]} ##### 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.015816450119018555 #### 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 Fri Mar 14 05:46:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21404758) 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 : 21404758 get user id for portfolio 21404758 get sub ptf for main ptf 21404758, type 3726 and hashtags ['cartonnette', 'metal', 'flou', 'environnement', 'kraft', 'papier', 'Carton_gris', 'Teint_Dans_La_Masse', 'Carton_brun', 'plastique', 'mal_croppe', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404758 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','metal','flou','environnement','kraft','papier','Carton_gris','Teint_Dans_La_Masse','Carton_brun','plastique','mal_croppe','autre_refus')) 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`=21404758 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','metal','flou','environnement','kraft','papier','Carton_gris','Teint_Dans_La_Masse','Carton_brun','plastique','mal_croppe','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 21404758, 'sub_port_id': 21404937, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978570, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 28)}, 'papier': {'main_port_id': 21404758, 'sub_port_id': 21404938, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978571, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 28)}, 'mal_croppe': {'main_port_id': 21404758, 'sub_port_id': 21404939, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978572, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 28)}, 'autre_refus': {'main_port_id': 21404758, 'sub_port_id': 21404940, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978573, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 28)}, 'metal': {'main_port_id': 21404758, 'sub_port_id': 21404941, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978574, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 28)}, 'environnement': {'main_port_id': 21404758, 'sub_port_id': 21404942, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978575, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 28)}, 'flou': {'main_port_id': 21404758, 'sub_port_id': 21404943, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978576, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 28)}, 'cartonnette': {'main_port_id': 21404758, 'sub_port_id': 21404944, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978577, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 28)}, 'plastique': {'main_port_id': 21404758, 'sub_port_id': 21404945, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978578, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 21404758, 'sub_port_id': 21404946, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978579, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 28)}, 'Carton_gris': {'main_port_id': 21404758, 'sub_port_id': 21404947, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978580, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 28)}, 'kraft': {'main_port_id': 21404758, 'sub_port_id': 21404948, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978581, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404937 , 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=21404758 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 (21404937) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404758) result : ((1343737697,), (1343737703,), (1343737707,), (1343737713,), (1343737746,), (1343737748,), (1343737751,), (1343737755,), (1343737794,), (1343737797,), (1343737800,), (1343737803,), (1343738101,), (1343738106,), (1343738140,), (1343738146,), (1343738152,), (1343738156,), (1343738187,), (1343738193,), (1343738200,), (1343738233,), (1343738239,), (1343738244,), (1343738249,), (1343738278,), (1343738285,), (1343738291,), (1343738328,), (1343738334,), (1343738339,), (1343738346,), (1343738389,)) 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 (1343737800,1343738200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404938 , 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=21404758 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 (21404938) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404758) result : ((1343737697,), (1343737703,), (1343737707,), (1343737713,), (1343737746,), (1343737748,), (1343737751,), (1343737755,), (1343737794,), (1343737797,), (1343737800,), (1343737803,), (1343738101,), (1343738106,), (1343738140,), (1343738146,), (1343738152,), (1343738156,), (1343738187,), (1343738193,), (1343738200,), (1343738233,), (1343738239,), (1343738244,), (1343738249,), (1343738278,), (1343738285,), (1343738291,), (1343738328,), (1343738334,), (1343738339,), (1343738346,), (1343738389,)) 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 (1343737800,1343738200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404939 , 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=21404758 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 (21404939) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404758) result : ((1343737697,), (1343737703,), (1343737707,), (1343737713,), (1343737746,), (1343737748,), (1343737751,), (1343737755,), (1343737794,), (1343737797,), (1343737800,), (1343737803,), (1343738101,), (1343738106,), (1343738140,), (1343738146,), (1343738152,), (1343738156,), (1343738187,), (1343738193,), (1343738200,), (1343738233,), (1343738239,), (1343738244,), (1343738249,), (1343738278,), (1343738285,), (1343738291,), (1343738328,), (1343738334,), (1343738339,), (1343738346,), (1343738389,)) 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 (1343737800,1343738200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404940 , 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=21404758 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 (21404940) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404758) result : ((1343737697,), (1343737703,), (1343737707,), (1343737713,), (1343737746,), (1343737748,), (1343737751,), (1343737755,), (1343737794,), (1343737797,), (1343737800,), (1343737803,), (1343738101,), (1343738106,), (1343738140,), (1343738146,), (1343738152,), (1343738156,), (1343738187,), (1343738193,), (1343738200,), (1343738233,), (1343738239,), (1343738244,), (1343738249,), (1343738278,), (1343738285,), (1343738291,), (1343738328,), (1343738334,), (1343738339,), (1343738346,), (1343738389,)) 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 (1343737800,1343738200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404941 , 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=21404758 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 (21404941) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404758) result : ((1343737697,), (1343737703,), (1343737707,), (1343737713,), (1343737746,), (1343737748,), (1343737751,), (1343737755,), (1343737794,), (1343737797,), (1343737800,), (1343737803,), (1343738101,), (1343738106,), (1343738140,), (1343738146,), (1343738152,), (1343738156,), (1343738187,), (1343738193,), (1343738200,), (1343738233,), (1343738239,), (1343738244,), (1343738249,), (1343738278,), (1343738285,), (1343738291,), (1343738328,), (1343738334,), (1343738339,), (1343738346,), (1343738389,)) 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 (1343737800,1343738200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404942 , 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=21404758 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 (21404942) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404758) result : ((1343737697,), (1343737703,), (1343737707,), (1343737713,), (1343737746,), (1343737748,), (1343737751,), (1343737755,), (1343737794,), (1343737797,), (1343737800,), (1343737803,), (1343738101,), (1343738106,), (1343738140,), (1343738146,), (1343738152,), (1343738156,), (1343738187,), (1343738193,), (1343738200,), (1343738233,), (1343738239,), (1343738244,), (1343738249,), (1343738278,), (1343738285,), (1343738291,), (1343738328,), (1343738334,), (1343738339,), (1343738346,), (1343738389,)) 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 (1343737800,1343738200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404943 , 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=21404758 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 (21404943) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404758) result : ((1343737697,), (1343737703,), (1343737707,), (1343737713,), (1343737746,), (1343737748,), (1343737751,), (1343737755,), (1343737794,), (1343737797,), (1343737800,), (1343737803,), (1343738101,), (1343738106,), (1343738140,), (1343738146,), (1343738152,), (1343738156,), (1343738187,), (1343738193,), (1343738200,), (1343738233,), (1343738239,), (1343738244,), (1343738249,), (1343738278,), (1343738285,), (1343738291,), (1343738328,), (1343738334,), (1343738339,), (1343738346,), (1343738389,)) 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 (1343737800,1343738200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404944 , 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=21404758 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 (21404944) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404758) result : ((1343737697,), (1343737703,), (1343737707,), (1343737713,), (1343737746,), (1343737748,), (1343737751,), (1343737755,), (1343737794,), (1343737797,), (1343737800,), (1343737803,), (1343738101,), (1343738106,), (1343738140,), (1343738146,), (1343738152,), (1343738156,), (1343738187,), (1343738193,), (1343738200,), (1343738233,), (1343738239,), (1343738244,), (1343738249,), (1343738278,), (1343738285,), (1343738291,), (1343738328,), (1343738334,), (1343738339,), (1343738346,), (1343738389,)) 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 (1343737800,1343738200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404945 , 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=21404758 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 (21404945) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404758) result : ((1343737697,), (1343737703,), (1343737707,), (1343737713,), (1343737746,), (1343737748,), (1343737751,), (1343737755,), (1343737794,), (1343737797,), (1343737800,), (1343737803,), (1343738101,), (1343738106,), (1343738140,), (1343738146,), (1343738152,), (1343738156,), (1343738187,), (1343738193,), (1343738200,), (1343738233,), (1343738239,), (1343738244,), (1343738249,), (1343738278,), (1343738285,), (1343738291,), (1343738328,), (1343738334,), (1343738339,), (1343738346,), (1343738389,)) 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 (1343737800,1343738200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404946 , 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=21404758 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 (21404946) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404758) result : ((1343737697,), (1343737703,), (1343737707,), (1343737713,), (1343737746,), (1343737748,), (1343737751,), (1343737755,), (1343737794,), (1343737797,), (1343737800,), (1343737803,), (1343738101,), (1343738106,), (1343738140,), (1343738146,), (1343738152,), (1343738156,), (1343738187,), (1343738193,), (1343738200,), (1343738233,), (1343738239,), (1343738244,), (1343738249,), (1343738278,), (1343738285,), (1343738291,), (1343738328,), (1343738334,), (1343738339,), (1343738346,), (1343738389,)) 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 (1343737800,1343738200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404947 , 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=21404758 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 (21404947) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404758) result : ((1343737697,), (1343737703,), (1343737707,), (1343737713,), (1343737746,), (1343737748,), (1343737751,), (1343737755,), (1343737794,), (1343737797,), (1343737800,), (1343737803,), (1343738101,), (1343738106,), (1343738140,), (1343738146,), (1343738152,), (1343738156,), (1343738187,), (1343738193,), (1343738200,), (1343738233,), (1343738239,), (1343738244,), (1343738249,), (1343738278,), (1343738285,), (1343738291,), (1343738328,), (1343738334,), (1343738339,), (1343738346,), (1343738389,)) 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 (1343737800,1343738200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404948 , 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=21404758 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 (21404948) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404758) result : ((1343737697,), (1343737703,), (1343737707,), (1343737713,), (1343737746,), (1343737748,), (1343737751,), (1343737755,), (1343737794,), (1343737797,), (1343737800,), (1343737803,), (1343738101,), (1343738106,), (1343738140,), (1343738146,), (1343738152,), (1343738156,), (1343738187,), (1343738193,), (1343738200,), (1343738233,), (1343738239,), (1343738244,), (1343738249,), (1343738278,), (1343738285,), (1343738291,), (1343738328,), (1343738334,), (1343738339,), (1343738346,), (1343738389,)) 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 (1343737800,1343738200) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404758 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','metal','flou','environnement','kraft','papier','Carton_gris','Teint_Dans_La_Masse','Carton_brun','plastique','mal_croppe','autre_refus')) 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`=21404758 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','metal','flou','environnement','kraft','papier','Carton_gris','Teint_Dans_La_Masse','Carton_brun','plastique','mal_croppe','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 21404758, 'sub_port_id': 21404961, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978594, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 30)}, 'papier': {'main_port_id': 21404758, 'sub_port_id': 21404962, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978595, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 30)}, 'mal_croppe': {'main_port_id': 21404758, 'sub_port_id': 21404963, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978596, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 30)}, 'autre_refus': {'main_port_id': 21404758, 'sub_port_id': 21404964, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978597, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 30)}, 'metal': {'main_port_id': 21404758, 'sub_port_id': 21404965, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978598, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 30)}, 'environnement': {'main_port_id': 21404758, 'sub_port_id': 21404966, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978599, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 30)}, 'flou': {'main_port_id': 21404758, 'sub_port_id': 21404967, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978600, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 30)}, 'cartonnette': {'main_port_id': 21404758, 'sub_port_id': 21404968, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978601, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 30)}, 'plastique': {'main_port_id': 21404758, 'sub_port_id': 21404969, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978602, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 21404758, 'sub_port_id': 21404970, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978603, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 30)}, 'Carton_gris': {'main_port_id': 21404758, 'sub_port_id': 21404971, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978604, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 30)}, 'kraft': {'main_port_id': 21404758, 'sub_port_id': 21404972, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978605, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404961,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404937 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404962,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404938 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404963,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404939 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404964,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404940 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404965,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404941 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404966,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404942 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404967,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404943 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404968,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404944 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404969,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404945 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404970,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404946 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404971,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404947 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404972,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404948 lien utilise dans velours : https://www.fotonower.com/velours/21404961,21404962,21404963,21404964,21404965,21404966,21404967,21404968,21404969,21404970,21404971,21404972?tags=Carton_brun,papier,mal_croppe,autre_refus,metal,environnement,flou,cartonnette,plastique,Teint_Dans_La_Masse,Carton_gris,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21404758]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1343738389, 1343738346, 1343738339, 1343738334, 1343738328, 1343738291, 1343738285, 1343738278, 1343738249, 1343738244, 1343738239, 1343738233, 1343738200, 1343738193, 1343738187, 1343738156, 1343738152, 1343738146, 1343738140, 1343738106, 1343738101, 1343737803, 1343737800, 1343737797, 1343737794, 1343737755, 1343737751, 1343737748, 1343737746, 1343737713, 1343737707, 1343737703, 1343737697] map_info['map_portfolio_photo'] : {21404758: [1343738389, 1343738346, 1343738339, 1343738334, 1343738328, 1343738291, 1343738285, 1343738278, 1343738249, 1343738244, 1343738239, 1343738233, 1343738200, 1343738193, 1343738187, 1343738156, 1343738152, 1343738146, 1343738140, 1343738106, 1343738101, 1343737803, 1343737800, 1343737797, 1343737794, 1343737755, 1343737751, 1343737748, 1343737746, 1343737713, 1343737707, 1343737703, 1343737697]} final : False mtd_id 4302 list_pids : [1343738389, 1343738346, 1343738339, 1343738334, 1343738328, 1343738291, 1343738285, 1343738278, 1343738249, 1343738244, 1343738239, 1343738233, 1343738200, 1343738193, 1343738187, 1343738156, 1343738152, 1343738146, 1343738140, 1343738106, 1343738101, 1343737803, 1343737800, 1343737797, 1343737794, 1343737755, 1343737751, 1343737748, 1343737746, 1343737713, 1343737707, 1343737703, 1343737697] Looping around the photos to save general results len do output : 1 /21404758. 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, '2667737') ('4302', '21404758', '1343738389', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738346', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738339', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738334', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738328', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738291', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738285', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738278', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738249', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738244', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738239', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738233', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738200', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738193', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738187', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738156', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738152', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738146', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738140', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738106', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738101', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737803', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737800', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737797', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737794', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737755', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737751', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737748', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737746', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737713', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737707', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737703', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737697', None, None, None, None, None, '2667737') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21404758', "{'Carton_brun': 21404937, 'papier': 21404938, 'mal_croppe': 21404939, 'autre_refus': 21404940, 'metal': 21404941, 'environnement': 21404942, 'flou': 21404943, 'cartonnette': 21404944, 'plastique': 21404945, 'Teint_Dans_La_Masse': 21404946, 'Carton_gris': 21404947, 'kraft': 21404948}", None, None, None, None, '2667737'), ('4302', '21404758', '1343738389', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738346', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738339', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738334', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738328', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738291', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738285', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738278', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738249', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738244', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738239', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738233', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738200', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738193', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738187', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738156', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738152', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738146', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738140', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738106', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738101', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737803', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737800', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737797', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737794', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737755', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737751', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737748', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737746', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737713', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737707', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737703', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737697', None, None, None, None, None, '2667737')] time used for this insertion : 0.5474550724029541 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.42064905166625977 time spend to save output : 0.547917366027832 total time spend for step 1 : 0.9685664176940918 step2:final Fri Mar 14 05:46:31 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 (21404758) 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 21404758 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1343737713,1343737707,1343737703,1343737697,1343737755,1343737751,1343737748,1343737746,1343737803,1343737800,1343737797,1343737794,1343738106,1343738101,1343738156,1343738152,1343738146,1343738140,1343738200,1343738193,1343738187,1343738249,1343738244,1343738239,1343738233,1343738291,1343738285,1343738278,1343738346,1343738339,1343738334,1343738328,1343738389); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21404758]) Inside saveOutput : final : False verbose : True original output for save of step final : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} new output for save of step final : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} [1343738389, 1343738346, 1343738339, 1343738334, 1343738328, 1343738291, 1343738285, 1343738278, 1343738249, 1343738244, 1343738239, 1343738233, 1343738200, 1343738193, 1343738187, 1343738156, 1343738152, 1343738146, 1343738140, 1343738106, 1343738101, 1343737803, 1343737800, 1343737797, 1343737794, 1343737755, 1343737751, 1343737748, 1343737746, 1343737713, 1343737707, 1343737703, 1343737697] map_info['map_portfolio_photo'] : {21404758: [1343738389, 1343738346, 1343738339, 1343738334, 1343738328, 1343738291, 1343738285, 1343738278, 1343738249, 1343738244, 1343738239, 1343738233, 1343738200, 1343738193, 1343738187, 1343738156, 1343738152, 1343738146, 1343738140, 1343738106, 1343738101, 1343737803, 1343737800, 1343737797, 1343737794, 1343737755, 1343737751, 1343737748, 1343737746, 1343737713, 1343737707, 1343737703, 1343737697]} final : False mtd_id 4302 list_pids : [1343738389, 1343738346, 1343738339, 1343738334, 1343738328, 1343738291, 1343738285, 1343738278, 1343738249, 1343738244, 1343738239, 1343738233, 1343738200, 1343738193, 1343738187, 1343738156, 1343738152, 1343738146, 1343738140, 1343738106, 1343738101, 1343737803, 1343737800, 1343737797, 1343737794, 1343737755, 1343737751, 1343737748, 1343737746, 1343737713, 1343737707, 1343737703, 1343737697] Looping around the photos to save general results len do output : 33 /1343738389.Didn't retrieve data . /1343738346.Didn't retrieve data . /1343738339.Didn't retrieve data . /1343738334.Didn't retrieve data . /1343738328.Didn't retrieve data . /1343738291.Didn't retrieve data . /1343738285.Didn't retrieve data . /1343738278.Didn't retrieve data . /1343738249.Didn't retrieve data . /1343738244.Didn't retrieve data . /1343738239.Didn't retrieve data . /1343738233.Didn't retrieve data . /1343738200.Didn't retrieve data . /1343738193.Didn't retrieve data . /1343738187.Didn't retrieve data . /1343738156.Didn't retrieve data . /1343738152.Didn't retrieve data . /1343738146.Didn't retrieve data . /1343738140.Didn't retrieve data . /1343738106.Didn't retrieve data . /1343738101.Didn't retrieve data . /1343737803.Didn't retrieve data . /1343737800.Didn't retrieve data . /1343737797.Didn't retrieve data . /1343737794.Didn't retrieve data . /1343737755.Didn't retrieve data . /1343737751.Didn't retrieve data . /1343737748.Didn't retrieve data . /1343737746.Didn't retrieve data . /1343737713.Didn't retrieve data . /1343737707.Didn't retrieve data . /1343737703.Didn't retrieve data . /1343737697.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, '2667737') ('4302', '21404758', '1343738389', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738346', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738339', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738334', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738328', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738291', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738285', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738278', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738249', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738244', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738239', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738233', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738200', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738193', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738187', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738156', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738152', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738146', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738140', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738106', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738101', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737803', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737800', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737797', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737794', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737755', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737751', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737748', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737746', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737713', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737707', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737703', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737697', None, None, None, None, None, '2667737') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 99 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21404758', '1343738389', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738346', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738339', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738334', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738328', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738291', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738285', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738278', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738249', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738244', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738239', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738233', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738200', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738193', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738187', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738156', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738152', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738146', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738140', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738106', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343738101', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343737803', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343737800', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343737797', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343737794', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343737755', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343737751', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343737748', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343737746', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343737713', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343737707', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343737703', '0.0', None, None, None, None, '2667737'), ('4302', '21404758', '1343737697', '0.0', None, None, None, None, '2667737')] time used for this insertion : 0.48668479919433594 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.052073001861572266 time spend to save output : 0.4880952835083008 total time spend for step 2 : 0.540168285369873 step3:velours_tree Fri Mar 14 05:46:31 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 : {21404758: [{'Carton_brun': 21404937, 'papier': 21404938, 'mal_croppe': 21404939, 'autre_refus': 21404940, 'metal': 21404941, 'environnement': 21404942, 'flou': 21404943, 'cartonnette': 21404944, 'plastique': 21404945, 'Teint_Dans_La_Masse': 21404946, 'Carton_gris': 21404947, 'kraft': 21404948}]} input_args_next_step : {21404758: ()} output_args : {21404758: [{'Carton_brun': 21404937, 'papier': 21404938, 'mal_croppe': 21404939, 'autre_refus': 21404940, 'metal': 21404941, 'environnement': 21404942, 'flou': 21404943, 'cartonnette': 21404944, 'plastique': 21404945, 'Teint_Dans_La_Masse': 21404946, 'Carton_gris': 21404947, 'kraft': 21404948}]} args : 21404758 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 : ({'Carton_brun': 21404937, 'papier': 21404938, 'mal_croppe': 21404939, 'autre_refus': 21404940, 'metal': 21404941, 'environnement': 21404942, 'flou': 21404943, 'cartonnette': 21404944, 'plastique': 21404945, 'Teint_Dans_La_Masse': 21404946, 'Carton_gris': 21404947, 'kraft': 21404948},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21404758) 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([21404758]) 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.27204179763793945 time spend to save output : 5.030632019042969e-05 total time spend for step 3 : 0.2720921039581299 step4:send_mail_cod Fri Mar 14 05:46:31 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 : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} input_args_next_step : {1343738389: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738389 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738346 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738339 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738334 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738328 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738291 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738285 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738278 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738249 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738244 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738239 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738233 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738200 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738193 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738187 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738156 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738152 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738146 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738140 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738106 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343738101 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343737803 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343737800 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343737797 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343737794 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343737755 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343737751 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343737748 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343737746 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343737713 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343737707 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343737703 depend.output_id : 0 input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ()} output_args : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',)} args : 1343737697 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 : {21404758: [{'Carton_brun': 21404937, 'papier': 21404938, 'mal_croppe': 21404939, 'autre_refus': 21404940, 'metal': 21404941, 'environnement': 21404942, 'flou': 21404943, 'cartonnette': 21404944, 'plastique': 21404945, 'Teint_Dans_La_Masse': 21404946, 'Carton_gris': 21404947, 'kraft': 21404948}]} input_args_next_step : {1343738389: ('0.0',), 1343738346: ('0.0',), 1343738339: ('0.0',), 1343738334: ('0.0',), 1343738328: ('0.0',), 1343738291: ('0.0',), 1343738285: ('0.0',), 1343738278: ('0.0',), 1343738249: ('0.0',), 1343738244: ('0.0',), 1343738239: ('0.0',), 1343738233: ('0.0',), 1343738200: ('0.0',), 1343738193: ('0.0',), 1343738187: ('0.0',), 1343738156: ('0.0',), 1343738152: ('0.0',), 1343738146: ('0.0',), 1343738140: ('0.0',), 1343738106: ('0.0',), 1343738101: ('0.0',), 1343737803: ('0.0',), 1343737800: ('0.0',), 1343737797: ('0.0',), 1343737794: ('0.0',), 1343737755: ('0.0',), 1343737751: ('0.0',), 1343737748: ('0.0',), 1343737746: ('0.0',), 1343737713: ('0.0',), 1343737707: ('0.0',), 1343737703: ('0.0',), 1343737697: ('0.0',), 21404758: ()} output_args : {21404758: [{'Carton_brun': 21404937, 'papier': 21404938, 'mal_croppe': 21404939, 'autre_refus': 21404940, 'metal': 21404941, 'environnement': 21404942, 'flou': 21404943, 'cartonnette': 21404944, 'plastique': 21404945, 'Teint_Dans_La_Masse': 21404946, 'Carton_gris': 21404947, 'kraft': 21404948}]} args : 21404758 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :34, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21404758) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1343738389,1343738346,1343738339,1343738334,1343738328,1343738291,1343738285,1343738278,1343738249,1343738244,1343738239,1343738233,1343738200,1343738193,1343738187,1343738156,1343738152,1343738146,1343738140,1343738106,1343738101,1343737803,1343737800,1343737797,1343737794,1343737755,1343737751,1343737748,1343737746,1343737713,1343737707,1343737703,1343737697) Found this number of photos: 33 ##### Call download_photos : nb_thread : 5 begin to download photo : 1343737697 begin to download photo : 1343737755 begin to download photo : 1343738140 begin to download photo : 1343738233 begin to download photo : 1343738328 download finish for photo 1343738233 begin to download photo : 1343738239 download finish for photo 1343737755 begin to download photo : 1343737794 download finish for photo 1343737697 begin to download photo : 1343737703 download finish for photo 1343738328 begin to download photo : 1343738334 download finish for photo 1343738140 begin to download photo : 1343738146 download finish for photo 1343738239 begin to download photo : 1343738244 download finish for photo 1343737794 begin to download photo : 1343737797 download finish for photo 1343737703 begin to download photo : 1343737707 download finish for photo 1343738334 begin to download photo : 1343738339 download finish for photo 1343738146 begin to download photo : 1343738152 download finish for photo 1343737797 begin to download photo : 1343737800 download finish for photo 1343738244 begin to download photo : 1343738249 download finish for photo 1343738152 begin to download photo : 1343738156 download finish for photo 1343738339 begin to download photo : 1343738346 download finish for photo 1343737707 begin to download photo : 1343737713 download finish for photo 1343738156 begin to download photo : 1343738187 download finish for photo 1343738346 begin to download photo : 1343738389 download finish for photo 1343738249 begin to download photo : 1343738278 download finish for photo 1343737800 begin to download photo : 1343737803 download finish for photo 1343737713 begin to download photo : 1343737746 download finish for photo 1343738389 download finish for photo 1343738278 begin to download photo : 1343738285 download finish for photo 1343738187 begin to download photo : 1343738193 download finish for photo 1343737803 begin to download photo : 1343738101 download finish for photo 1343737746 begin to download photo : 1343737748 download finish for photo 1343738285 begin to download photo : 1343738291 download finish for photo 1343738101 begin to download photo : 1343738106 download finish for photo 1343738193 begin to download photo : 1343738200 download finish for photo 1343737748 begin to download photo : 1343737751 download finish for photo 1343738291 download finish for photo 1343738106 download finish for photo 1343738200 download finish for photo 1343737751 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette214049391741927592/ imagette214049401741927592/ imagette214049411741927592/ imagette214049431741927592/ imagette214049441741927592/ imagette214049451741927592/ imagette214049481741927592/ imagette214049371741927593/ imagette214049461741927593/ imagette214049471741927593/ length of list_filenames : 33 ; length of list_pids : 33 ; length of list_args : 33 results_Auto_P21404758_14-03-2025_05_46_32.pdf 21404939 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21404939 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214049391741927592 21404940 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21404940 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214049401741927592 21404941 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21404941 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214049411741927592 21404943 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21404943 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214049431741927592 21404944 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21404944 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214049441741927592 21404945 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21404945 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214049451741927592 21404948 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21404948 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214049481741927592 21404937 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21404937 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214049371741927593 21404946 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21404946 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214049461741927593 21404947 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21404947 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214049471741927593 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21404758 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21404961,21404962,21404963,21404964,21404965,21404966,21404967,21404968,21404969,21404970,21404971,21404972?tags=Carton_brun,papier,mal_croppe,autre_refus,metal,environnement,flou,cartonnette,plastique,Teint_Dans_La_Masse,Carton_gris,kraft your option no_mail is active, we will not send the real mail to your client args[1343738389] : ('0.0',) no score found for photo 1343738389 We are sending mail with results at report@fotonower.com args[1343738346] : ('0.0',) no score found for photo 1343738346 We are sending mail with results at report@fotonower.com args[1343738339] : ('0.0',) no score found for photo 1343738339 We are sending mail with results at report@fotonower.com args[1343738334] : ('0.0',) no score found for photo 1343738334 We are sending mail with results at report@fotonower.com args[1343738328] : ('0.0',) no score found for photo 1343738328 We are sending mail with results at report@fotonower.com args[1343738291] : ('0.0',) no score found for photo 1343738291 We are sending mail with results at report@fotonower.com args[1343738285] : ('0.0',) no score found for photo 1343738285 We are sending mail with results at report@fotonower.com args[1343738278] : ('0.0',) no score found for photo 1343738278 We are sending mail with results at report@fotonower.com args[1343738249] : ('0.0',) no score found for photo 1343738249 We are sending mail with results at report@fotonower.com args[1343738244] : ('0.0',) no score found for photo 1343738244 We are sending mail with results at report@fotonower.com args[1343738239] : ('0.0',) no score found for photo 1343738239 We are sending mail with results at report@fotonower.com args[1343738233] : ('0.0',) no score found for photo 1343738233 We are sending mail with results at report@fotonower.com args[1343738200] : ('0.0',) no score found for photo 1343738200 We are sending mail with results at report@fotonower.com args[1343738193] : ('0.0',) no score found for photo 1343738193 We are sending mail with results at report@fotonower.com args[1343738187] : ('0.0',) no score found for photo 1343738187 We are sending mail with results at report@fotonower.com args[1343738156] : ('0.0',) no score found for photo 1343738156 We are sending mail with results at report@fotonower.com args[1343738152] : ('0.0',) no score found for photo 1343738152 We are sending mail with results at report@fotonower.com args[1343738146] : ('0.0',) no score found for photo 1343738146 We are sending mail with results at report@fotonower.com args[1343738140] : ('0.0',) no score found for photo 1343738140 We are sending mail with results at report@fotonower.com args[1343738106] : ('0.0',) no score found for photo 1343738106 We are sending mail with results at report@fotonower.com args[1343738101] : ('0.0',) no score found for photo 1343738101 We are sending mail with results at report@fotonower.com args[1343737803] : ('0.0',) no score found for photo 1343737803 We are sending mail with results at report@fotonower.com args[1343737800] : ('0.0',) no score found for photo 1343737800 We are sending mail with results at report@fotonower.com args[1343737797] : ('0.0',) no score found for photo 1343737797 We are sending mail with results at report@fotonower.com args[1343737794] : ('0.0',) no score found for photo 1343737794 We are sending mail with results at report@fotonower.com args[1343737755] : ('0.0',) no score found for photo 1343737755 We are sending mail with results at report@fotonower.com args[1343737751] : ('0.0',) no score found for photo 1343737751 We are sending mail with results at report@fotonower.com args[1343737748] : ('0.0',) no score found for photo 1343737748 We are sending mail with results at report@fotonower.com args[1343737746] : ('0.0',) no score found for photo 1343737746 We are sending mail with results at report@fotonower.com args[1343737713] : ('0.0',) no score found for photo 1343737713 We are sending mail with results at report@fotonower.com args[1343737707] : ('0.0',) no score found for photo 1343737707 We are sending mail with results at report@fotonower.com args[1343737703] : ('0.0',) no score found for photo 1343737703 We are sending mail with results at report@fotonower.com args[1343737697] : ('0.0',) no score found for photo 1343737697 We are sending mail with results at report@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21404758 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_P21404758_14-03-2025_05_46_32.pdf results_Auto_P21404758_14-03-2025_05_46_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404758_14-03-2025_05_46_32.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21404758','results_Auto_P21404758_14-03-2025_05_46_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404758_14-03-2025_05_46_32.pdf','pdf','','0.25','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21404758]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1343738389, 1343738346, 1343738339, 1343738334, 1343738328, 1343738291, 1343738285, 1343738278, 1343738249, 1343738244, 1343738239, 1343738233, 1343738200, 1343738193, 1343738187, 1343738156, 1343738152, 1343738146, 1343738140, 1343738106, 1343738101, 1343737803, 1343737800, 1343737797, 1343737794, 1343737755, 1343737751, 1343737748, 1343737746, 1343737713, 1343737707, 1343737703, 1343737697] map_info['map_portfolio_photo'] : {21404758: [1343738389, 1343738346, 1343738339, 1343738334, 1343738328, 1343738291, 1343738285, 1343738278, 1343738249, 1343738244, 1343738239, 1343738233, 1343738200, 1343738193, 1343738187, 1343738156, 1343738152, 1343738146, 1343738140, 1343738106, 1343738101, 1343737803, 1343737800, 1343737797, 1343737794, 1343737755, 1343737751, 1343737748, 1343737746, 1343737713, 1343737707, 1343737703, 1343737697]} final : False mtd_id 4302 list_pids : [1343738389, 1343738346, 1343738339, 1343738334, 1343738328, 1343738291, 1343738285, 1343738278, 1343738249, 1343738244, 1343738239, 1343738233, 1343738200, 1343738193, 1343738187, 1343738156, 1343738152, 1343738146, 1343738140, 1343738106, 1343738101, 1343737803, 1343737800, 1343737797, 1343737794, 1343737755, 1343737751, 1343737748, 1343737746, 1343737713, 1343737707, 1343737703, 1343737697] 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, '2667737') ('4302', '21404758', '1343738389', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738346', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738339', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738334', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738328', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738291', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738285', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738278', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738249', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738244', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738239', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738233', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738200', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738193', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738187', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738156', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738152', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738146', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738140', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738106', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738101', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737803', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737800', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737797', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737794', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737755', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737751', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737748', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737746', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737713', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737707', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737703', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737697', None, None, None, None, None, '2667737') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21404758', '1343738389', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738346', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738339', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738334', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738328', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738291', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738285', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738278', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738249', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738244', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738239', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738233', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738200', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738193', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738187', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738156', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738152', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738146', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738140', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738106', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738101', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737803', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737800', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737797', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737794', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737755', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737751', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737748', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737746', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737713', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737707', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737703', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737697', None, None, None, None, None, '2667737')] time used for this insertion : 0.022380828857421875 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.315908193588257 time spend to save output : 0.022751331329345703 total time spend for step 4 : 3.3386595249176025 step5:split_time_score Fri Mar 14 05:46:35 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 : ['21404758'] 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 : [('21404758',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21404758) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1343738328: {'path': 'temp/1741927591_2200119_1343738328_734f01f3213bd987c4258a24cfe3079f.jpg', 'extension': 'jpg'}, 1343738334: {'path': 'temp/1741927591_2200119_1343738334_97d7331040b8ac09dda954f2d071ebd5.jpg', 'extension': 'jpg'}, 1343738339: {'path': 'temp/1741927591_2200119_1343738339_76c6b4f50dbaa9c8f5bb9a4bd449ca3f.jpg', 'extension': 'jpg'}, 1343738346: {'path': 'temp/1741927591_2200119_1343738346_cd6034cc263433d644bd0eb28827125a.jpg', 'extension': 'jpg'}, 1343738389: {'path': 'temp/1741927591_2200119_1343738389_017ee73f5c1305ce4879efb6940ffbac.jpg', 'extension': 'jpg'}, 1343738233: {'path': 'temp/1741927591_2200119_1343738233_b84d79a149f495a9588e97409c49c186.jpg', 'extension': 'jpg'}, 1343738239: {'path': 'temp/1741927591_2200119_1343738239_c03dc3d1b805f4f2a316161fb190adb8.jpg', 'extension': 'jpg'}, 1343738244: {'path': 'temp/1741927591_2200119_1343738244_5b2f90be91007851515f61c24052db7c.jpg', 'extension': 'jpg'}, 1343738249: {'path': 'temp/1741927591_2200119_1343738249_c889a9daadcb9249a0edacdfdcac7828.jpg', 'extension': 'jpg'}, 1343738278: {'path': 'temp/1741927591_2200119_1343738278_3cdbeb94c5154dd45f38da21aa02f21c.jpg', 'extension': 'jpg'}, 1343738285: {'path': 'temp/1741927591_2200119_1343738285_e6f3a4a05a87775fe5f6cdd4a975bb79.jpg', 'extension': 'jpg'}, 1343738291: {'path': 'temp/1741927591_2200119_1343738291_9a31b631f99dbf392e543a01c95a90d0.jpg', 'extension': 'jpg'}, 1343737755: {'path': 'temp/1741927591_2200119_1343737755_c8b304b17529450b0d9cdd3258999cf7.jpg', 'extension': 'jpg'}, 1343737794: {'path': 'temp/1741927591_2200119_1343737794_1fbf432d8ecb96589f0dbfa660677e2b.jpg', 'extension': 'jpg'}, 1343737797: {'path': 'temp/1741927591_2200119_1343737797_4a6f10d7b9e78ee8560a6f91620230bd.jpg', 'extension': 'jpg'}, 1343737800: {'path': 'temp/1741927591_2200119_1343737800_03deeaf5ea275b5a557f5f19fe1e2b83.jpg', 'extension': 'jpg'}, 1343737803: {'path': 'temp/1741927591_2200119_1343737803_c2b6244ae997231a308d5b4271e4178f.jpg', 'extension': 'jpg'}, 1343738101: {'path': 'temp/1741927591_2200119_1343738101_8205622129fe0df71be7aaba61b5e017.jpg', 'extension': 'jpg'}, 1343738106: {'path': 'temp/1741927591_2200119_1343738106_5fb9d6ddcb3a2ba7b445aabb1d81736b.jpg', 'extension': 'jpg'}, 1343738140: {'path': 'temp/1741927591_2200119_1343738140_f79bcef5a57dcd85bec2d282217d6e13.jpg', 'extension': 'jpg'}, 1343738146: {'path': 'temp/1741927591_2200119_1343738146_ce4d952358e5abb74df3b0f65144823d.jpg', 'extension': 'jpg'}, 1343738152: {'path': 'temp/1741927591_2200119_1343738152_e42498a9d0fa0b9f1ff7395d483d8108.jpg', 'extension': 'jpg'}, 1343738156: {'path': 'temp/1741927591_2200119_1343738156_bdc753b58b7343850f9f684621685e0a.jpg', 'extension': 'jpg'}, 1343738187: {'path': 'temp/1741927591_2200119_1343738187_4a03ce75be81e74a971b8fe008946d0c.jpg', 'extension': 'jpg'}, 1343738193: {'path': 'temp/1741927591_2200119_1343738193_a25facd71ba7139d2bbe49619b74d14c.jpg', 'extension': 'jpg'}, 1343738200: {'path': 'temp/1741927591_2200119_1343738200_43a742cd7f09c250c734ec43bd90811a.jpg', 'extension': 'jpg'}, 1343737697: {'path': 'temp/1741927591_2200119_1343737697_248568ba8ab555e24e0c1823f2b3ca76.jpg', 'extension': 'jpg'}, 1343737703: {'path': 'temp/1741927591_2200119_1343737703_205ffbecfb77d30d5542325d5b67c6bd.jpg', 'extension': 'jpg'}, 1343737707: {'path': 'temp/1741927591_2200119_1343737707_c576eb249189400af6e7bf43f084463f.jpg', 'extension': 'jpg'}, 1343737713: {'path': 'temp/1741927591_2200119_1343737713_ba6f8ce0ac82f751ec7277ef2ed017ae.jpg', 'extension': 'jpg'}, 1343737746: {'path': 'temp/1741927591_2200119_1343737746_005e1b9f7945a05619008dd387e52aae.jpg', 'extension': 'jpg'}, 1343737748: {'path': 'temp/1741927591_2200119_1343737748_980633ea9c3995b31353c9dda02a5bc8.jpg', 'extension': 'jpg'}, 1343737751: {'path': 'temp/1741927591_2200119_1343737751_914c0c731c7b826354e6186392dbc113.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 = 21404758; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 21404758 group by h (('11', 33),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21404758 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 (21404758) 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 (21404758) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13032025 21404758 Nombre de photos uploadées : 33 / 23040 (0%) 13032025 21404758 Nombre de photos taguées (types de déchets): 0 / 33 (0%) 13032025 21404758 Nombre de photos taguées (volume) : 0 / 33 (0%) [{'photo_id': 1343737713, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/13/ba6f8ce0ac82f751ec7277ef2ed017ae.jpg', 'username': None, 'uploaded_at': 1741861903, 'text': 'image_13032025_11_30_13_9126.jpg'}, {'photo_id': 1343737707, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/13/c576eb249189400af6e7bf43f084463f.jpg', 'username': None, 'uploaded_at': 1741861903, 'text': 'image_13032025_11_30_23_10134.jpg'}, {'photo_id': 1343737703, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/13/205ffbecfb77d30d5542325d5b67c6bd.jpg', 'username': None, 'uploaded_at': 1741861903, 'text': 'image_13032025_11_30_33_10135.jpg'}, {'photo_id': 1343737697, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/13/248568ba8ab555e24e0c1823f2b3ca76.jpg', 'username': None, 'uploaded_at': 1741861903, 'text': 'image_13032025_11_30_43_10135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.1205673217773438e-05 elapsed_time : order_list_meta_photo_and_scores 1.1444091796875e-05 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002609729766845703 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21404758, '2025-03-13' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1664531,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023371219635009766 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= 1664531 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21372357, 'dashboard_result_id': 9433680, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372357_14-03-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372372, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21372764, 'dashboard_result_id': 9433681, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372764_14-03-2025_05_35_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372776, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21373172, 'dashboard_result_id': 9433682, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373172_14-03-2025_05_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373245, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21373693, 'dashboard_result_id': 9433683, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373693_14-03-2025_05_37_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373705, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21374101, 'dashboard_result_id': 9433684, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374101_14-03-2025_05_38_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374126, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374129, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21374849, 'dashboard_result_id': 9433685, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374849_14-03-2025_05_38_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374879, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374885, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21375494, 'dashboard_result_id': 9433686, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21375494_14-03-2025_05_39_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21375497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21375498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21375499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21375500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21375501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21375502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21375503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21375504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21375505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21375506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21375507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21375508, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21376239, 'dashboard_result_id': 9433687, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376239_14-03-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21376259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376268, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21376738, 'dashboard_result_id': 9433688, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376738_14-03-2025_05_40_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21376830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376841, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404712, 'dashboard_result_id': 9433689, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404712_14-03-2025_05_41_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405200, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404713, 'dashboard_result_id': 9433690, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404713_14-03-2025_05_41_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405213, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405224, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404714, 'dashboard_result_id': 9433691, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404714_14-03-2025_01_08_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21405225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405236, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404733, 'dashboard_result_id': 9433692, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404733_14-03-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21405165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405176, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404734, 'dashboard_result_id': 9433693, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404734_14-03-2025_05_43_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405135, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404753, 'dashboard_result_id': 9433694, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404753_14-03-2025_05_43_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405105, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405111, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404754, 'dashboard_result_id': 9433695, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404754_14-03-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21405028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405039, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404755, 'dashboard_result_id': 9433696, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404755_14-03-2025_05_44_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405077, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404756, 'dashboard_result_id': 9433697, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404756_14-03-2025_05_45_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405003, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405006, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404757, 'dashboard_result_id': 9433698, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404757_14-03-2025_01_04_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21404949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404960, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404758, 'dashboard_result_id': 9433699, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404758_14-03-2025_01_04_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404948, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404759, 'dashboard_result_id': 9433700, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404759_14-03-2025_01_03_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404844, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404847, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404760, 'dashboard_result_id': 9433701, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404760_14-03-2025_01_04_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404888, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404761, 'dashboard_result_id': 9433702, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404761_14-03-2025_01_03_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404823, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404762, 'dashboard_result_id': 9433703, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404762_14-03-2025_01_02_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404785, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404787, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21404763, 'dashboard_result_id': 9433704, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404763_14-03-2025_01_02_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404774, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404775, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21377710, 'dashboard_result_id': 9433705, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21377710_13-03-2025_15_27_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21377716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21377717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21377718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21377719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21377720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21377721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21377722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21377723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21377724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21377725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21377726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21377727, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21383050, 'dashboard_result_id': 9433706, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383050_13-03-2025_17_40_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21383078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21383079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21383080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21383081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21383082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21383083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21383084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21383085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21383086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21383087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21383088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21383089, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21384820, 'dashboard_result_id': 9433707, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21384820_13-03-2025_18_20_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21384897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21384898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21384899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21384900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21384901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21384902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21384903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21384904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21384905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21384906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21384907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21384908, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21385552, 'dashboard_result_id': 9433708, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385552_13-03-2025_18_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21385565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21385566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21385567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21385568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21385569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21385570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21385571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21385572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21385573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21385574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21385575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21385576, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21386481, 'dashboard_result_id': 9433709, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21386481_13-03-2025_18_49_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21386482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21386483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21386484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21386485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21386486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21386487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21386488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21386489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21386490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21386491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21386492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21386493, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21388894, 'dashboard_result_id': 9433710, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388894_13-03-2025_19_27_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21388895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21388896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388899, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21388902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21388904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21388905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388906, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21388973, 'dashboard_result_id': 9433711, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388973_13-03-2025_19_35_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389004, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21389291, 'dashboard_result_id': 9433712, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21389291_13-03-2025_19_48_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21389353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21389354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21389356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21389357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21389359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21389360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21389361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389364, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21390308, 'dashboard_result_id': 9433713, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390308_13-03-2025_20_03_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21390351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21390352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21390353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21390354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21390355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21390356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21390357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21390358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21390359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21390360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21390361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21390362, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21391251, 'dashboard_result_id': 9433714, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21391251_13-03-2025_20_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21391270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21391271, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21391272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21391273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21391274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21391275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21391276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21391277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21391278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21391279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21391280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21391281, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21392334, 'dashboard_result_id': 9433715, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392334_13-03-2025_20_38_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21392502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21392503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21392505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21392506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21392507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21392508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21392509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21392510, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21392511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21392512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21392513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21392514, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21393678, 'dashboard_result_id': 9433716, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21393678_13-03-2025_21_05_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21393697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21393698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21393699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21393700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21393701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21393702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21393703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21393704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21393705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21393706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21393707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21393708, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21394780, 'dashboard_result_id': 9433717, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21394780_13-03-2025_21_17_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21394831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21394832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21394833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21394834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21394835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21394836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21394837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21394838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21394839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21394840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21394841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21394842, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21395431, 'dashboard_result_id': 9433718, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21395431_13-03-2025_21_34_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21395437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21395438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21395439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21395440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21395441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21395442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21395443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21395444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21395445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21395446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21395447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21395448, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21396174, 'dashboard_result_id': 9433719, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21396174_13-03-2025_21_48_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21396181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21396182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21396184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21396185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21396187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21396188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21396189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21396190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21396192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21396193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21396194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21396195, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21397287, 'dashboard_result_id': 9433720, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397287_13-03-2025_22_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21397291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21397292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21397293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21397294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21397295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21397296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21397297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21397298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21397299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21397300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21397301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21397302, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21398040, 'dashboard_result_id': 9433721, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21398040_13-03-2025_22_51_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21398121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21398122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21398123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21398124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21398125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21398126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21398127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21398128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21398129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21398130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21398131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21398133, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21400996, 'dashboard_result_id': 9433722, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400996_13-03-2025_23_04_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21400997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21400998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21400999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401008, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21401669, 'dashboard_result_id': 9433723, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21401669_13-03-2025_23_17_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21401696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21401699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21401700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401705, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1675248, 'mtr_portfolio_id': 21402278, 'dashboard_result_id': 9433724, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21402278_13-03-2025_23_35_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21402279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21402280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21402281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21402282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21402283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21402284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21402285, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21402286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21402287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21402288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21402289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21402290, '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 = 21372357 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667718, 'mtr_portfolio_id': 21372357, 'created_at': datetime.datetime(2025, 3, 14, 5, 34, 30), 'result': '0.11229118769661359', 'result_long': None, 'result_double': None}] Qualite : 0.11229118769661359 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21372357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372357_14-03-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21372357 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372357_14-03-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372372, 'pht': 3726}}" where mtr_portfolio_id = 21372357 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21372357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433680, 0.11229118769661359, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372357_14-03-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372372, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21372764 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667719, 'mtr_portfolio_id': 21372764, 'created_at': datetime.datetime(2025, 3, 14, 5, 35, 32), 'result': '0.08953972044377281', 'result_long': None, 'result_double': None}] Qualite : 0.08953972044377281 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21372764 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372764_14-03-2025_05_35_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21372764 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372764_14-03-2025_05_35_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372776, 'pht': 3726}}" where mtr_portfolio_id = 21372764 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21372764 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433681, 0.08953972044377281, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372764_14-03-2025_05_35_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372776, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21373172 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667720, 'mtr_portfolio_id': 21373172, 'created_at': datetime.datetime(2025, 3, 14, 5, 36, 29), 'result': '0.08074579242858267', 'result_long': None, 'result_double': None}] Qualite : 0.08074579242858267 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21373172 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373172_14-03-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21373172 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373172_14-03-2025_05_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373245, 'pht': 3726}}" where mtr_portfolio_id = 21373172 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21373172 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433682, 0.08074579242858267, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373172_14-03-2025_05_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373245, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21373693 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667721, 'mtr_portfolio_id': 21373693, 'created_at': datetime.datetime(2025, 3, 14, 5, 37, 1), 'result': '0.07510759779976604', 'result_long': None, 'result_double': None}] Qualite : 0.07510759779976604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21373693 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373693_14-03-2025_05_37_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21373693 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373693_14-03-2025_05_37_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373705, 'pht': 3726}}" where mtr_portfolio_id = 21373693 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21373693 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433683, 0.07510759779976604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373693_14-03-2025_05_37_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373705, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21374101 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667722, 'mtr_portfolio_id': 21374101, 'created_at': datetime.datetime(2025, 3, 14, 5, 38, 1), 'result': '0.09486426083580202', 'result_long': None, 'result_double': None}] Qualite : 0.09486426083580202 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21374101 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374101_14-03-2025_05_38_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21374101 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374101_14-03-2025_05_38_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374126, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374129, 'pht': 3726}}" where mtr_portfolio_id = 21374101 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21374101 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433684, 0.09486426083580202, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374101_14-03-2025_05_38_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374126, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374129, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21374849 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667723, 'mtr_portfolio_id': 21374849, 'created_at': datetime.datetime(2025, 3, 14, 5, 38, 31), 'result': '0.09499661257730552', 'result_long': None, 'result_double': None}] Qualite : 0.09499661257730552 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21374849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374849_14-03-2025_05_38_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21374849 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374849_14-03-2025_05_38_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374879, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374885, 'pht': 3726}}" where mtr_portfolio_id = 21374849 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21374849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433685, 0.09499661257730552, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374849_14-03-2025_05_38_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374879, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374885, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21375494 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667724, 'mtr_portfolio_id': 21375494, 'created_at': datetime.datetime(2025, 3, 14, 5, 39, 1), 'result': '0.093033995222796', 'result_long': None, 'result_double': None}] Qualite : 0.093033995222796 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21375494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21375494_14-03-2025_05_39_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21375494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21375494_14-03-2025_05_39_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21375497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21375498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21375499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21375500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21375501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21375502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21375503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21375504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21375505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21375506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21375507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21375508, 'pht': 3726}}" where mtr_portfolio_id = 21375494 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21375494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433686, 0.093033995222796, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21375494_14-03-2025_05_39_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21375497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21375498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21375499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21375500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21375501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21375502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21375503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21375504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21375505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21375506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21375507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21375508, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21376239 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667725, 'mtr_portfolio_id': 21376239, 'created_at': datetime.datetime(2025, 3, 14, 5, 39, 28), 'result': '0.09699580029443165', 'result_long': None, 'result_double': None}] Qualite : 0.09699580029443165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21376239 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376239_14-03-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21376239 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376239_14-03-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21376259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376268, 'pht': 3726}}" where mtr_portfolio_id = 21376239 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21376239 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433687, 0.09699580029443165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376239_14-03-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21376259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376268, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21376738 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667726, 'mtr_portfolio_id': 21376738, 'created_at': datetime.datetime(2025, 3, 14, 5, 40, 28), 'result': '0.08754507332249967', 'result_long': None, 'result_double': None}] Qualite : 0.08754507332249967 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21376738 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376738_14-03-2025_05_40_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21376738 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376738_14-03-2025_05_40_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21376830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376841, 'pht': 3726}}" where mtr_portfolio_id = 21376738 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21376738 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433688, 0.08754507332249967, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376738_14-03-2025_05_40_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21376830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376841, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404712 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667727, 'mtr_portfolio_id': 21404712, 'created_at': datetime.datetime(2025, 3, 14, 5, 41), 'result': '0.14960710004861208', 'result_long': None, 'result_double': None}] Qualite : 0.14960710004861208 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404712_14-03-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404712_14-03-2025_05_41_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405200, 'pht': 3726}}" where mtr_portfolio_id = 21404712 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433689, 0.14960710004861208, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404712_14-03-2025_05_41_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405200, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404713 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404713 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404713 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404713 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404713 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404713 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404713_14-03-2025_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404713 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404713_14-03-2025_05_41_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405213, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405224, 'pht': 3726}}" where mtr_portfolio_id = 21404713 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404714 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404714 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404714 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404714_14-03-2025_01_08_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404714 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404714_14-03-2025_01_08_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21405225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405236, 'pht': 3726}}" where mtr_portfolio_id = 21404714 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404733 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404733 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404733 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404733 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404733 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404733 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404733_14-03-2025_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404733 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404733_14-03-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21405165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405176, 'pht': 3726}}" where mtr_portfolio_id = 21404733 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404734 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404734 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404734 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404734 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404734 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404734 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404734_14-03-2025_05_43_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404734 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404734_14-03-2025_05_43_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405135, 'pht': 3726}}" where mtr_portfolio_id = 21404734 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404753 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404753 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404753 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404753 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404753 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404753_14-03-2025_05_43_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404753 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404753_14-03-2025_05_43_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405105, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405111, 'pht': 3726}}" where mtr_portfolio_id = 21404753 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404754 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404754 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404754 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404754 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404754 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404754 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404754_14-03-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404754 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404754_14-03-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21405028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405039, 'pht': 3726}}" where mtr_portfolio_id = 21404754 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404755 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404755 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404755 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404755 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404755 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404755 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404755_14-03-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404755 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404755_14-03-2025_05_44_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21405065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21405066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21405067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21405068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21405077, 'pht': 3726}}" where mtr_portfolio_id = 21404755 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404756 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404756 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404756 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404756 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404756 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404756 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404756_14-03-2025_05_45_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404756 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404756_14-03-2025_05_45_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21405000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21405001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21405002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21405003, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21405004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21405005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21405006, 'pht': 3726}}" where mtr_portfolio_id = 21404756 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404757 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404757 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404757 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404757 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404757 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404757_14-03-2025_01_04_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404757 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404757_14-03-2025_01_04_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21404949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404960, 'pht': 3726}}" where mtr_portfolio_id = 21404757 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404758 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404758 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404758 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404758 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404758 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404758 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404758_14-03-2025_05_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404758 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404758_14-03-2025_05_46_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404948, 'pht': 3726}}" where mtr_portfolio_id = 21404758 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404759 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404759 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404759 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404759 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404759 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404759 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404759_14-03-2025_01_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404759 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404759_14-03-2025_01_03_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404844, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404847, 'pht': 3726}}" where mtr_portfolio_id = 21404759 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404760 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404760 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404760 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404760 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404760 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404760_14-03-2025_01_04_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404760 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404760_14-03-2025_01_04_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404888, 'pht': 3726}}" where mtr_portfolio_id = 21404760 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404761 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404761 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404761 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404761 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404761 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404761_14-03-2025_01_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404761_14-03-2025_01_03_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404823, 'pht': 3726}}" where mtr_portfolio_id = 21404761 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404762 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404762 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404762 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404762 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404762 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404762 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404762_14-03-2025_01_02_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404762 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404762_14-03-2025_01_02_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404785, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404787, 'pht': 3726}}" where mtr_portfolio_id = 21404762 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404763 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404763 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404763 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404763 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404763 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404763 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404763_14-03-2025_01_02_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404763 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404763_14-03-2025_01_02_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21404764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21404765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21404766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21404767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21404768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21404769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21404770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21404771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21404772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21404773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21404774, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21404775, 'pht': 3726}}" where mtr_portfolio_id = 21404763 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21377710 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21377710 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21377710 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21377710 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21377710 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21377710 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21377710_13-03-2025_15_27_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21377710 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21377710_13-03-2025_15_27_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21377716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21377717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21377718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21377719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21377720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21377721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21377722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21377723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21377724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21377725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21377726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21377727, 'pht': 3726}}" where mtr_portfolio_id = 21377710 and dashboard_run_id = 1675248 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21383050 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666005, 'mtr_portfolio_id': 21383050, 'created_at': datetime.datetime(2025, 3, 13, 17, 40, 31), 'result': '0.11272339751041038', 'result_long': None, 'result_double': None}] Qualite : 0.11272339751041038 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21383050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383050_13-03-2025_17_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383050 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383050_13-03-2025_17_40_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21383078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21383079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21383080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21383081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21383082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21383083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21383084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21383085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21383086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21383087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21383088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21383089, 'pht': 3726}}" where mtr_portfolio_id = 21383050 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21383050 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433706, 0.11272339751041038, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383050_13-03-2025_17_40_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21383078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21383079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21383080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21383081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21383082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21383083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21383084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21383085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21383086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21383087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21383088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21383089, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21384820 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666147, 'mtr_portfolio_id': 21384820, 'created_at': datetime.datetime(2025, 3, 13, 18, 20, 29), 'result': '0.07530706275071289', 'result_long': None, 'result_double': None}] Qualite : 0.07530706275071289 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21384820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21384820_13-03-2025_18_20_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21384820 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21384820_13-03-2025_18_20_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21384897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21384898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21384899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21384900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21384901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21384902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21384903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21384904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21384905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21384906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21384907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21384908, 'pht': 3726}}" where mtr_portfolio_id = 21384820 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21384820 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433707, 0.07530706275071289, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21384820_13-03-2025_18_20_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21384897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21384898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21384899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21384900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21384901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21384902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21384903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21384904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21384905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21384906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21384907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21384908, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21385552 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666170, 'mtr_portfolio_id': 21385552, 'created_at': datetime.datetime(2025, 3, 13, 18, 33), 'result': '0.07305697944282322', 'result_long': None, 'result_double': None}] Qualite : 0.07305697944282322 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21385552 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385552_13-03-2025_18_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385552 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385552_13-03-2025_18_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21385565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21385566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21385567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21385568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21385569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21385570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21385571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21385572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21385573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21385574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21385575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21385576, 'pht': 3726}}" where mtr_portfolio_id = 21385552 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21385552 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433708, 0.07305697944282322, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385552_13-03-2025_18_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21385565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21385566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21385567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21385568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21385569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21385570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21385571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21385572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21385573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21385574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21385575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21385576, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21386481 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666228, 'mtr_portfolio_id': 21386481, 'created_at': datetime.datetime(2025, 3, 13, 18, 49, 2), 'result': '0.06621641674394611', 'result_long': None, 'result_double': None}] Qualite : 0.06621641674394611 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21386481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21386481_13-03-2025_18_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21386481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21386481_13-03-2025_18_49_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21386482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21386483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21386484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21386485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21386486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21386487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21386488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21386489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21386490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21386491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21386492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21386493, 'pht': 3726}}" where mtr_portfolio_id = 21386481 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21386481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433709, 0.06621641674394611, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21386481_13-03-2025_18_49_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21386482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21386483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21386484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21386485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21386486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21386487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21386488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21386489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21386490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21386491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21386492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21386493, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21388894 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666345, 'mtr_portfolio_id': 21388894, 'created_at': datetime.datetime(2025, 3, 13, 19, 27, 1), 'result': '0.13065490081635678', 'result_long': None, 'result_double': None}] Qualite : 0.13065490081635678 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21388894 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388894_13-03-2025_19_27_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21388894 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388894_13-03-2025_19_27_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21388895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21388896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388899, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21388902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21388904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21388905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388906, 'pht': 3726}}" where mtr_portfolio_id = 21388894 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21388894 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433710, 0.13065490081635678, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388894_13-03-2025_19_27_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21388895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21388896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388899, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21388902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21388904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21388905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388906, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21388973 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666350, 'mtr_portfolio_id': 21388973, 'created_at': datetime.datetime(2025, 3, 13, 19, 35, 1), 'result': '0.06562034709139793', 'result_long': None, 'result_double': None}] Qualite : 0.06562034709139793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21388973 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388973_13-03-2025_19_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21388973 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388973_13-03-2025_19_35_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389004, 'pht': 3726}}" where mtr_portfolio_id = 21388973 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21388973 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433711, 0.06562034709139793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388973_13-03-2025_19_35_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389004, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21389291 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666390, 'mtr_portfolio_id': 21389291, 'created_at': datetime.datetime(2025, 3, 13, 19, 48, 31), 'result': '0.08831646096892938', 'result_long': None, 'result_double': None}] Qualite : 0.08831646096892938 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21389291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21389291_13-03-2025_19_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21389291 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21389291_13-03-2025_19_48_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21389353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21389354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21389356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21389357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21389359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21389360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21389361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389364, 'pht': 3726}}" where mtr_portfolio_id = 21389291 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21389291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433712, 0.08831646096892938, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21389291_13-03-2025_19_48_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21389353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21389354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21389356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21389357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21389359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21389360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21389361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389364, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21390308 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666470, 'mtr_portfolio_id': 21390308, 'created_at': datetime.datetime(2025, 3, 13, 20, 3, 57), 'result': '0.08588763514383527', 'result_long': None, 'result_double': None}] Qualite : 0.08588763514383527 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21390308 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390308_13-03-2025_20_03_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390308 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390308_13-03-2025_20_03_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21390351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21390352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21390353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21390354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21390355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21390356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21390357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21390358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21390359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21390360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21390361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21390362, 'pht': 3726}}" where mtr_portfolio_id = 21390308 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21390308 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433713, 0.08588763514383527, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390308_13-03-2025_20_03_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21390351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21390352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21390353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21390354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21390355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21390356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21390357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21390358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21390359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21390360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21390361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21390362, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21391251 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666523, 'mtr_portfolio_id': 21391251, 'created_at': datetime.datetime(2025, 3, 13, 20, 19), 'result': '0.07361632084326168', 'result_long': None, 'result_double': None}] Qualite : 0.07361632084326168 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21391251 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21391251_13-03-2025_20_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21391251 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21391251_13-03-2025_20_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21391270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21391271, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21391272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21391273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21391274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21391275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21391276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21391277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21391278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21391279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21391280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21391281, 'pht': 3726}}" where mtr_portfolio_id = 21391251 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21391251 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433714, 0.07361632084326168, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21391251_13-03-2025_20_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21391270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21391271, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21391272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21391273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21391274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21391275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21391276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21391277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21391278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21391279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21391280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21391281, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21392334 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666569, 'mtr_portfolio_id': 21392334, 'created_at': datetime.datetime(2025, 3, 13, 20, 38, 1), 'result': '0.08351774005555894', 'result_long': None, 'result_double': None}] Qualite : 0.08351774005555894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21392334 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392334_13-03-2025_20_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21392334 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392334_13-03-2025_20_38_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21392502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21392503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21392505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21392506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21392507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21392508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21392509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21392510, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21392511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21392512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21392513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21392514, 'pht': 3726}}" where mtr_portfolio_id = 21392334 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21392334 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433715, 0.08351774005555894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392334_13-03-2025_20_38_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21392502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21392503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21392505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21392506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21392507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21392508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21392509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21392510, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21392511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21392512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21392513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21392514, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21393678 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666651, 'mtr_portfolio_id': 21393678, 'created_at': datetime.datetime(2025, 3, 13, 21, 5, 59), 'result': '0.06108328275433152', 'result_long': None, 'result_double': None}] Qualite : 0.06108328275433152 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21393678 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21393678_13-03-2025_21_05_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21393678 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21393678_13-03-2025_21_05_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21393697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21393698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21393699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21393700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21393701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21393702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21393703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21393704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21393705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21393706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21393707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21393708, 'pht': 3726}}" where mtr_portfolio_id = 21393678 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21393678 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433716, 0.06108328275433152, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21393678_13-03-2025_21_05_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21393697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21393698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21393699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21393700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21393701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21393702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21393703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21393704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21393705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21393706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21393707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21393708, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21394780 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666734, 'mtr_portfolio_id': 21394780, 'created_at': datetime.datetime(2025, 3, 13, 21, 17, 31), 'result': '0.0655586001911245', 'result_long': None, 'result_double': None}] Qualite : 0.0655586001911245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21394780 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21394780_13-03-2025_21_17_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21394780 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21394780_13-03-2025_21_17_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21394831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21394832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21394833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21394834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21394835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21394836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21394837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21394838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21394839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21394840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21394841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21394842, 'pht': 3726}}" where mtr_portfolio_id = 21394780 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21394780 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433717, 0.0655586001911245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21394780_13-03-2025_21_17_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21394831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21394832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21394833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21394834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21394835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21394836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21394837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21394838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21394839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21394840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21394841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21394842, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21395431 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666751, 'mtr_portfolio_id': 21395431, 'created_at': datetime.datetime(2025, 3, 13, 21, 34, 30), 'result': '0.07310246597403268', 'result_long': None, 'result_double': None}] Qualite : 0.07310246597403268 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21395431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21395431_13-03-2025_21_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21395431 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21395431_13-03-2025_21_34_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21395437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21395438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21395439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21395440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21395441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21395442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21395443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21395444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21395445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21395446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21395447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21395448, 'pht': 3726}}" where mtr_portfolio_id = 21395431 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21395431 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433718, 0.07310246597403268, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21395431_13-03-2025_21_34_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21395437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21395438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21395439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21395440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21395441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21395442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21395443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21395444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21395445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21395446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21395447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21395448, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21396174 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666797, 'mtr_portfolio_id': 21396174, 'created_at': datetime.datetime(2025, 3, 13, 21, 48, 1), 'result': '0.07672616095167956', 'result_long': None, 'result_double': None}] Qualite : 0.07672616095167956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21396174 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21396174_13-03-2025_21_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21396174 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21396174_13-03-2025_21_48_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21396181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21396182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21396184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21396185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21396187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21396188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21396189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21396190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21396192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21396193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21396194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21396195, 'pht': 3726}}" where mtr_portfolio_id = 21396174 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21396174 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433719, 0.07672616095167956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21396174_13-03-2025_21_48_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21396181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21396182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21396184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21396185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21396187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21396188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21396189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21396190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21396192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21396193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21396194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21396195, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21397287 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666874, 'mtr_portfolio_id': 21397287, 'created_at': datetime.datetime(2025, 3, 13, 22, 4, 59), 'result': '0.0798408357707004', 'result_long': None, 'result_double': None}] Qualite : 0.0798408357707004 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21397287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397287_13-03-2025_22_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397287_13-03-2025_22_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21397291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21397292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21397293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21397294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21397295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21397296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21397297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21397298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21397299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21397300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21397301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21397302, 'pht': 3726}}" where mtr_portfolio_id = 21397287 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21397287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433720, 0.0798408357707004, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397287_13-03-2025_22_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21397291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21397292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21397293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21397294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21397295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21397296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21397297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21397298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21397299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21397300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21397301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21397302, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21398040 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666982, 'mtr_portfolio_id': 21398040, 'created_at': datetime.datetime(2025, 3, 13, 22, 51), 'result': '0.09105159642696223', 'result_long': None, 'result_double': None}] Qualite : 0.09105159642696223 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21398040 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21398040_13-03-2025_22_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21398040 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21398040_13-03-2025_22_51_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21398121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21398122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21398123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21398124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21398125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21398126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21398127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21398128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21398129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21398130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21398131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21398133, 'pht': 3726}}" where mtr_portfolio_id = 21398040 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21398040 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433721, 0.09105159642696223, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21398040_13-03-2025_22_51_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21398121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21398122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21398123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21398124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21398125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21398126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21398127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21398128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21398129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21398130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21398131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21398133, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21400996 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667141, 'mtr_portfolio_id': 21400996, 'created_at': datetime.datetime(2025, 3, 13, 23, 4, 30), 'result': '0.17467052348354237', 'result_long': None, 'result_double': None}] Qualite : 0.17467052348354237 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21400996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400996_13-03-2025_23_04_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400996 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400996_13-03-2025_23_04_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21400997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21400998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21400999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401008, 'pht': 3726}}" where mtr_portfolio_id = 21400996 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21400996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433722, 0.17467052348354237, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400996_13-03-2025_23_04_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21400997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21400998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21400999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401008, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21401669 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667163, 'mtr_portfolio_id': 21401669, 'created_at': datetime.datetime(2025, 3, 13, 23, 17, 33), 'result': '0.10495362949316643', 'result_long': None, 'result_double': None}] Qualite : 0.10495362949316643 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21401669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21401669_13-03-2025_23_17_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21401669 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21401669_13-03-2025_23_17_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21401696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21401699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21401700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401705, 'pht': 3726}}" where mtr_portfolio_id = 21401669 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21401669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433723, 0.10495362949316643, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21401669_13-03-2025_23_17_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21401696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21401699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21401700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401705, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21402278 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667190, 'mtr_portfolio_id': 21402278, 'created_at': datetime.datetime(2025, 3, 13, 23, 35, 58), 'result': '0.12521998225209086', 'result_long': None, 'result_double': None}] Qualite : 0.12521998225209086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21402278 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21402278_13-03-2025_23_35_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21402278 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21402278_13-03-2025_23_35_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21402279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21402280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21402281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21402282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21402283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21402284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21402285, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21402286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21402287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21402288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21402289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21402290, 'pht': 3726}}" where mtr_portfolio_id = 21402278 and dashboard_run_id = 1675248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21402278 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9433724, 0.12521998225209086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21402278_13-03-2025_23_35_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21402279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21402280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21402281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21402282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21402283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21402284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21402285, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21402286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21402287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21402288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21402289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21402290, '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 (21372357,21372764,21373172,21373693,21374101,21374849,21375494,21376239,21376738,21404712,21404713,21404714,21404733,21404734,21404753,21404754,21404755,21404756,21404757,21404758,21404759,21404760,21404761,21404762,21404763,21377710,21383050,21384820,21385552,21386481,21388894,21388973,21389291,21390308,21391251,21392334,21393678,21394780,21395431,21396174,21397287,21398040,21400996,21401669,21402278) result : ((1343708816,), (1343708820,), (1343708824,), (1343708850,), (1343708853,), (1343708886,), (1343708889,), (1343708891,), (1343708894,), (1343708907,), (1343708921,), (1343708925,), (1343708931,), (1343708934,), (1343708935,), (1343708950,), (1343708956,), (1343708963,), (1343708968,), (1343708971,), (1343708972,), (1343708990,), (1343709000,), (1343709022,), (1343709031,), (1343709036,), (1343709037,), (1343709057,), (1343709062,), (1343709068,), (1343709073,), (1343709075,), (1343709077,), (1343709097,), (1343709103,), (1343709131,), (1343709137,), (1343709142,), (1343709147,), (1343709164,), (1343712361,), (1343712425,), (1343712430,), (1343712436,), (1343712457,), (1343712464,), (1343712466,), (1343712471,), (1343712475,), (1343712479,), (1343712495,), (1343712498,), (1343712501,), (1343712504,), (1343712529,), (1343712534,), (1343712537,), (1343712541,), (1343712544,), (1343712546,), (1343712570,), (1343712573,), (1343712576,), (1343712607,), (1343712611,), (1343712613,), (1343712645,), (1343712650,), (1343712654,), (1343712657,), (1343712685,), (1343712690,), (1343712695,), (1343712700,), (1343712704,), (1343712728,), (1343712732,), (1343712736,), (1343712739,), (1343712740,), (1343712741,), (1343712771,), (1343712774,), (1343712778,), (1343712780,), (1343712782,), (1343712785,), (1343712816,), (1343712820,), (1343712825,), (1343712829,), (1343712831,), (1343712832,), (1343712854,), (1343712859,), (1343712863,), (1343712868,), (1343712869,), (1343712870,), (1343712892,), (1343712897,), (1343712902,), (1343712906,), (1343712907,), (1343712908,), (1343712930,), (1343712936,), (1343712941,), (1343712946,), (1343712947,), (1343712948,), (1343712972,), (1343712976,), (1343712980,), (1343712985,), (1343712989,), (1343713031,), (1343713007,), (1343713013,), (1343713017,), (1343713025,), (1343713029,), (1343713058,), (1343713062,), (1343713069,), (1343713071,), (1343713074,), (1343713077,), (1343713094,), (1343713100,), (1343713105,), (1343713112,), (1343713116,), (1343713117,), (1343713141,), (1343713146,), (1343713152,), (1343713155,), (1343713157,), (1343713161,), (1343713183,), (1343713190,), (1343713194,), (1343713196,), (1343713200,), (1343713205,), (1343713227,), (1343713231,), (1343713235,), (1343713238,), (1343713239,), (1343713241,), (1343713262,), (1343713264,), (1343713268,), (1343713272,), (1343713278,), (1343713284,), (1343713304,), (1343713309,), (1343713313,), (1343713318,), (1343713320,), (1343713344,), (1343713377,), (1343713381,), (1343713384,), (1343713386,), (1343713389,), (1343713420,), (1343713422,), (1343713425,), (1343713427,), (1343713432,), (1343713436,), (1343713513,), (1343713540,), (1343713556,), (1343713569,), (1343713590,), (1343713605,), (1343713688,), (1343713691,), (1343713694,), (1343713696,), (1343713697,), (1343713698,), (1343714266,), (1343714303,), (1343714335,), (1343714398,), (1343714433,), (1343714482,), (1343714954,), (1343714858,), (1343714896,), (1343714916,), (1343714931,), (1343715142,), (1343715174,), (1343715195,), (1343715207,), (1343715248,), (1343715273,), (1343715434,), (1343715444,), (1343715467,), (1343715483,), (1343715488,), (1343715506,), (1343715591,), (1343715595,), (1343715599,), (1343715602,), (1343715605,), (1343715606,), (1343715655,), (1343715658,), (1343715662,), (1343715663,), (1343715665,), (1343715667,), (1343715710,), (1343715713,), (1343715715,), (1343715717,), (1343715718,), (1343715719,), (1343715780,), (1343715785,), (1343715789,), (1343715793,), (1343715818,), (1343715844,), (1343715950,), (1343715955,), (1343715959,), (1343715961,), (1343715964,), (1343715968,), (1343716032,), (1343716041,), (1343716048,), (1343716064,), (1343716073,), (1343716080,), (1343716093,), (1343716095,), (1343716097,), (1343716102,), (1343716110,), (1343716121,), (1343716163,), (1343716170,), (1343716172,), (1343716179,), (1343716186,), (1343716192,), (1343716199,), (1343716240,), (1343716246,), (1343716253,), (1343716255,), (1343716261,), (1343716266,), (1343716293,), (1343716299,), (1343716331,), (1343716333,), (1343716337,), (1343716341,), (1343716352,), (1343716354,), (1343716363,), (1343716370,), (1343716376,), (1343716382,), (1343716430,), (1343716434,), (1343716447,), (1343716450,), (1343716463,), (1343716469,), (1343716145,), (1343716153,), (1343716156,), (1343716158,), (1343716160,), (1343716211,), (1343716213,), (1343716216,), (1343716219,), (1343716221,), (1343716223,), (1343716273,), (1343716282,), (1343716285,), (1343716288,), (1343716324,), (1343716330,), (1343716391,), (1343716411,), (1343716420,), (1343716426,), (1343716491,), (1343716493,), (1343716501,), (1343716505,), (1343716507,), (1343716509,), (1343716512,), (1343716513,), (1343716518,), (1343716519,), (1343716522,), (1343716524,), (1343716539,), (1343716545,), (1343716558,), (1343716579,), (1343716598,), (1343716613,), (1343716741,), (1343716746,), (1343716751,), (1343716771,), (1343716814,), (1343716849,), (1343716965,), (1343716972,), (1343716978,), (1343716984,), (1343716986,), (1343716991,), (1343717041,), (1343717049,), (1343717057,), (1343717063,), (1343717066,), (1343717225,), (1343717255,), (1343717272,), (1343717277,), (1343717280,), (1343717283,), (1343717319,), (1343717324,), (1343717329,), (1343717334,), (1343717336,), (1343717339,), (1343717394,), (1343717398,), (1343717401,), (1343717405,), (1343717408,), (1343717414,), (1343717469,), (1343717494,), (1343717516,), (1343717534,), (1343717553,), (1343717571,), (1343717774,), (1343717789,), (1343717801,), (1343717805,), (1343717809,), (1343717820,), (1343717890,), (1343717863,), (1343717870,), (1343717876,), (1343717880,), (1343717884,), (1343717956,), (1343717963,), (1343717970,), (1343717977,), (1343717978,), (1343717987,), (1343718018,), (1343718041,), (1343718050,), (1343718054,), (1343718056,), (1343718060,), (1343718201,), (1343718228,), (1343718247,), (1343718253,), (1343718271,), (1343718458,), (1343718510,), (1343718555,), (1343718585,), (1343718611,), (1343718635,), (1343718743,), (1343718750,), (1343718757,), (1343718800,), (1343718819,), (1343718826,), (1343719005,), (1343719210,), (1343719220,), (1343719226,), (1343719272,), (1343719294,), (1343719321,), (1343719345,), (1343719369,), (1343719404,), (1343719429,), (1343719555,), (1343719564,), (1343719569,), (1343719574,), (1343719619,), (1343719672,), (1343719757,), (1343719763,), (1343719767,), (1343719771,), (1343719829,), (1343719835,), (1343719840,), (1343719843,), (1343719844,), (1343719847,), (1343720088,), (1343719924,), (1343720006,), (1343720043,), (1343720066,), (1343720074,), (1343720168,), (1343720174,), (1343720180,), (1343720183,), (1343720185,), (1343720186,), (1343720216,), (1343720222,), (1343720226,), (1343720229,), (1343720230,), (1343720233,), (1343720364,), (1343720421,), (1343720438,), (1343720444,), (1343720453,), (1343720464,), (1343720502,), (1343720508,), (1343720513,), (1343720520,), (1343720522,), (1343720555,), (1343720562,), (1343720567,), (1343720571,), (1343720605,), (1343720611,), (1343720616,), (1343720625,), (1343720626,), (1343720628,), (1343720665,), (1343720670,), (1343720673,), (1343720679,), (1343720682,), (1343720687,), (1343720713,), (1343720718,), (1343720723,), (1343720761,), (1343720768,), (1343720774,), (1343720804,), (1343720808,), (1343720813,), (1343720818,), (1343720858,), (1343720863,), (1343720871,), (1343720873,), (1343720903,), (1343720912,), (1343720916,), (1343720920,), (1343721264,), (1343721289,), (1343721315,), (1343721423,), (1343721798,), (1343722466,), (1343722497,), (1343722526,), (1343722560,), (1343722947,), (1343723003,), (1343723042,), (1343723099,), (1343723352,), (1343723382,), (1343723411,), (1343723418,), (1343723422,), (1343723439,), (1343723582,), (1343723590,), (1343723631,), (1343723653,), (1343723671,), (1343723685,), (1343723757,), (1343723762,), (1343723768,), (1343723772,), (1343723776,), (1343723825,), (1343723951,), (1343724782,), (1343724833,), (1343724838,), (1343724844,), (1343724850,), (1343724853,), (1343724857,), (1343724878,), (1343724882,), (1343724889,), (1343724894,), (1343724901,), (1343724923,), (1343725205,), (1343725267,), (1343725308,), (1343725325,), (1343725369,), (1343725390,), (1343726021,), (1343726121,), (1343726159,), (1343726167,), (1343726181,), (1343726199,), (1343726242,), (1343726250,), (1343726254,), (1343726259,), (1343726275,), (1343726285,), (1343726479,), (1343726362,), (1343726387,), (1343726415,), (1343726429,), (1343726474,), (1343726559,), (1343726563,), (1343726568,), (1343726571,), (1343726576,), (1343726580,), (1343726666,), (1343726670,), (1343726678,), (1343726691,), (1343726693,), (1343726696,), (1343726725,), (1343726736,), (1343726774,), (1343726798,), (1343726802,), (1343726806,), (1343726945,), (1343726953,), (1343726977,), (1343726979,), (1343726980,), (1343727010,), (1343727015,), (1343727020,), (1343727024,), (1343727031,), (1343727037,), (1343727062,), (1343727069,), (1343727072,), (1343727079,), (1343727082,), (1343727086,), (1343727116,), (1343727128,), (1343727131,), (1343727133,), (1343727135,), (1343727138,), (1343727168,), (1343727172,), (1343727177,), (1343727918,), (1343728240,), (1343746263,), (1343746514,), (1343746520,), (1343746717,), (1343746724,), (1343746759,), (1343746766,), (1343746881,), (1343800286,), (1343800610,), (1343801463,), (1343801528,), (1343802006,), (1343802071,), (1343802285,), (1343802299,), (1343809216,), (1343822564,), (1343823151,), (1343823179,), (1343825089,), (1343825652,), (1343826049,), (1343826080,), (1343826102,), (1343826415,), (1343826445,), (1343826476,), (1343827207,), (1343827281,), (1343827407,), (1343827474,), (1343827523,), (1343827610,), (1343827737,), (1343827764,), (1343827988,), (1343828017,), (1343828053,), (1343828081,), (1343828108,), (1343828622,), (1343828632,), (1343828654,), (1343828673,), (1343828956,), (1343828991,), (1343829069,), (1343829122,), (1343829158,), (1343829364,), (1343829392,), (1343829418,), (1343829826,), (1343829752,), (1343829786,), (1343829808,), (1343830432,), (1343830445,), (1343830475,), (1343830541,), (1343830579,), (1343830830,), (1343830871,), (1343830895,), (1343830913,), (1343830935,), (1343830980,), (1343831231,), (1343831248,), (1343831259,), (1343831261,), (1343831411,), (1343831444,), (1343831480,), (1343831510,), (1343831532,), (1343831543,), (1343831684,), (1343831784,), (1343831826,), (1343831852,), (1343831878,), (1343832113,), (1343832131,), (1343832135,), (1343832137,), (1343832150,), (1343832235,), (1343832237,), (1343832242,), (1343832274,), (1343832359,), (1343832428,), (1343832433,), (1343832438,), (1343832441,), (1343832530,), (1343832556,), (1343832590,), (1343832616,), (1343833009,), (1343833061,), (1343833126,), (1343833161,), (1343833603,), (1343833606,), (1343833611,), (1343833617,), (1343834022,), (1343834083,), (1343834159,), (1343834223,), (1343834274,), (1343834525,), (1343834528,), (1343834531,), (1343834604,), (1343834618,), (1343834625,), (1343834807,), (1343834876,), (1343835878,), (1343835501,), (1343835549,), (1343835630,), (1343835720,), (1343835813,), (1343836389,), (1343836416,), (1343836435,), (1343836437,), (1343836481,), (1343836529,), (1343836741,), (1343836763,), (1343836784,), (1343836837,), (1343837581,), (1343837660,), (1343837733,), (1343837845,), (1343837913,), (1343838392,), (1343838438,), (1343838470,), (1343838509,), (1343838543,), (1343838842,), (1343838899,), (1343838977,), (1343839018,), (1343839074,), (1343839763,), (1343839828,), (1343839864,), (1343839923,), (1343839951,), (1343840196,), (1343840219,), (1343840255,), (1343840299,), (1343840830,), (1343840885,), (1343840931,), (1343840958,), (1343840981,), (1343841222,), (1343841224,), (1343841234,), (1343841243,), (1343841426,), (1343841447,), (1343841475,), (1343841537,), (1343841558,), (1343841672,), (1343841704,), (1343841733,), (1343841772,), (1343842432,), (1343842472,), (1343842502,), (1343842958,), (1343843010,), (1343843092,), (1343843145,), (1343843192,), (1343843640,), (1343843663,), (1343843673,), (1343843677,), (1343843878,), (1343843853,), (1343843859,), (1343843873,), (1343844049,), (1343844055,), (1343844061,), (1343844066,), (1343862735,), (1343864844,), (1343864893,), (1343865562,), (1343865612,), (1343865640,), (1343865995,), (1343866062,), (1343866132,), (1343866189,), (1343866284,), (1343866841,), (1343866926,), (1343866976,), (1343867086,), (1343867157,), (1343867765,), (1343867823,), (1343867865,), (1343868316,), (1343868078,), (1343868106,), (1343868166,), (1343868192,), (1343868417,), (1343868468,), (1343868496,), (1343868531,), (1343868556,), (1343868623,), (1343868807,), (1343868938,), (1343869033,), (1343869120,), (1343869570,), (1343869734,), (1343870437,), (1343870504,), (1343870979,), (1343871038,), (1343871078,), (1343871111,), (1343871899,), (1343871947,), (1343871990,), (1343872051,), (1343872146,), (1343872359,), (1343872435,), (1343872597,), (1343873602,), (1343873655,), (1343874190,), (1343874272,), (1343874294,), (1343874339,), (1343874482,), (1343874620,), (1343874664,), (1343874708,), (1343875028,), (1343875079,), (1343875127,), (1343875192,), (1343875248,), (1343875423,), (1343875445,), (1343875498,), (1343875548,), (1343875877,), (1343875911,), (1343875956,), (1343876017,), (1343876646,), (1343876707,), (1343876784,), (1343877714,), (1343877534,), (1343877586,), (1343877670,), (1343878072,), (1343878077,), (1343878081,), (1343878083,), (1343878431,), (1343878475,), (1343878502,), (1343878550,), (1343878600,), (1343878643,), (1343878980,), (1343879010,), (1343879036,), (1343879071,), (1343879087,), (1343879600,), (1343879653,), (1343879721,), (1343879772,), (1343879794,), (1343880391,), (1343880597,), (1343880741,), (1343881030,), (1343881137,), (1343881167,), (1343881193,), (1343881256,), (1343881282,), (1343881759,), (1343881811,), (1343881869,), (1343881926,), (1343882087,), (1343882340,), (1343882375,), (1343882402,), (1343882644,), (1343883159,), (1343883200,), (1343883239,), (1343883256,), (1343883263,), (1343883265,), (1343883301,), (1343883307,), (1343883330,), (1343883361,), (1343883408,), (1343883434,), (1343883752,), (1343883823,), (1343883833,), (1343883834,), (1343883996,), (1343884279,), (1343884310,), (1343884404,), (1343885465,), (1343885494,), (1343885520,), (1343885553,), (1343885574,), (1343885666,), (1343885738,), (1343885994,), (1343886750,), (1343886320,), (1343886461,), (1343886622,), (1343887307,), (1343887343,), (1343887368,), (1343887394,), (1343887399,), (1343887403,), (1343887806,), (1343887929,), (1343887976,), (1343888017,), (1343888056,), (1343888082,), (1343888617,), (1343888695,), (1343888771,), (1343889826,), (1343889911,), (1343890024,), (1343890187,), (1343890279,), (1343890419,), (1343890924,), (1343890979,), (1343891023,), (1343891128,), (1343891208,), (1343891294,), (1343891784,), (1343891978,), (1343892022,), (1343892079,), (1343892385,), (1343892454,), (1343892525,), (1343892572,), (1343892617,), (1343893335,), (1343893379,), (1343893452,), (1343893487,), (1343894007,), (1343894120,), (1343894160,), (1343894249,), (1343894322,), (1343894639,), (1343894669,), (1343894722,), (1343894780,), (1343895160,), (1343895185,), (1343895199,), (1343895303,), (1343895398,), (1343895464,), (1343895725,), (1343895841,), (1343895902,), (1343895994,), (1343896064,), (1343896691,), (1343896812,), (1343896901,), (1343897508,), (1343897553,), (1343897686,), (1343897797,), (1343897856,), (1343897919,), (1343898170,), (1343898131,), (1343898138,), (1343898143,), (1343898154,), (1343898507,), (1343898532,), (1343898603,), (1343898632,), (1343898634,), (1343899055,), (1343899075,), (1343899081,), (1343899127,), (1343899671,), (1343899702,), (1343899724,), (1343899781,), (1343899869,), (1343900145,), (1343900168,), (1343900198,), (1343900230,), (1343900557,), (1343900583,), (1343900611,), (1343900664,), (1343900725,), (1343900771,), (1343901221,), (1343901281,), (1343901305,), (1343901411,), (1343901449,), (1343901473,), (1343901748,), (1343901842,), (1343901994,), (1343906530,), (1343906474,), (1343906478,), (1343906918,), (1343906974,), (1343907137,), (1343907232,), (1343907239,), (1343907334,), (1343907742,), (1343907807,), (1343907875,), (1343908106,), (1343908510,), (1343908576,), (1343908641,), (1343909555,), (1343911126,), (1343911256,), (1343920812,), (1343920786,), (1343921088,), (1343922333,), (1343922583,), (1343922594,), (1343922607,), (1343922611,), (1343922809,), (1343923199,), (1343923224,), (1343923248,), (1343923754,), (1343923794,), (1343923825,), (1343924210,), (1343924236,), (1343924845,), (1343925029,), (1343925120,), (1343925160,), (1343925209,), (1343925660,), (1343925697,), (1343925761,), (1343925796,), (1343925815,), (1343926174,), (1343926203,), (1343926232,), (1343926246,), (1343926249,), (1343926251,), (1343926330,), (1343926356,), (1343926380,), (1343926409,), (1343926699,), (1343926739,), (1343926770,), (1343926806,), (1343926831,), (1343927450,), (1343927221,), (1343927280,), (1343927408,), (1343928086,), (1343928312,), (1343928392,), (1343928594,), (1343928685,), (1343929419,), (1343929452,), (1343929580,), (1343929906,), (1343929918,), (1343929922,), (1343929925,), (1343929943,), (1343929958,), (1343930114,), (1343930182,), (1343930186,), (1343930199,), (1343930281,), (1343930309,), (1343930719,), (1343930730,), (1343930737,), (1343930755,), (1343930756,), (1343930758,), (1343930843,), (1343930851,), (1343930882,), (1343930984,), (1343930989,), (1343930994,), (1343930998,), (1343931001,), (1343931371,), (1343931408,), (1343931433,), (1343931477,), (1343931519,), (1343931577,), (1343931900,), (1343931912,), (1343931918,), (1343932085,), (1343932110,), (1343932171,), (1343932196,), (1343932508,), (1343932518,), (1343932538,), (1343932578,), (1343932640,), (1343932839,), (1343932864,), (1343932929,), (1343932977,), (1343933179,), (1343933273,), (1343933300,), (1343933554,), (1343933575,), (1343933605,), (1343933635,), (1343933654,), (1343933674,), (1343933940,), (1343933867,), (1343933897,), (1343933912,), (1343934174,), (1343934212,), (1343934286,), (1343934328,), (1343934348,), (1343934451,), (1343934548,), (1343934645,), (1343934823,), (1343934991,), (1343935082,), (1343935110,), (1343935276,), (1343935338,), (1343935398,), (1343935507,), (1343935569,), (1343935620,), (1343935822,), (1343935869,), (1343935919,), (1343935990,), (1343936066,), (1343936110,), (1343936396,), (1343936453,), (1343936564,), (1343936843,), (1343936926,), (1343936990,), (1343937227,), (1343937327,), (1343937399,), (1343937430,), (1343937497,), (1343937594,), (1343937726,), (1343937752,), (1343937763,), (1343938078,), (1343938103,), (1343938135,), (1343938164,), (1343938183,), (1343938512,), (1343938525,), (1343938535,), (1343938544,), (1343938563,), (1343938982,), (1343939061,), (1343939127,), (1343939901,), (1343939968,), (1343940044,), (1343940103,), (1343940179,), (1343940782,), (1343940861,), (1343940916,), (1343940977,), (1343941039,), (1343941544,), (1343941616,), (1343941666,), (1343941673,), (1343941716,), (1343942012,), (1343942053,), (1343942093,), (1343942682,), (1343942719,), (1343942746,), (1343942804,), (1343942886,), (1343943872,), (1343943485,), (1343943581,), (1343943640,), (1343943728,), (1343943777,), (1343944365,), (1343944431,), (1343944512,), (1343944599,), (1343945086,), (1343945131,), (1343945167,), (1343945205,), (1343945472,), (1343945475,), (1343945488,), (1343945510,), (1343946107,), (1343946192,), (1343946257,), (1343946335,), (1343946403,), (1343946453,), (1343946773,), (1343946794,), (1343946820,), (1343946834,), (1343946858,), (1343947014,), (1343947038,), (1343947060,), (1343947091,), (1343947461,), (1343947496,), (1343947540,), (1343947593,), (1343947953,), (1343947973,), (1343947983,), (1343948008,), (1343948052,), (1343948069,), (1343948175,), (1343948179,), (1343948183,), (1343948186,), (1343948187,), (1343948297,), (1343948312,), (1343948345,), (1343948775,), (1343948799,), (1343948826,), (1343948865,), (1343948911,), (1343949098,), (1343949118,), (1343950120,), (1343950155,), (1343950245,), (1343950315,), (1343950330,), (1343950479,), (1343950487,), (1343950491,), (1343950511,), (1343950532,), (1343950552,), (1343950548,), (1343950666,), (1343950670,), (1343950674,), (1343950694,), (1343950765,), (1343950782,), (1343950786,), (1343951054,), (1343951083,), (1343951134,), (1343951193,), (1343951279,), (1343951844,), (1343951897,), (1343951968,), (1343952688,), (1343952740,), (1343952798,), (1343952859,), (1343952901,), (1343953136,), (1343953165,), (1343953211,), (1343953265,), (1343953723,), (1343953821,), (1343953839,), (1343953972,), (1343954502,), (1343954519,), (1343954524,), (1343954548,), (1343954823,), (1343954826,), (1343954830,), (1343954862,), (1343955042,), (1343955066,), (1343956961,), (1343973062,), (1343973649,), (1343975502,), (1343975959,), (1343975971,), (1343976608,), (1343977489,), (1343977516,), (1343978083,), (1343978108,), (1343978500,), (1343978463,), (1343979604,), (1343980005,), (1343980008,), (1343981517,), (1343981743,), (1343981819,), (1343983376,), (1343984392,), (1343984586,), (1343984795,), (1343984974,), (1343985559,), (1343986222,), (1343989841,), (1343989892,), (1343992400,), (1343992950,), (1343993519,), (1343728198,), (1343728210,), (1343728229,), (1343728234,), (1343728238,), (1343728265,), (1343728271,), (1343728276,), (1343728281,), (1343728284,), (1343728286,), (1343728359,), (1343728364,), (1343728369,), (1343728373,), (1343728427,), (1343728455,), (1343728594,), (1343728603,), (1343728617,), (1343728631,), (1343728634,), (1343728635,), (1343728678,), (1343728683,), (1343728689,), (1343728694,), (1343728697,), (1343728699,), (1343728725,), (1343728730,), (1343728735,), (1343728739,), (1343728741,), (1343728771,), (1343728778,), (1343728786,), (1343728792,), (1343728799,), (1343728883,), (1343728898,), (1343728984,), (1343728986,), (1343729091,), (1343729103,), (1343729268,), (1343729273,), (1343729349,), (1343729386,), (1343729427,), (1343729433,), (1343729439,), (1343729444,), (1343729449,), (1343729473,), (1343729478,), (1343729488,), (1343729493,), (1343729497,), (1343729499,), (1343729542,), (1343729519,), (1343729525,), (1343729531,), (1343729536,), (1343729540,), (1343729705,), (1343729711,), (1343729716,), (1343729720,), (1343729723,), (1343729726,), (1343729752,), (1343729758,), (1343729762,), (1343729767,), (1343729771,), (1343729774,), (1343729803,), (1343729810,), (1343729815,), (1343729818,), (1343729821,), (1343729825,), (1343729838,), (1343729855,), (1343729860,), (1343729863,), (1343729867,), (1343729870,), (1343729892,), (1343729895,), (1343729901,), (1343729906,), (1343729910,), (1343729915,), (1343729946,), (1343729953,), (1343729956,), (1343729960,), (1343729965,), (1343729971,), (1343729994,), (1343730004,), (1343730011,), (1343730017,), (1343730021,), (1343730025,), (1343730043,), (1343730048,), (1343730052,), (1343730056,), (1343730062,), (1343730069,), (1343730093,), (1343730097,), (1343730101,), (1343730104,), (1343730108,), (1343730115,), (1343730139,), (1343730142,), (1343730145,), (1343730146,), (1343730149,), (1343730155,), (1343730184,), (1343730186,), (1343730189,), (1343730190,), (1343730194,), (1343730198,), (1343730233,), (1343730236,), (1343730239,), (1343730242,), (1343730244,), (1343730310,), (1343730314,), (1343730316,), (1343730320,), (1343730322,), (1343730325,), (1343730364,), (1343731749,), (1343731752,), (1343731756,), (1343731790,), (1343731794,), (1343731798,), (1343731801,), (1343731838,), (1343731842,), (1343731845,), (1343731847,), (1343731879,), (1343731922,), (1343731928,), (1343731934,), (1343731979,), (1343731983,), (1343732023,), (1343732027,), (1343732031,), (1343732034,), (1343732073,), (1343732077,), (1343732080,), (1343732082,), (1343732118,), (1343732121,), (1343732123,), (1343732125,), (1343732126,), (1343732127,), (1343732164,), (1343732168,), (1343732171,), (1343732214,), (1343732217,), (1343732221,), (1343732224,), (1343732225,), (1343732272,), (1343732262,), (1343732265,), (1343732268,), (1343732271,), (1343732309,), (1343732314,), (1343732318,), (1343732321,), (1343732355,), (1343732358,), (1343732361,), (1343732399,), (1343732402,), (1343732406,), (1343732409,), (1343732410,), (1343732450,), (1343732454,), (1343732458,), (1343732460,), (1343732462,), (1343732463,), (1343732497,), (1343732500,), (1343732504,), (1343732540,), (1343732543,), (1343732547,), (1343732551,), (1343732554,), (1343732591,), (1343732596,), (1343732600,), (1343732603,), (1343732636,), (1343732640,), (1343732643,), (1343732646,), (1343732691,), (1343732695,), (1343732733,), (1343732737,), (1343732740,), (1343732743,), (1343732744,), (1343732746,), (1343732780,), (1343732785,), (1343732790,), (1343732795,), (1343732798,), (1343732834,), (1343732840,), (1343732845,), (1343732848,), (1343732914,), (1343732917,), (1343732920,), (1343732923,), (1343732926,), (1343732928,), (1343732942,), (1343732946,), (1343732951,), (1343732958,), (1343732966,), (1343732989,), (1343732981,), (1343732986,), (1343732988,), (1343733028,), (1343733031,), (1343733034,), (1343733037,), (1343733040,), (1343733081,), (1343733087,), (1343733091,), (1343733093,), (1343733095,), (1343733099,), (1343733131,), (1343733137,), (1343733142,), (1343733187,), (1343733193,), (1343733198,), (1343733201,), (1343733204,), (1343733207,), (1343733245,), (1343733249,), (1343733253,), (1343733255,), (1343733256,), (1343733260,), (1343733305,), (1343733310,), (1343733314,), (1343733317,), (1343733362,), (1343733365,), (1343733371,), (1343733375,), (1343733378,), (1343733381,), (1343733423,), (1343733428,), (1343733433,), (1343733437,), (1343733439,), (1343733485,), (1343733490,), (1343733495,), (1343733539,), (1343733544,), (1343733550,), (1343733556,), (1343733586,), (1343733591,), (1343733598,), (1343733603,), (1343733606,), (1343733636,), (1343733641,), (1343733648,), (1343733653,), (1343733657,), (1343733688,), (1343733698,), (1343733703,), (1343733706,), (1343733709,), (1343733740,), (1343733746,), (1343733752,), (1343733758,), (1343733762,), (1343733813,), (1343733794,), (1343733799,), (1343733805,), (1343733809,), (1343733846,), (1343733850,), (1343733856,), (1343733861,), (1343733863,), (1343733867,), (1343733896,), (1343733901,), (1343733907,), (1343733914,), (1343733949,), (1343733956,), (1343733962,), (1343733967,), (1343733969,), (1343734014,), (1343734020,), (1343734024,), (1343734029,), (1343734031,), (1343734032,), (1343734066,), (1343734072,), (1343734078,), (1343734113,), (1343734134,), (1343734137,), (1343734139,), (1343734172,), (1343734178,), (1343734184,), (1343734188,), (1343734191,), (1343734194,), (1343734230,), (1343734234,), (1343734238,), (1343734242,), (1343734243,), (1343734296,), (1343734302,), (1343734306,), (1343734309,), (1343734313,), (1343734350,), (1343734355,), (1343734359,), (1343734363,), (1343734364,), (1343734366,), (1343734404,), (1343734409,), (1343734415,), (1343734420,), (1343734422,), (1343734456,), (1343734462,), (1343734470,), (1343734508,), (1343734514,), (1343734521,), (1343734525,), (1343734566,), (1343734570,), (1343734577,), (1343734583,), (1343734585,), (1343734587,), (1343734642,), (1343734616,), (1343734632,), (1343734637,), (1343734639,), (1343734671,), (1343734675,), (1343734681,), (1343734688,), (1343734721,), (1343734726,), (1343734731,), (1343734738,), (1343734740,), (1343734772,), (1343734778,), (1343734783,), (1343734789,), (1343734791,), (1343734827,), (1343734833,), (1343734839,), (1343734845,), (1343734876,), (1343734881,), (1343734889,), (1343734894,), (1343734929,), (1343734936,), (1343734942,), (1343734946,), (1343734950,), (1343734987,), (1343734992,), (1343734998,), (1343735000,), (1343735032,), (1343735040,), (1343735081,), (1343735099,), (1343735104,), (1343735105,), (1343735108,), (1343735148,), (1343735154,), (1343735160,), (1343735163,), (1343735195,), (1343735201,), (1343735206,), (1343735212,), (1343735215,), (1343735217,), (1343735248,), (1343735254,), (1343735260,), (1343735305,), (1343735312,), (1343735318,), (1343735323,), (1343735325,), (1343735329,), (1343735363,), (1343735369,), (1343735374,), (1343735428,), (1343735416,), (1343735422,), (1343735477,), (1343735483,), (1343735488,), (1343735493,), (1343735532,), (1343735538,), (1343735546,), (1343735549,), (1343735578,), (1343735596,), (1343735601,), (1343735604,), (1343735608,), (1343735613,), (1343735651,), (1343735658,), (1343735663,), (1343735705,), (1343735709,), (1343735715,), (1343735720,), (1343735721,), (1343735722,), (1343735761,), (1343735767,), (1343735772,), (1343735777,), (1343735779,), (1343735817,), (1343735825,), (1343735829,), (1343735832,), (1343735869,), (1343735873,), (1343735878,), (1343735880,), (1343735883,), (1343735884,), (1343735932,), (1343735935,), (1343735940,), (1343735980,), (1343735984,), (1343735989,), (1343736033,), (1343736037,), (1343736041,), (1343736044,), (1343736045,), (1343736048,), (1343736085,), (1343736088,), (1343736092,), (1343736096,), (1343736097,), (1343736100,), (1343736171,), (1343736173,), (1343736178,), (1343736183,), (1343736188,), (1343736203,), (1343736205,), (1343736249,), (1343736242,), (1343736246,), (1343736293,), (1343736296,), (1343736298,), (1343736300,), (1343736301,), (1343736339,), (1343736342,), (1343736344,), (1343736346,), (1343736347,), (1343736384,), (1343736387,), (1343736391,), (1343736430,), (1343736433,), (1343736437,), (1343736440,), (1343736443,), (1343736477,), (1343736481,), (1343736484,), (1343736489,), (1343736528,), (1343736535,), (1343736539,), (1343736576,), (1343736581,), (1343736584,), (1343736587,), (1343736592,), (1343736626,), (1343736630,), (1343736633,), (1343736635,), (1343736718,), (1343736722,), (1343736766,), (1343736772,), (1343736776,), (1343736778,), (1343736780,), (1343736785,), (1343736815,), (1343736819,), (1343736857,), (1343736859,), (1343736864,), (1343736870,), (1343736876,), (1343736917,), (1343736920,), (1343736925,), (1343736928,), (1343736980,), (1343736956,), (1343736966,), (1343736971,), (1343736975,), (1343737010,), (1343737015,), (1343737049,), (1343737055,), (1343737090,), (1343737096,), (1343737103,), (1343737108,), (1343737117,), (1343737124,), (1343737143,), (1343737150,), (1343737153,), (1343737161,), (1343737165,), (1343737172,), (1343737205,), (1343737211,), (1343737214,), (1343737218,), (1343737226,), (1343737258,), (1343737264,), (1343737267,), (1343737270,), (1343737273,), (1343737276,), (1343737314,), (1343737319,), (1343737325,), (1343737366,), (1343737370,), (1343737376,), (1343737413,), (1343737419,), (1343737427,), (1343737429,), (1343737465,), (1343737470,), (1343737475,), (1343737478,), (1343737479,), (1343737511,), (1343737515,), (1343737521,), (1343737550,), (1343737556,), (1343737602,), (1343737607,), (1343737613,), (1343737616,), (1343737621,), (1343737644,), (1343737648,), (1343737655,), (1343737660,), (1343737667,), (1343737718,), (1343737697,), (1343737703,), (1343737707,), (1343737713,), (1343737746,), (1343737748,), (1343737751,), (1343737755,), (1343737794,), (1343737797,), (1343737800,), (1343737803,), (1343738101,), (1343738106,), (1343738140,), (1343738146,), (1343738152,), (1343738156,), (1343738187,), (1343738193,), (1343738200,), (1343738233,), (1343738239,), (1343738244,), (1343738249,), (1343738278,), (1343738285,), (1343738291,), (1343738328,), (1343738334,), (1343738339,), (1343738346,), (1343738389,), (1343738369,), (1343738375,), (1343738380,), (1343738387,), (1343738417,), (1343738424,), (1343738431,), (1343738464,), (1343738470,), (1343738476,), (1343738483,), (1343738508,), (1343738513,), (1343738519,), (1343738553,), (1343738560,), (1343738567,), (1343738610,), (1343738616,), (1343738621,), (1343738625,), (1343738656,), (1343738663,), (1343738669,), (1343738674,), (1343738678,), (1343738706,), (1343738714,), (1343738720,), (1343738727,), (1343738729,), (1343738760,), (1343738767,), (1343738774,), (1343738780,), (1343738812,), (1343738818,), (1343738822,), (1343738827,), (1343738861,), (1343738865,), (1343738874,), (1343738876,), (1343738879,), (1343738883,), (1343738916,), (1343738919,), (1343738922,), (1343738961,), (1343738963,), (1343738966,), (1343739036,), (1343739038,), (1343739041,), (1343739044,), (1343739048,), (1343739102,), (1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,), (1343739812,), (1343739818,), (1343739823,), (1343739829,), (1343739869,), (1343739874,), (1343739879,), (1343739883,), (1343739884,), (1343739920,), (1343739924,), (1343739928,), (1343739932,), (1343739966,), (1343739971,), (1343739976,), (1343740010,), (1343740015,), (1343740022,), (1343740023,), (1343740056,), (1343740062,), (1343740066,), (1343740072,), (1343740097,), (1343740103,), (1343740108,), (1343740113,), (1343740115,), (1343740141,), (1343740147,), (1343740153,), (1343740159,), (1343740189,), (1343740196,), (1343740201,), (1343740206,), (1343740209,), (1343740242,), (1343740248,), (1343740254,), (1343740259,), (1343740260,), (1343740261,), (1343740291,), (1343740341,), (1343740349,), (1343740355,), (1343740393,), (1343740399,), (1343740405,), (1343740410,), (1343740411,), (1343740412,), (1343740444,), (1343740451,), (1343740456,), (1343740462,), (1343740466,), (1343740468,), (1343740496,), (1343740521,), (1343740525,), (1343740528,), (1343740530,), (1343740534,), (1343740576,), (1343740563,), (1343740570,), (1343740616,), (1343740623,), (1343740629,), (1343740632,), (1343740634,), (1343740663,), (1343740670,), (1343740676,), (1343740679,), (1343740680,), (1343740681,), (1343740710,), (1343740714,), (1343740718,), (1343740761,), (1343740765,), (1343740770,), (1343740774,), (1343740776,), (1343740777,), (1343740811,), (1343740817,), (1343740821,), (1343740822,), (1343740823,), (1343740826,), (1343740860,), (1343740867,), (1343740872,), (1343740877,), (1343740913,), (1343740921,), (1343740927,), (1343740933,), (1343740935,), (1343740961,), (1343740982,), (1343740986,), (1343740988,), (1343740991,), (1343740995,), (1343741025,), (1343741032,), (1343741036,), (1343741042,), (1343741048,), (1343741079,), (1343742161,), (1343742602,), (1343742643,), (1343742683,), (1343742686,), (1343742722,), (1343742766,), (1343742770,), (1343742882,), (1343742914,), (1343742917,), (1343743032,), (1343743039,), (1343743280,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13032025': {'nb_upload': 33, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21404758]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1343738389, 1343738346, 1343738339, 1343738334, 1343738328, 1343738291, 1343738285, 1343738278, 1343738249, 1343738244, 1343738239, 1343738233, 1343738200, 1343738193, 1343738187, 1343738156, 1343738152, 1343738146, 1343738140, 1343738106, 1343738101, 1343737803, 1343737800, 1343737797, 1343737794, 1343737755, 1343737751, 1343737748, 1343737746, 1343737713, 1343737707, 1343737703, 1343737697] map_info['map_portfolio_photo'] : {21404758: [1343738389, 1343738346, 1343738339, 1343738334, 1343738328, 1343738291, 1343738285, 1343738278, 1343738249, 1343738244, 1343738239, 1343738233, 1343738200, 1343738193, 1343738187, 1343738156, 1343738152, 1343738146, 1343738140, 1343738106, 1343738101, 1343737803, 1343737800, 1343737797, 1343737794, 1343737755, 1343737751, 1343737748, 1343737746, 1343737713, 1343737707, 1343737703, 1343737697]} final : True mtd_id 4302 list_pids : [1343738389, 1343738346, 1343738339, 1343738334, 1343738328, 1343738291, 1343738285, 1343738278, 1343738249, 1343738244, 1343738239, 1343738233, 1343738200, 1343738193, 1343738187, 1343738156, 1343738152, 1343738146, 1343738140, 1343738106, 1343738101, 1343737803, 1343737800, 1343737797, 1343737794, 1343737755, 1343737751, 1343737748, 1343737746, 1343737713, 1343737707, 1343737703, 1343737697] Looping around the photos to save general results len do output : 1 /21404758Didn'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, '2667737') ('4302', '21404758', '1343738389', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738346', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738339', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738334', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738328', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738291', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738285', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738278', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738249', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738244', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738239', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738233', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738200', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738193', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738187', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738156', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738152', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738146', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738140', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738106', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343738101', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737803', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737800', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737797', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737794', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737755', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737751', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737748', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737746', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737713', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737707', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737703', None, None, None, None, None, '2667737') ('4302', None, None, None, None, None, None, None, '2667737') ('4302', '21404758', '1343737697', None, None, None, None, None, '2667737') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21404758', 'None', None, None, None, None, '2667737'), ('4302', '21404758', '1343738389', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738346', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738339', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738334', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738328', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738291', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738285', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738278', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738249', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738244', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738239', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738233', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738200', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738193', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738187', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738156', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738152', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738146', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738140', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738106', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343738101', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737803', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737800', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737797', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737794', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737755', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737751', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737748', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737746', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737713', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737707', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737703', None, None, None, None, None, '2667737'), ('4302', '21404758', '1343737697', None, None, None, None, None, '2667737')] time used for this insertion : 0.8945891857147217 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.625195026397705 time spend to save output : 0.8949835300445557 total time spend for step 5 : 3.5201785564422607 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 (2667737) 2.93user 2.45system 0:13.20elapsed 40%CPU (0avgtext+0avgdata 159880maxresident)k 296inputs+18400outputs (1major+76159minor)pagefaults 0swaps