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 : 102502 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 (4271371) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4271371) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29676059 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4271371'] with mtr_portfolio_ids : ['29676059'] and first list_photo_ids : [] new path : /proc/102502/ Name: python3 Umask: 0002 State: R (running) Tgid: 102502 Ngid: 0 Pid: 102502 PPid: 102501 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 102502 NSpid: 102502 NSpgid: 101309 NSsid: 101309 VmPeak: 1113360 kB VmSize: 1113360 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 105372 kB VmRSS: 105372 kB RssAnon: 66312 kB RssFile: 39060 kB RssShmem: 0 kB VmData: 872088 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 608 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 51 nonvoluntary_ctxt_switches: 94 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '102502', 'Ngid': '0', 'Pid': '102502', 'PPid': '102501', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '102502', 'NSpid': '102502', 'NSpgid': '101309', 'NSsid': '101309', 'VmPeak': '1113360 kB', 'VmSize': '1113360 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '105372 kB', 'VmRSS': '105372 kB', 'RssAnon': '66312 kB', 'RssFile': '39060 kB', 'RssShmem': '0 kB', 'VmData': '872088 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '608 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '51', 'nonvoluntary_ctxt_switches': '94'} ('datou_batch_current', '102502', '1113360', '0', '1113360', '872088', '105372', b'', 'marlene', '4271371') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (29676059) 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 (4271371 ) ) 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 (29676059) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1400784307, 'portfolio_id': 29676059}, {'photo_id': 1400784281, 'portfolio_id': 29676059}, {'photo_id': 1400784279, 'portfolio_id': 29676059}, {'photo_id': 1400784268, 'portfolio_id': 29676059}, {'photo_id': 1400784264, 'portfolio_id': 29676059}, {'photo_id': 1400784258, 'portfolio_id': 29676059}, {'photo_id': 1400784253, 'portfolio_id': 29676059}, {'photo_id': 1400784248, 'portfolio_id': 29676059}, {'photo_id': 1400784245, 'portfolio_id': 29676059}, {'photo_id': 1400784223, 'portfolio_id': 29676059}, {'photo_id': 1400784221, 'portfolio_id': 29676059}, {'photo_id': 1400784219, 'portfolio_id': 29676059}, {'photo_id': 1400784197, 'portfolio_id': 29676059}, {'photo_id': 1400784194, 'portfolio_id': 29676059}, {'photo_id': 1400784191, 'portfolio_id': 29676059}, {'photo_id': 1400784188, 'portfolio_id': 29676059}, {'photo_id': 1400784177, 'portfolio_id': 29676059}, {'photo_id': 1400784161, 'portfolio_id': 29676059}, {'photo_id': 1400784157, 'portfolio_id': 29676059}, {'photo_id': 1400784154, 'portfolio_id': 29676059}, {'photo_id': 1400784150, 'portfolio_id': 29676059}, {'photo_id': 1400784146, 'portfolio_id': 29676059}, {'photo_id': 1400784142, 'portfolio_id': 29676059}, {'photo_id': 1400784095, 'portfolio_id': 29676059}, {'photo_id': 1400784093, 'portfolio_id': 29676059}, {'photo_id': 1400784072, 'portfolio_id': 29676059}, {'photo_id': 1400784069, 'portfolio_id': 29676059}, {'photo_id': 1400784066, 'portfolio_id': 29676059}, {'photo_id': 1400784063, 'portfolio_id': 29676059}, {'photo_id': 1400784040, 'portfolio_id': 29676059}, {'photo_id': 1400784037, 'portfolio_id': 29676059}, {'photo_id': 1400784034, 'portfolio_id': 29676059}, {'photo_id': 1400784030, 'portfolio_id': 29676059}, {'photo_id': 1400784027, 'portfolio_id': 29676059}, {'photo_id': 1400784001, 'portfolio_id': 29676059}, {'photo_id': 1400783999, 'portfolio_id': 29676059}, {'photo_id': 1400783860, 'portfolio_id': 29676059}] map_portfolio_id_photo_id: {29676059: [1400784307, 1400784281, 1400784279, 1400784268, 1400784264, 1400784258, 1400784253, 1400784248, 1400784245, 1400784223, 1400784221, 1400784219, 1400784197, 1400784194, 1400784191, 1400784188, 1400784177, 1400784161, 1400784157, 1400784154, 1400784150, 1400784146, 1400784142, 1400784095, 1400784093, 1400784072, 1400784069, 1400784066, 1400784063, 1400784040, 1400784037, 1400784034, 1400784030, 1400784027, 1400784001, 1400783999, 1400783860]} ##### 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.01849079132080078 #### 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 Thu Dec 25 05:39:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29676059) 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 : 29676059 get user id for portfolio 29676059 get sub ptf for main ptf 29676059, type 3726 and hashtags ['Carton_brun', 'Teint_Dans_La_Masse', 'Carton_gris', 'papier', 'cartonnette', 'kraft', 'flou', 'mal_croppe', 'metal', 'plastique', 'environnement', '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`=29676059 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','Carton_gris','papier','cartonnette','kraft','flou','mal_croppe','metal','plastique','environnement','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`=29676059 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','Carton_gris','papier','cartonnette','kraft','flou','mal_croppe','metal','plastique','environnement','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 29676059, 'sub_port_id': 29676064, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269443, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 10, 58)}, 'Carton_brun': {'main_port_id': 29676059, 'sub_port_id': 29676065, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269444, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 10, 58)}, 'environnement': {'main_port_id': 29676059, 'sub_port_id': 29676066, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269445, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 10, 58)}, 'autre_refus': {'main_port_id': 29676059, 'sub_port_id': 29676067, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269446, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 10, 58)}, 'cartonnette': {'main_port_id': 29676059, 'sub_port_id': 29676068, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269447, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 10, 58)}, 'kraft': {'main_port_id': 29676059, 'sub_port_id': 29676069, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269448, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 10, 58)}, 'mal_croppe': {'main_port_id': 29676059, 'sub_port_id': 29676070, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269449, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 10, 58)}, 'Carton_gris': {'main_port_id': 29676059, 'sub_port_id': 29676071, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269450, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 10, 58)}, 'plastique': {'main_port_id': 29676059, 'sub_port_id': 29676072, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269451, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 10, 58)}, 'flou': {'main_port_id': 29676059, 'sub_port_id': 29676073, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269452, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 10, 58)}, 'metal': {'main_port_id': 29676059, 'sub_port_id': 29676074, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269453, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 10, 58)}, 'papier': {'main_port_id': 29676059, 'sub_port_id': 29676075, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269454, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 10, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29676064 , 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=29676059 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 (29676064) result : ((1400784108,), (1400784263,), (1400784484,), (1400784485,), (1400784664,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29676059) result : ((1400783860,), (1400783999,), (1400784001,), (1400784027,), (1400784030,), (1400784034,), (1400784037,), (1400784040,), (1400784063,), (1400784066,), (1400784069,), (1400784072,), (1400784093,), (1400784095,), (1400784142,), (1400784146,), (1400784150,), (1400784154,), (1400784157,), (1400784161,), (1400784177,), (1400784188,), (1400784191,), (1400784194,), (1400784197,), (1400784219,), (1400784221,), (1400784223,), (1400784245,), (1400784248,), (1400784253,), (1400784258,), (1400784264,), (1400784268,), (1400784279,), (1400784281,), (1400784307,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29676065 , 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=29676059 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 (29676065) result : ((1400784116,), (1400784137,), (1400784139,), (1400784198,), (1400784199,), (1400784337,), (1400784338,), (1400784339,), (1400784475,), (1400784476,), (1400784477,), (1400784479,), (1400784491,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29676059) result : ((1400783860,), (1400783999,), (1400784001,), (1400784027,), (1400784030,), (1400784034,), (1400784037,), (1400784040,), (1400784063,), (1400784066,), (1400784069,), (1400784072,), (1400784093,), (1400784095,), (1400784142,), (1400784146,), (1400784150,), (1400784154,), (1400784157,), (1400784161,), (1400784177,), (1400784188,), (1400784191,), (1400784194,), (1400784197,), (1400784219,), (1400784221,), (1400784223,), (1400784245,), (1400784248,), (1400784253,), (1400784258,), (1400784264,), (1400784268,), (1400784279,), (1400784281,), (1400784307,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29676066 , 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=29676059 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 (29676066) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29676059) result : ((1400783860,), (1400783999,), (1400784001,), (1400784027,), (1400784030,), (1400784034,), (1400784037,), (1400784040,), (1400784063,), (1400784066,), (1400784069,), (1400784072,), (1400784093,), (1400784095,), (1400784142,), (1400784146,), (1400784150,), (1400784154,), (1400784157,), (1400784161,), (1400784177,), (1400784188,), (1400784191,), (1400784194,), (1400784197,), (1400784219,), (1400784221,), (1400784223,), (1400784245,), (1400784248,), (1400784253,), (1400784258,), (1400784264,), (1400784268,), (1400784279,), (1400784281,), (1400784307,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29676067 , 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=29676059 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 (29676067) result : ((1400784109,), (1400784128,), (1400784129,), (1400784130,), (1400784131,), (1400784195,), (1400784196,), (1400784265,), (1400784464,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29676059) result : ((1400783860,), (1400783999,), (1400784001,), (1400784027,), (1400784030,), (1400784034,), (1400784037,), (1400784040,), (1400784063,), (1400784066,), (1400784069,), (1400784072,), (1400784093,), (1400784095,), (1400784142,), (1400784146,), (1400784150,), (1400784154,), (1400784157,), (1400784161,), (1400784177,), (1400784188,), (1400784191,), (1400784194,), (1400784197,), (1400784219,), (1400784221,), (1400784223,), (1400784245,), (1400784248,), (1400784253,), (1400784258,), (1400784264,), (1400784268,), (1400784279,), (1400784281,), (1400784307,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29676068 , 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=29676059 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 (29676068) result : ((1400784113,), (1400784114,), (1400784115,), (1400784134,), (1400784208,), (1400784335,), (1400784472,), (1400784474,), (1400784490,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29676059) result : ((1400783860,), (1400783999,), (1400784001,), (1400784027,), (1400784030,), (1400784034,), (1400784037,), (1400784040,), (1400784063,), (1400784066,), (1400784069,), (1400784072,), (1400784093,), (1400784095,), (1400784142,), (1400784146,), (1400784150,), (1400784154,), (1400784157,), (1400784161,), (1400784177,), (1400784188,), (1400784191,), (1400784194,), (1400784197,), (1400784219,), (1400784221,), (1400784223,), (1400784245,), (1400784248,), (1400784253,), (1400784258,), (1400784264,), (1400784268,), (1400784279,), (1400784281,), (1400784307,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29676069 , 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=29676059 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 (29676069) result : ((1400784480,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29676059) result : ((1400783860,), (1400783999,), (1400784001,), (1400784027,), (1400784030,), (1400784034,), (1400784037,), (1400784040,), (1400784063,), (1400784066,), (1400784069,), (1400784072,), (1400784093,), (1400784095,), (1400784142,), (1400784146,), (1400784150,), (1400784154,), (1400784157,), (1400784161,), (1400784177,), (1400784188,), (1400784191,), (1400784194,), (1400784197,), (1400784219,), (1400784221,), (1400784223,), (1400784245,), (1400784248,), (1400784253,), (1400784258,), (1400784264,), (1400784268,), (1400784279,), (1400784281,), (1400784307,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29676070 , 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=29676059 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 (29676070) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29676059) result : ((1400783860,), (1400783999,), (1400784001,), (1400784027,), (1400784030,), (1400784034,), (1400784037,), (1400784040,), (1400784063,), (1400784066,), (1400784069,), (1400784072,), (1400784093,), (1400784095,), (1400784142,), (1400784146,), (1400784150,), (1400784154,), (1400784157,), (1400784161,), (1400784177,), (1400784188,), (1400784191,), (1400784194,), (1400784197,), (1400784219,), (1400784221,), (1400784223,), (1400784245,), (1400784248,), (1400784253,), (1400784258,), (1400784264,), (1400784268,), (1400784279,), (1400784281,), (1400784307,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29676071 , 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=29676059 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 (29676071) result : ((1400784110,), (1400784132,), (1400784333,), (1400784334,), (1400784466,), (1400784467,), (1400784468,), (1400784469,), (1400784470,), (1400784486,), (1400784487,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29676059) result : ((1400783860,), (1400783999,), (1400784001,), (1400784027,), (1400784030,), (1400784034,), (1400784037,), (1400784040,), (1400784063,), (1400784066,), (1400784069,), (1400784072,), (1400784093,), (1400784095,), (1400784142,), (1400784146,), (1400784150,), (1400784154,), (1400784157,), (1400784161,), (1400784177,), (1400784188,), (1400784191,), (1400784194,), (1400784197,), (1400784219,), (1400784221,), (1400784223,), (1400784245,), (1400784248,), (1400784253,), (1400784258,), (1400784264,), (1400784268,), (1400784279,), (1400784281,), (1400784307,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29676072 , 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=29676059 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 (29676072) result : ((1400784117,), (1400784118,), (1400784140,), (1400784141,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29676059) result : ((1400783860,), (1400783999,), (1400784001,), (1400784027,), (1400784030,), (1400784034,), (1400784037,), (1400784040,), (1400784063,), (1400784066,), (1400784069,), (1400784072,), (1400784093,), (1400784095,), (1400784142,), (1400784146,), (1400784150,), (1400784154,), (1400784157,), (1400784161,), (1400784177,), (1400784188,), (1400784191,), (1400784194,), (1400784197,), (1400784219,), (1400784221,), (1400784223,), (1400784245,), (1400784248,), (1400784253,), (1400784258,), (1400784264,), (1400784268,), (1400784279,), (1400784281,), (1400784307,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29676073 , 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=29676059 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 (29676073) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29676059) result : ((1400783860,), (1400783999,), (1400784001,), (1400784027,), (1400784030,), (1400784034,), (1400784037,), (1400784040,), (1400784063,), (1400784066,), (1400784069,), (1400784072,), (1400784093,), (1400784095,), (1400784142,), (1400784146,), (1400784150,), (1400784154,), (1400784157,), (1400784161,), (1400784177,), (1400784188,), (1400784191,), (1400784194,), (1400784197,), (1400784219,), (1400784221,), (1400784223,), (1400784245,), (1400784248,), (1400784253,), (1400784258,), (1400784264,), (1400784268,), (1400784279,), (1400784281,), (1400784307,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29676074 , 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=29676059 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 (29676074) result : ((1400784121,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29676059) result : ((1400783860,), (1400783999,), (1400784001,), (1400784027,), (1400784030,), (1400784034,), (1400784037,), (1400784040,), (1400784063,), (1400784066,), (1400784069,), (1400784072,), (1400784093,), (1400784095,), (1400784142,), (1400784146,), (1400784150,), (1400784154,), (1400784157,), (1400784161,), (1400784177,), (1400784188,), (1400784191,), (1400784194,), (1400784197,), (1400784219,), (1400784221,), (1400784223,), (1400784245,), (1400784248,), (1400784253,), (1400784258,), (1400784264,), (1400784268,), (1400784279,), (1400784281,), (1400784307,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29676075 , 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=29676059 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 (29676075) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29676059) result : ((1400783860,), (1400783999,), (1400784001,), (1400784027,), (1400784030,), (1400784034,), (1400784037,), (1400784040,), (1400784063,), (1400784066,), (1400784069,), (1400784072,), (1400784093,), (1400784095,), (1400784142,), (1400784146,), (1400784150,), (1400784154,), (1400784157,), (1400784161,), (1400784177,), (1400784188,), (1400784191,), (1400784194,), (1400784197,), (1400784219,), (1400784221,), (1400784223,), (1400784245,), (1400784248,), (1400784253,), (1400784258,), (1400784264,), (1400784268,), (1400784279,), (1400784281,), (1400784307,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29676059 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','Carton_gris','papier','cartonnette','kraft','flou','mal_croppe','metal','plastique','environnement','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`=29676059 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','Carton_gris','papier','cartonnette','kraft','flou','mal_croppe','metal','plastique','environnement','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 29676059, 'sub_port_id': 29676076, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269455, 'last_updated_at': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 11)}, 'Carton_brun': {'main_port_id': 29676059, 'sub_port_id': 29676077, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269456, 'last_updated_at': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 11)}, 'environnement': {'main_port_id': 29676059, 'sub_port_id': 29676078, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269457, 'last_updated_at': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 11)}, 'autre_refus': {'main_port_id': 29676059, 'sub_port_id': 29676079, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269458, 'last_updated_at': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 11)}, 'cartonnette': {'main_port_id': 29676059, 'sub_port_id': 29676080, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269459, 'last_updated_at': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 11)}, 'kraft': {'main_port_id': 29676059, 'sub_port_id': 29676081, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269460, 'last_updated_at': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 11)}, 'mal_croppe': {'main_port_id': 29676059, 'sub_port_id': 29676082, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269461, 'last_updated_at': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 11)}, 'Carton_gris': {'main_port_id': 29676059, 'sub_port_id': 29676083, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269462, 'last_updated_at': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 11)}, 'plastique': {'main_port_id': 29676059, 'sub_port_id': 29676084, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269463, 'last_updated_at': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 11)}, 'flou': {'main_port_id': 29676059, 'sub_port_id': 29676085, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269464, 'last_updated_at': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 11)}, 'metal': {'main_port_id': 29676059, 'sub_port_id': 29676086, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269465, 'last_updated_at': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 5, 11), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 11)}, 'papier': {'main_port_id': 29676059, 'sub_port_id': 29676087, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20269466, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 22, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 24, 5, 11)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29676076,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29676064 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29676077,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29676065 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29676078,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29676066 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29676079,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29676067 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29676080,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29676068 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29676081,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29676069 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29676082,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29676070 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29676083,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29676071 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29676084,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29676072 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29676085,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29676073 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29676086,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29676074 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29676087,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29676075 lien utilise dans velours : https://marlene.fotonower.com/velours/29676076,29676077,29676078,29676079,29676080,29676081,29676082,29676083,29676084,29676085,29676086,29676087?tags=Teint_Dans_La_Masse,Carton_brun,environnement,autre_refus,cartonnette,kraft,mal_croppe,Carton_gris,plastique,flou,metal,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29676059]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1400784307, 1400784281, 1400784279, 1400784268, 1400784264, 1400784258, 1400784253, 1400784248, 1400784245, 1400784223, 1400784221, 1400784219, 1400784197, 1400784194, 1400784191, 1400784188, 1400784177, 1400784161, 1400784157, 1400784154, 1400784150, 1400784146, 1400784142, 1400784095, 1400784093, 1400784072, 1400784069, 1400784066, 1400784063, 1400784040, 1400784037, 1400784034, 1400784030, 1400784027, 1400784001, 1400783999, 1400783860] map_info['map_portfolio_photo'] : {29676059: [1400784307, 1400784281, 1400784279, 1400784268, 1400784264, 1400784258, 1400784253, 1400784248, 1400784245, 1400784223, 1400784221, 1400784219, 1400784197, 1400784194, 1400784191, 1400784188, 1400784177, 1400784161, 1400784157, 1400784154, 1400784150, 1400784146, 1400784142, 1400784095, 1400784093, 1400784072, 1400784069, 1400784066, 1400784063, 1400784040, 1400784037, 1400784034, 1400784030, 1400784027, 1400784001, 1400783999, 1400783860]} final : False mtd_id 4302 list_pids : [1400784307, 1400784281, 1400784279, 1400784268, 1400784264, 1400784258, 1400784253, 1400784248, 1400784245, 1400784223, 1400784221, 1400784219, 1400784197, 1400784194, 1400784191, 1400784188, 1400784177, 1400784161, 1400784157, 1400784154, 1400784150, 1400784146, 1400784142, 1400784095, 1400784093, 1400784072, 1400784069, 1400784066, 1400784063, 1400784040, 1400784037, 1400784034, 1400784030, 1400784027, 1400784001, 1400783999, 1400783860] Looping around the photos to save general results len do output : 1 /29676059. 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, '4271371') ('4302', '29676059', '1400784307', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784281', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784279', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784268', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784264', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784258', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784253', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784248', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784245', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784223', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784221', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784219', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784197', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784194', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784191', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784188', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784177', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784161', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784157', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784154', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784150', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784146', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784142', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784095', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784093', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784072', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784069', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784066', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784063', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784040', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784037', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784034', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784030', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784027', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784001', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400783999', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400783860', None, None, None, None, None, '4271371') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '29676059', "{'Teint_Dans_La_Masse': 29676064, 'Carton_brun': 29676065, 'environnement': 29676066, 'autre_refus': 29676067, 'cartonnette': 29676068, 'kraft': 29676069, 'mal_croppe': 29676070, 'Carton_gris': 29676071, 'plastique': 29676072, 'flou': 29676073, 'metal': 29676074, 'papier': 29676075}", None, None, None, None, '4271371'), ('4302', '29676059', '1400784307', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784281', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784279', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784268', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784264', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784258', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784253', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784248', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784245', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784223', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784221', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784219', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784197', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784194', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784191', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784188', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784177', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784161', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784157', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784154', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784150', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784146', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784142', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784095', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784093', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784072', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784069', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784066', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784063', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784040', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784037', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784034', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784030', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784027', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784001', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400783999', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400783860', None, None, None, None, None, '4271371')] time used for this insertion : 0.022713184356689453 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8006987571716309 time spend to save output : 0.023174762725830078 total time spend for step 1 : 1.823873519897461 step2:final Thu Dec 25 05:39:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (29676059) 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 29676059 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1400783860,1400784001,1400783999,1400784040,1400784037,1400784034,1400784030,1400784027,1400784072,1400784069,1400784066,1400784063,1400784095,1400784093,1400784161,1400784157,1400784154,1400784150,1400784146,1400784142,1400784197,1400784177,1400784194,1400784191,1400784188,1400784281,1400784223,1400784221,1400784279,1400784268,1400784219,1400784264,1400784258,1400784253,1400784248,1400784245,1400784307); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29676059]) Inside saveOutput : final : False verbose : True original output for save of step final : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} new output for save of step final : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} [1400784307, 1400784281, 1400784279, 1400784268, 1400784264, 1400784258, 1400784253, 1400784248, 1400784245, 1400784223, 1400784221, 1400784219, 1400784197, 1400784194, 1400784191, 1400784188, 1400784177, 1400784161, 1400784157, 1400784154, 1400784150, 1400784146, 1400784142, 1400784095, 1400784093, 1400784072, 1400784069, 1400784066, 1400784063, 1400784040, 1400784037, 1400784034, 1400784030, 1400784027, 1400784001, 1400783999, 1400783860] map_info['map_portfolio_photo'] : {29676059: [1400784307, 1400784281, 1400784279, 1400784268, 1400784264, 1400784258, 1400784253, 1400784248, 1400784245, 1400784223, 1400784221, 1400784219, 1400784197, 1400784194, 1400784191, 1400784188, 1400784177, 1400784161, 1400784157, 1400784154, 1400784150, 1400784146, 1400784142, 1400784095, 1400784093, 1400784072, 1400784069, 1400784066, 1400784063, 1400784040, 1400784037, 1400784034, 1400784030, 1400784027, 1400784001, 1400783999, 1400783860]} final : False mtd_id 4302 list_pids : [1400784307, 1400784281, 1400784279, 1400784268, 1400784264, 1400784258, 1400784253, 1400784248, 1400784245, 1400784223, 1400784221, 1400784219, 1400784197, 1400784194, 1400784191, 1400784188, 1400784177, 1400784161, 1400784157, 1400784154, 1400784150, 1400784146, 1400784142, 1400784095, 1400784093, 1400784072, 1400784069, 1400784066, 1400784063, 1400784040, 1400784037, 1400784034, 1400784030, 1400784027, 1400784001, 1400783999, 1400783860] Looping around the photos to save general results len do output : 37 /1400784307.Didn't retrieve data . /1400784281.Didn't retrieve data . /1400784279.Didn't retrieve data . /1400784268.Didn't retrieve data . /1400784264.Didn't retrieve data . /1400784258.Didn't retrieve data . /1400784253.Didn't retrieve data . /1400784248.Didn't retrieve data . /1400784245.Didn't retrieve data . /1400784223.Didn't retrieve data . /1400784221.Didn't retrieve data . /1400784219.Didn't retrieve data . /1400784197.Didn't retrieve data . /1400784194.Didn't retrieve data . /1400784191.Didn't retrieve data . /1400784188.Didn't retrieve data . /1400784177.Didn't retrieve data . /1400784161.Didn't retrieve data . /1400784157.Didn't retrieve data . /1400784154.Didn't retrieve data . /1400784150.Didn't retrieve data . /1400784146.Didn't retrieve data . /1400784142.Didn't retrieve data . /1400784095.Didn't retrieve data . /1400784093.Didn't retrieve data . /1400784072.Didn't retrieve data . /1400784069.Didn't retrieve data . /1400784066.Didn't retrieve data . /1400784063.Didn't retrieve data . /1400784040.Didn't retrieve data . /1400784037.Didn't retrieve data . /1400784034.Didn't retrieve data . /1400784030.Didn't retrieve data . /1400784027.Didn't retrieve data . /1400784001.Didn't retrieve data . /1400783999.Didn't retrieve data . /1400783860.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, '4271371') ('4302', '29676059', '1400784307', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784281', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784279', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784268', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784264', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784258', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784253', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784248', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784245', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784223', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784221', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784219', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784197', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784194', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784191', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784188', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784177', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784161', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784157', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784154', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784150', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784146', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784142', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784095', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784093', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784072', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784069', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784066', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784063', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784040', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784037', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784034', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784030', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784027', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784001', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400783999', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400783860', None, None, None, None, None, '4271371') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 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', '29676059', '1400784307', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784281', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784279', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784268', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784264', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784258', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784253', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784248', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784245', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784223', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784221', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784219', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784197', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784194', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784191', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784188', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784177', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784161', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784157', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784154', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784150', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784146', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784142', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784095', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784093', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784072', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784069', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784066', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784063', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784040', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784037', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784034', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784030', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784027', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400784001', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400783999', '0.047426909881546776', None, None, None, None, '4271371'), ('4302', '29676059', '1400783860', '0.047426909881546776', None, None, None, None, '4271371')] time used for this insertion : 0.024124860763549805 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07588863372802734 time spend to save output : 0.025584697723388672 total time spend for step 2 : 0.10147333145141602 step3:velours_tree Thu Dec 25 05:39:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {29676059: [{'Teint_Dans_La_Masse': 29676064, 'Carton_brun': 29676065, 'environnement': 29676066, 'autre_refus': 29676067, 'cartonnette': 29676068, 'kraft': 29676069, 'mal_croppe': 29676070, 'Carton_gris': 29676071, 'plastique': 29676072, 'flou': 29676073, 'metal': 29676074, 'papier': 29676075}]} input_args_next_step : {29676059: ()} output_args : {29676059: [{'Teint_Dans_La_Masse': 29676064, 'Carton_brun': 29676065, 'environnement': 29676066, 'autre_refus': 29676067, 'cartonnette': 29676068, 'kraft': 29676069, 'mal_croppe': 29676070, 'Carton_gris': 29676071, 'plastique': 29676072, 'flou': 29676073, 'metal': 29676074, 'papier': 29676075}]} args : 29676059 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 : ({'Teint_Dans_La_Masse': 29676064, 'Carton_brun': 29676065, 'environnement': 29676066, 'autre_refus': 29676067, 'cartonnette': 29676068, 'kraft': 29676069, 'mal_croppe': 29676070, 'Carton_gris': 29676071, 'plastique': 29676072, 'flou': 29676073, 'metal': 29676074, 'papier': 29676075},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29676059) 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([29676059]) 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.24547481536865234 time spend to save output : 4.76837158203125e-05 total time spend for step 3 : 0.24552249908447266 step4:send_mail_cod Thu Dec 25 05:39:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} input_args_next_step : {1400784307: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784307 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784281 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784279 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784268 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784264 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784258 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784253 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784248 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784245 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784223 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784221 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784219 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784197 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784194 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784191 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784188 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784177 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784161 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784157 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784154 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784150 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784146 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784142 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784095 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784093 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784072 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784069 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784066 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784063 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784040 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784037 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784034 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784030 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784027 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400784001 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400783999 depend.output_id : 0 input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ()} output_args : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',)} args : 1400783860 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 : {29676059: [{'Teint_Dans_La_Masse': 29676064, 'Carton_brun': 29676065, 'environnement': 29676066, 'autre_refus': 29676067, 'cartonnette': 29676068, 'kraft': 29676069, 'mal_croppe': 29676070, 'Carton_gris': 29676071, 'plastique': 29676072, 'flou': 29676073, 'metal': 29676074, 'papier': 29676075}]} input_args_next_step : {1400784307: ('0.047426909881546776',), 1400784281: ('0.047426909881546776',), 1400784279: ('0.047426909881546776',), 1400784268: ('0.047426909881546776',), 1400784264: ('0.047426909881546776',), 1400784258: ('0.047426909881546776',), 1400784253: ('0.047426909881546776',), 1400784248: ('0.047426909881546776',), 1400784245: ('0.047426909881546776',), 1400784223: ('0.047426909881546776',), 1400784221: ('0.047426909881546776',), 1400784219: ('0.047426909881546776',), 1400784197: ('0.047426909881546776',), 1400784194: ('0.047426909881546776',), 1400784191: ('0.047426909881546776',), 1400784188: ('0.047426909881546776',), 1400784177: ('0.047426909881546776',), 1400784161: ('0.047426909881546776',), 1400784157: ('0.047426909881546776',), 1400784154: ('0.047426909881546776',), 1400784150: ('0.047426909881546776',), 1400784146: ('0.047426909881546776',), 1400784142: ('0.047426909881546776',), 1400784095: ('0.047426909881546776',), 1400784093: ('0.047426909881546776',), 1400784072: ('0.047426909881546776',), 1400784069: ('0.047426909881546776',), 1400784066: ('0.047426909881546776',), 1400784063: ('0.047426909881546776',), 1400784040: ('0.047426909881546776',), 1400784037: ('0.047426909881546776',), 1400784034: ('0.047426909881546776',), 1400784030: ('0.047426909881546776',), 1400784027: ('0.047426909881546776',), 1400784001: ('0.047426909881546776',), 1400783999: ('0.047426909881546776',), 1400783860: ('0.047426909881546776',), 29676059: ()} output_args : {29676059: [{'Teint_Dans_La_Masse': 29676064, 'Carton_brun': 29676065, 'environnement': 29676066, 'autre_refus': 29676067, 'cartonnette': 29676068, 'kraft': 29676069, 'mal_croppe': 29676070, 'Carton_gris': 29676071, 'plastique': 29676072, 'flou': 29676073, 'metal': 29676074, 'papier': 29676075}]} args : 29676059 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 :38, first value : ('0.047426909881546776',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29676059) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1400784307,1400784281,1400784279,1400784268,1400784264,1400784258,1400784253,1400784248,1400784245,1400784223,1400784221,1400784219,1400784197,1400784194,1400784191,1400784188,1400784177,1400784161,1400784157,1400784154,1400784150,1400784146,1400784142,1400784095,1400784093,1400784072,1400784069,1400784066,1400784063,1400784040,1400784037,1400784034,1400784030,1400784027,1400784001,1400783999,1400783860) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1400783860 begin to download photo : 1400784063 begin to download photo : 1400784150 begin to download photo : 1400784197 begin to download photo : 1400784264 download finish for photo 1400784150 begin to download photo : 1400784154 download finish for photo 1400784197 begin to download photo : 1400784219 download finish for photo 1400784063 begin to download photo : 1400784066 download finish for photo 1400783860 begin to download photo : 1400783999 download finish for photo 1400784264 begin to download photo : 1400784268 download finish for photo 1400783999 begin to download photo : 1400784001 download finish for photo 1400784154 begin to download photo : 1400784157 download finish for photo 1400784066 begin to download photo : 1400784069 download finish for photo 1400784268 begin to download photo : 1400784279 download finish for photo 1400784219 begin to download photo : 1400784221 download finish for photo 1400784001 begin to download photo : 1400784027 download finish for photo 1400784279 begin to download photo : 1400784281 download finish for photo 1400784157 begin to download photo : 1400784161 download finish for photo 1400784069 begin to download photo : 1400784072 download finish for photo 1400784027 begin to download photo : 1400784030 download finish for photo 1400784281 begin to download photo : 1400784307 download finish for photo 1400784072 begin to download photo : 1400784093 download finish for photo 1400784221 begin to download photo : 1400784223 download finish for photo 1400784093 begin to download photo : 1400784095 download finish for photo 1400784307 download finish for photo 1400784030 begin to download photo : 1400784034 download finish for photo 1400784161 begin to download photo : 1400784177 download finish for photo 1400784223 begin to download photo : 1400784245 download finish for photo 1400784034 begin to download photo : 1400784037 download finish for photo 1400784095 begin to download photo : 1400784142 download finish for photo 1400784177 begin to download photo : 1400784188 download finish for photo 1400784245 begin to download photo : 1400784248 download finish for photo 1400784037 begin to download photo : 1400784040 download finish for photo 1400784142 begin to download photo : 1400784146 download finish for photo 1400784188 begin to download photo : 1400784191 download finish for photo 1400784040 download finish for photo 1400784146 download finish for photo 1400784248 begin to download photo : 1400784253 download finish for photo 1400784191 begin to download photo : 1400784194 download finish for photo 1400784253 begin to download photo : 1400784258 download finish for photo 1400784194 download finish for photo 1400784258 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P29676059_25-12-2025_05_40_01.pdf 29676067 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29676067 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1400784109: '1766549466_4106199_1400784063_d09929138a075f892fb7ac41fd814253_rle_crop_4079740345_0.png', 1400784128: '1766549486_4107409_1400784072_c6c70e0e47c2191648e1fb5729aad750_rle_crop_4079740480_0.png', 1400784129: '1766549486_4107409_1400784037_c8c12ece0258bdc50ab1fad3571f07ab_rle_crop_4079740498_0.png', 1400784130: '1766549486_4107409_1400784037_c8c12ece0258bdc50ab1fad3571f07ab_rle_crop_4079740493_0.png', 1400784131: '1766549486_4107409_1400784027_6c30d2bfe94585d9763f8f0b2aa125a7_rle_crop_4079740532_0.png', 1400784195: '1766549587_4112593_1400784095_9ac71532311758fb6f33bcecee348e9b_rle_crop_4079740582_0.png', 1400784196: '1766549587_4112593_1400784095_9ac71532311758fb6f33bcecee348e9b_rle_crop_4079740581_0.png', 1400784265: '1766549705_4117858_1400784093_2eef7c142c657acefec0b9fcfa37740f_rle_crop_4079740664_0.png', 1400784464: '1766550065_4135431_1400784188_bdac504e28802a5f9a2c2b0154ba6e4b_rle_crop_4079741587_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/a70ec0d379c17740a577507143cd4d94_26373911.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/1ff3f13e2a8aad5d8049f0ab656c821a_65096499.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/4756ef499fc2c941c71be656d28be6a0_8188064.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/bbcc28b73ef7d7c82e57fd8d878ef87e_3653229.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/f5d5d9f57cc1de160c560e78c46e4005_20908005.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/8ed3fad4206882aa94fe81c42752db01_23222800.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/36a6c62b10e0cc3486ce200f75219c12_48062819.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/be0c5476b7bca391a3f3fc776f3a59cb_61470256.png change filename to text .imagette296760671766637601/ imagette296760671766637601/1766549486_4107409_1400784027_6c30d2bfe94585d9763f8f0b2aa125a7_rle_crop_4079740532_0.png.png imagette296760671766637601/1766549705_4117858_1400784093_2eef7c142c657acefec0b9fcfa37740f_rle_crop_4079740664_0.png.png imagette296760671766637601/1766549486_4107409_1400784072_c6c70e0e47c2191648e1fb5729aad750_rle_crop_4079740480_0.png.png imagette296760671766637601/1766549587_4112593_1400784095_9ac71532311758fb6f33bcecee348e9b_rle_crop_4079740581_0.png.png imagette296760671766637601/1766549486_4107409_1400784037_c8c12ece0258bdc50ab1fad3571f07ab_rle_crop_4079740498_0.png.png imagette296760671766637601/1766549466_4106199_1400784063_d09929138a075f892fb7ac41fd814253_rle_crop_4079740345_0.png.png imagette296760671766637601/1766549587_4112593_1400784095_9ac71532311758fb6f33bcecee348e9b_rle_crop_4079740582_0.png.png imagette296760671766637601/1766550065_4135431_1400784188_bdac504e28802a5f9a2c2b0154ba6e4b_rle_crop_4079741587_0.png.png imagette296760671766637601/1766549486_4107409_1400784037_c8c12ece0258bdc50ab1fad3571f07ab_rle_crop_4079740493_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/bcc3c0dd38fba98fff1461db8a3105e3_3432792.png imagette296760671766637601 29676068 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29676068 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1400784113: '1766549466_4106199_1400784069_3608ed8be059bd341eee764c19302c41_rle_crop_4079740318_0.png', 1400784114: '1766549466_4106199_1400784066_10f71a6c4050f9ae548813fb16ced696_rle_crop_4079740329_0.png', 1400784115: '1766549466_4106199_1400784063_d09929138a075f892fb7ac41fd814253_rle_crop_4079740347_0.png', 1400784134: '1766549486_4107409_1400784037_c8c12ece0258bdc50ab1fad3571f07ab_rle_crop_4079740491_0.png', 1400784208: '1766549606_4113063_1400784040_64638b6c3d4d4acdf837e94040724b44_rle_crop_4079740613_0.png', 1400784335: '1766549824_4125106_1400784245_81f988fe53bba8f3b5f01d84971b9927_rle_crop_4079740857_0.png', 1400784472: '1766550065_4135431_1400784194_286a72ddbe40f5e9d9e95bad7b2d3140_rle_crop_4079741423_0.png', 1400784474: '1766550065_4135431_1400784191_d49eb1ed80faec92a813f87205d9eee3_rle_crop_4079741441_0.png', 1400784490: '1766550085_4135998_1400784197_d01a4b3fe5eb3b096dfda23385f5210b_rle_crop_4079741628_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/bdfa0e09033c19381df30a6c2c06db2d_2118437.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/6c0272ea00792f0ba379a74bcb36de04_81415627.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/7e619f970092355e4b259938e67804f5_75100214.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/db5c531603f7b377523a0d4677508e5e_22941508.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/40caaaf6e7032567c3238bbfe0960fa5_54409005.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/bf220520e0a5b42eb1039f0891baaf8a_42142625.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/c3725d129196de3d6564dfd783eca006_44678863.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/ddc6ee65912c1bc725ca23dea3db95eb_43321078.png change filename to text .imagette296760681766637602/ imagette296760681766637602/1766550065_4135431_1400784194_286a72ddbe40f5e9d9e95bad7b2d3140_rle_crop_4079741423_0.png.png imagette296760681766637602/1766549466_4106199_1400784069_3608ed8be059bd341eee764c19302c41_rle_crop_4079740318_0.png.png imagette296760681766637602/1766549466_4106199_1400784066_10f71a6c4050f9ae548813fb16ced696_rle_crop_4079740329_0.png.png imagette296760681766637602/1766549606_4113063_1400784040_64638b6c3d4d4acdf837e94040724b44_rle_crop_4079740613_0.png.png imagette296760681766637602/1766549466_4106199_1400784063_d09929138a075f892fb7ac41fd814253_rle_crop_4079740347_0.png.png imagette296760681766637602/1766550085_4135998_1400784197_d01a4b3fe5eb3b096dfda23385f5210b_rle_crop_4079741628_0.png.png imagette296760681766637602/1766549486_4107409_1400784037_c8c12ece0258bdc50ab1fad3571f07ab_rle_crop_4079740491_0.png.png imagette296760681766637602/1766550065_4135431_1400784191_d49eb1ed80faec92a813f87205d9eee3_rle_crop_4079741441_0.png.png imagette296760681766637602/1766549824_4125106_1400784245_81f988fe53bba8f3b5f01d84971b9927_rle_crop_4079740857_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/51fc8956d1c1c301f462a6648843508f_14284696.png imagette296760681766637602 29676069 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29676069 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1400784480: '1766550065_4135431_1400784194_286a72ddbe40f5e9d9e95bad7b2d3140_rle_crop_4079741422_0.png'} change filename to text .imagette296760691766637604/ imagette296760691766637604/1766550065_4135431_1400784194_286a72ddbe40f5e9d9e95bad7b2d3140_rle_crop_4079741422_0.png.png imagette296760701766637604/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/5c6649b2d89f38e2c40ee94e77ff3158_74025908.png imagette296760691766637604 29676070 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29676070 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette296760701766637604 29676072 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29676072 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1400784117: '1766549466_4106199_1400784069_3608ed8be059bd341eee764c19302c41_rle_crop_4079740327_0.png', 1400784118: '1766549466_4106199_1400784066_10f71a6c4050f9ae548813fb16ced696_rle_crop_4079740339_0.png', 1400784140: '1766549486_4107409_1400784072_c6c70e0e47c2191648e1fb5729aad750_rle_crop_4079740486_0.png', 1400784141: '1766549486_4107409_1400784027_6c30d2bfe94585d9763f8f0b2aa125a7_rle_crop_4079740537_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/c878b7c3660589ee2cdfe41d0a2178ec_78443629.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/b0f6d1897824a3c69ed787465388a9ab_75790870.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/c37d28a4c89ff45d489fb67f30cd2cdf_17943452.png change filename to text .imagette296760721766637604/ imagette296760721766637604/1766549466_4106199_1400784066_10f71a6c4050f9ae548813fb16ced696_rle_crop_4079740339_0.png.png imagette296760721766637604/1766549486_4107409_1400784027_6c30d2bfe94585d9763f8f0b2aa125a7_rle_crop_4079740537_0.png.png imagette296760721766637604/1766549486_4107409_1400784072_c6c70e0e47c2191648e1fb5729aad750_rle_crop_4079740486_0.png.png imagette296760721766637604/1766549466_4106199_1400784069_3608ed8be059bd341eee764c19302c41_rle_crop_4079740327_0.png.png imagette296760731766637604/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/9b43b786e5e7d104ed7faabe1ca0fe1f_42359061.png imagette296760721766637604 29676073 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29676073 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette296760731766637604 29676074 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29676074 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1400784121: '1766549466_4106199_1400784069_3608ed8be059bd341eee764c19302c41_rle_crop_4079740324_0.png'} change filename to text .imagette296760741766637604/ imagette296760741766637604/1766549466_4106199_1400784069_3608ed8be059bd341eee764c19302c41_rle_crop_4079740324_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/f26194c6b9ada43601b9f51791282d44_94376019.png imagette296760741766637604 29676064 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29676064 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1400784108: '1766549466_4106199_1400784066_10f71a6c4050f9ae548813fb16ced696_rle_crop_4079740334_0.png', 1400784263: '1766549705_4117858_1400784093_2eef7c142c657acefec0b9fcfa37740f_rle_crop_4079740662_0.png', 1400784484: '1766550085_4135998_1400784142_a30406c5c5cf696dc2eeb767f281caed_rle_crop_4079741678_0.png', 1400784485: '1766550085_4135998_1400784142_a30406c5c5cf696dc2eeb767f281caed_rle_crop_4079741672_0.png', 1400784664: '1766550327_4147768_1400784307_b2191be584a2be6dbb9f154fd41fc522_rle_crop_4079742611_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/ad14dc699be83b7ae3cbd64cb389b65c_68299006.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/1506ee09f55e93f7b40c20627cf45b5c_75832918.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/55c52c9d51498c7fd619c2ce0f86ca30_63674021.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/e7cb0f1e80f29856b03298a3467679e5_76553333.png change filename to text .imagette296760641766637605/ imagette296760641766637605/1766550085_4135998_1400784142_a30406c5c5cf696dc2eeb767f281caed_rle_crop_4079741678_0.png.png imagette296760641766637605/1766550085_4135998_1400784142_a30406c5c5cf696dc2eeb767f281caed_rle_crop_4079741672_0.png.png imagette296760641766637605/1766550327_4147768_1400784307_b2191be584a2be6dbb9f154fd41fc522_rle_crop_4079742611_0.png.png imagette296760641766637605/1766549705_4117858_1400784093_2eef7c142c657acefec0b9fcfa37740f_rle_crop_4079740662_0.png.png imagette296760641766637605/1766549466_4106199_1400784066_10f71a6c4050f9ae548813fb16ced696_rle_crop_4079740334_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/230e9c8d728fb2a98a0a912ba0a3993a_30002766.png imagette296760641766637605 29676065 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29676065 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1400784116: '1766549466_4106199_1400784069_3608ed8be059bd341eee764c19302c41_rle_crop_4079740323_0.png', 1400784137: '1766549486_4107409_1400784034_cd6210a8f42d7083d35c8a4953091b7d_rle_crop_4079740507_0.png', 1400784139: '1766549486_4107409_1400784030_c0e1ea6c8930b78623f604a111a4c373_rle_crop_4079740517_0.png', 1400784198: '1766549587_4112593_1400784095_9ac71532311758fb6f33bcecee348e9b_rle_crop_4079740585_0.png', 1400784199: '1766549587_4112593_1400784095_9ac71532311758fb6f33bcecee348e9b_rle_crop_4079740584_0.png', 1400784337: '1766549824_4125106_1400784258_2853b16a7294bd9408856279ccbeff4e_rle_crop_4079740818_0.png', 1400784338: '1766549824_4125106_1400784253_f3dada556772fc4c09c3ef303eb5ca26_rle_crop_4079740826_0.png', 1400784339: '1766549824_4125106_1400784248_eb5ee8bfb76ad4d0acdd3082b4173f46_rle_crop_4079740841_0.png', 1400784475: '1766550065_4135431_1400784281_ce1492f0703ca8ac2c55346f2b1ce195_rle_crop_4079741395_0.png', 1400784476: '1766550065_4135431_1400784223_904915308181336f093c3e8d02815433_rle_crop_4079741413_0.png', 1400784477: '1766550065_4135431_1400784191_d49eb1ed80faec92a813f87205d9eee3_rle_crop_4079741440_0.png', 1400784479: '1766550065_4135431_1400784191_d49eb1ed80faec92a813f87205d9eee3_rle_crop_4079741436_0.png', 1400784491: '1766550085_4135998_1400784146_2b8b3f01ec43b4274c7d3338bd50593f_rle_crop_4079741659_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/a507affa7a5a0515ffe36f33f1790507_4335651.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/afbb64e4648c1d9d5c7ac9e02ad60f16_4658580.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/5b236a2699a4a30919d505bcafc70696_45837075.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/b3885036a17df085550e7e764c861fe5_36188945.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/ba4ec973266a0ad0be169a351f578836_18679275.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/6ec0cf345b6623ada5cc5b76f0e7bf52_14446074.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/56607ac31ee24766b05609903f4ddc9d_87509994.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/d8bd23d948282306ac8e318851780629_68362875.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/5a47d20b85dc3d71d18e41300cbde566_63197228.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/5a47d20b85dc3d71d18e41300cbde566_35584092.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/97391a4f97f5228f4d56d866a725a777_26237228.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/307a6e1e2c0127abe1d3c780e9bca0a4_21409592.png change filename to text .imagette296760651766637605/ imagette296760651766637605/1766549486_4107409_1400784034_cd6210a8f42d7083d35c8a4953091b7d_rle_crop_4079740507_0.png.png imagette296760651766637605/1766549824_4125106_1400784248_eb5ee8bfb76ad4d0acdd3082b4173f46_rle_crop_4079740841_0.png.png imagette296760651766637605/1766549587_4112593_1400784095_9ac71532311758fb6f33bcecee348e9b_rle_crop_4079740585_0.png.png imagette296760651766637605/1766549587_4112593_1400784095_9ac71532311758fb6f33bcecee348e9b_rle_crop_4079740584_0.png.png imagette296760651766637605/1766549466_4106199_1400784069_3608ed8be059bd341eee764c19302c41_rle_crop_4079740323_0.png.png imagette296760651766637605/1766550065_4135431_1400784223_904915308181336f093c3e8d02815433_rle_crop_4079741413_0.png.png imagette296760651766637605/1766549486_4107409_1400784030_c0e1ea6c8930b78623f604a111a4c373_rle_crop_4079740517_0.png.png imagette296760651766637605/1766549824_4125106_1400784253_f3dada556772fc4c09c3ef303eb5ca26_rle_crop_4079740826_0.png.png imagette296760651766637605/1766550065_4135431_1400784281_ce1492f0703ca8ac2c55346f2b1ce195_rle_crop_4079741395_0.png.png imagette296760651766637605/1766550065_4135431_1400784191_d49eb1ed80faec92a813f87205d9eee3_rle_crop_4079741436_0.png.png imagette296760651766637605/1766549824_4125106_1400784258_2853b16a7294bd9408856279ccbeff4e_rle_crop_4079740818_0.png.png imagette296760651766637605/1766550065_4135431_1400784191_d49eb1ed80faec92a813f87205d9eee3_rle_crop_4079741440_0.png.png imagette296760651766637605/1766550085_4135998_1400784146_2b8b3f01ec43b4274c7d3338bd50593f_rle_crop_4079741659_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/3380286053363bb5e834d16b5b249ed4_33688357.png imagette296760651766637605 29676071 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29676071 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1400784110: '1766549466_4106199_1400784069_3608ed8be059bd341eee764c19302c41_rle_crop_4079740319_0.png', 1400784132: '1766549486_4107409_1400784034_cd6210a8f42d7083d35c8a4953091b7d_rle_crop_4079740505_0.png', 1400784333: '1766549824_4125106_1400784258_2853b16a7294bd9408856279ccbeff4e_rle_crop_4079740815_0.png', 1400784334: '1766549824_4125106_1400784253_f3dada556772fc4c09c3ef303eb5ca26_rle_crop_4079740824_0.png', 1400784466: '1766550065_4135431_1400784281_ce1492f0703ca8ac2c55346f2b1ce195_rle_crop_4079741390_0.png', 1400784467: '1766550065_4135431_1400784281_ce1492f0703ca8ac2c55346f2b1ce195_rle_crop_4079741396_0.png', 1400784468: '1766550065_4135431_1400784223_904915308181336f093c3e8d02815433_rle_crop_4079741408_0.png', 1400784469: '1766550065_4135431_1400784223_904915308181336f093c3e8d02815433_rle_crop_4079741414_0.png', 1400784470: '1766550065_4135431_1400784177_6d34a996abaac6d9795400f563cfed41_rle_crop_4079741596_0.png', 1400784486: '1766550085_4135998_1400784142_a30406c5c5cf696dc2eeb767f281caed_rle_crop_4079741675_0.png', 1400784487: '1766550085_4135998_1400784142_a30406c5c5cf696dc2eeb767f281caed_rle_crop_4079741671_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/c9d64a6dbf91ccea7cf7f87d6f2a2e88_22772830.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/c838770ac15c5d3c75575edb4b33e959_50159205.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/3b886af28c21e57c1185eb97141689e4_82256870.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/ce5582a4a88e0080b8c6fa53ff1aedf5_39637906.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/d98645d34ccf1a9ea5800184b90834f6_22845171.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/43d1775d251c17b8e8aea75db0c5426d_55703950.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/d98645d34ccf1a9ea5800184b90834f6_30502931.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/43d1775d251c17b8e8aea75db0c5426d_52788720.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/02745bb1972d3c60c7ee4a414afd47d0_50047489.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/0944c5dc324ed444c60745f9eb431ccb_70605669.png change filename to text .imagette296760711766637607/ imagette296760711766637607/1766550085_4135998_1400784142_a30406c5c5cf696dc2eeb767f281caed_rle_crop_4079741675_0.png.png imagette296760711766637607/1766550065_4135431_1400784223_904915308181336f093c3e8d02815433_rle_crop_4079741408_0.png.png imagette296760711766637607/1766549466_4106199_1400784069_3608ed8be059bd341eee764c19302c41_rle_crop_4079740319_0.png.png imagette296760711766637607/1766550065_4135431_1400784281_ce1492f0703ca8ac2c55346f2b1ce195_rle_crop_4079741390_0.png.png imagette296760711766637607/1766550065_4135431_1400784281_ce1492f0703ca8ac2c55346f2b1ce195_rle_crop_4079741396_0.png.png imagette296760711766637607/1766549824_4125106_1400784258_2853b16a7294bd9408856279ccbeff4e_rle_crop_4079740815_0.png.png imagette296760711766637607/1766550085_4135998_1400784142_a30406c5c5cf696dc2eeb767f281caed_rle_crop_4079741671_0.png.png imagette296760711766637607/1766550065_4135431_1400784223_904915308181336f093c3e8d02815433_rle_crop_4079741414_0.png.png imagette296760711766637607/1766549824_4125106_1400784253_f3dada556772fc4c09c3ef303eb5ca26_rle_crop_4079740824_0.png.png imagette296760711766637607/1766550065_4135431_1400784177_6d34a996abaac6d9795400f563cfed41_rle_crop_4079741596_0.png.png imagette296760711766637607/1766549486_4107409_1400784034_cd6210a8f42d7083d35c8a4953091b7d_rle_crop_4079740505_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/40be1b87ee6e6e089f5548071e33b3c3_88600093.png imagette296760711766637607 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29676059 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29676076,29676077,29676078,29676079,29676080,29676081,29676082,29676083,29676084,29676085,29676086,29676087?tags=Teint_Dans_La_Masse,Carton_brun,environnement,autre_refus,cartonnette,kraft,mal_croppe,Carton_gris,plastique,flou,metal,papier your option no_mail is active, we will not send the real mail to your client args[1400784307] : ('0.047426909881546776',) no score found for photo 1400784307 We are sending mail with results at report@fotonower.com args[1400784281] : ('0.047426909881546776',) no score found for photo 1400784281 We are sending mail with results at report@fotonower.com args[1400784279] : ('0.047426909881546776',) no score found for photo 1400784279 We are sending mail with results at report@fotonower.com args[1400784268] : ('0.047426909881546776',) no score found for photo 1400784268 We are sending mail with results at report@fotonower.com args[1400784264] : ('0.047426909881546776',) no score found for photo 1400784264 We are sending mail with results at report@fotonower.com args[1400784258] : ('0.047426909881546776',) no score found for photo 1400784258 We are sending mail with results at report@fotonower.com args[1400784253] : ('0.047426909881546776',) no score found for photo 1400784253 We are sending mail with results at report@fotonower.com args[1400784248] : ('0.047426909881546776',) no score found for photo 1400784248 We are sending mail with results at report@fotonower.com args[1400784245] : ('0.047426909881546776',) no score found for photo 1400784245 We are sending mail with results at report@fotonower.com args[1400784223] : ('0.047426909881546776',) no score found for photo 1400784223 We are sending mail with results at report@fotonower.com args[1400784221] : ('0.047426909881546776',) no score found for photo 1400784221 We are sending mail with results at report@fotonower.com args[1400784219] : ('0.047426909881546776',) no score found for photo 1400784219 We are sending mail with results at report@fotonower.com args[1400784197] : ('0.047426909881546776',) no score found for photo 1400784197 We are sending mail with results at report@fotonower.com args[1400784194] : ('0.047426909881546776',) no score found for photo 1400784194 We are sending mail with results at report@fotonower.com args[1400784191] : ('0.047426909881546776',) no score found for photo 1400784191 We are sending mail with results at report@fotonower.com args[1400784188] : ('0.047426909881546776',) no score found for photo 1400784188 We are sending mail with results at report@fotonower.com args[1400784177] : ('0.047426909881546776',) no score found for photo 1400784177 We are sending mail with results at report@fotonower.com args[1400784161] : ('0.047426909881546776',) no score found for photo 1400784161 We are sending mail with results at report@fotonower.com args[1400784157] : ('0.047426909881546776',) no score found for photo 1400784157 We are sending mail with results at report@fotonower.com args[1400784154] : ('0.047426909881546776',) no score found for photo 1400784154 We are sending mail with results at report@fotonower.com args[1400784150] : ('0.047426909881546776',) no score found for photo 1400784150 We are sending mail with results at report@fotonower.com args[1400784146] : ('0.047426909881546776',) no score found for photo 1400784146 We are sending mail with results at report@fotonower.com args[1400784142] : ('0.047426909881546776',) no score found for photo 1400784142 We are sending mail with results at report@fotonower.com args[1400784095] : ('0.047426909881546776',) no score found for photo 1400784095 We are sending mail with results at report@fotonower.com args[1400784093] : ('0.047426909881546776',) no score found for photo 1400784093 We are sending mail with results at report@fotonower.com args[1400784072] : ('0.047426909881546776',) no score found for photo 1400784072 We are sending mail with results at report@fotonower.com args[1400784069] : ('0.047426909881546776',) no score found for photo 1400784069 We are sending mail with results at report@fotonower.com args[1400784066] : ('0.047426909881546776',) no score found for photo 1400784066 We are sending mail with results at report@fotonower.com args[1400784063] : ('0.047426909881546776',) no score found for photo 1400784063 We are sending mail with results at report@fotonower.com args[1400784040] : ('0.047426909881546776',) no score found for photo 1400784040 We are sending mail with results at report@fotonower.com args[1400784037] : ('0.047426909881546776',) no score found for photo 1400784037 We are sending mail with results at report@fotonower.com args[1400784034] : ('0.047426909881546776',) no score found for photo 1400784034 We are sending mail with results at report@fotonower.com args[1400784030] : ('0.047426909881546776',) no score found for photo 1400784030 We are sending mail with results at report@fotonower.com args[1400784027] : ('0.047426909881546776',) no score found for photo 1400784027 We are sending mail with results at report@fotonower.com args[1400784001] : ('0.047426909881546776',) no score found for photo 1400784001 We are sending mail with results at report@fotonower.com args[1400783999] : ('0.047426909881546776',) no score found for photo 1400783999 We are sending mail with results at report@fotonower.com args[1400783860] : ('0.047426909881546776',) no score found for photo 1400783860 We are sending mail with results at report@fotonower.com refus_total : 0.047426909881546776 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29676059 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_P29676059_25-12-2025_05_40_01.pdf results_Auto_P29676059_25-12-2025_05_40_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676059_25-12-2025_05_40_01.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','29676059','results_Auto_P29676059_25-12-2025_05_40_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676059_25-12-2025_05_40_01.pdf','pdf','','0.42','0.047426909881546776') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29676059]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1400784307, 1400784281, 1400784279, 1400784268, 1400784264, 1400784258, 1400784253, 1400784248, 1400784245, 1400784223, 1400784221, 1400784219, 1400784197, 1400784194, 1400784191, 1400784188, 1400784177, 1400784161, 1400784157, 1400784154, 1400784150, 1400784146, 1400784142, 1400784095, 1400784093, 1400784072, 1400784069, 1400784066, 1400784063, 1400784040, 1400784037, 1400784034, 1400784030, 1400784027, 1400784001, 1400783999, 1400783860] map_info['map_portfolio_photo'] : {29676059: [1400784307, 1400784281, 1400784279, 1400784268, 1400784264, 1400784258, 1400784253, 1400784248, 1400784245, 1400784223, 1400784221, 1400784219, 1400784197, 1400784194, 1400784191, 1400784188, 1400784177, 1400784161, 1400784157, 1400784154, 1400784150, 1400784146, 1400784142, 1400784095, 1400784093, 1400784072, 1400784069, 1400784066, 1400784063, 1400784040, 1400784037, 1400784034, 1400784030, 1400784027, 1400784001, 1400783999, 1400783860]} final : False mtd_id 4302 list_pids : [1400784307, 1400784281, 1400784279, 1400784268, 1400784264, 1400784258, 1400784253, 1400784248, 1400784245, 1400784223, 1400784221, 1400784219, 1400784197, 1400784194, 1400784191, 1400784188, 1400784177, 1400784161, 1400784157, 1400784154, 1400784150, 1400784146, 1400784142, 1400784095, 1400784093, 1400784072, 1400784069, 1400784066, 1400784063, 1400784040, 1400784037, 1400784034, 1400784030, 1400784027, 1400784001, 1400783999, 1400783860] 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, '4271371') ('4302', '29676059', '1400784307', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784281', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784279', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784268', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784264', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784258', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784253', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784248', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784245', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784223', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784221', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784219', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784197', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784194', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784191', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784188', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784177', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784161', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784157', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784154', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784150', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784146', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784142', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784095', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784093', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784072', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784069', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784066', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784063', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784040', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784037', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784034', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784030', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784027', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784001', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400783999', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400783860', None, None, None, None, None, '4271371') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 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', '29676059', '1400784307', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784281', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784279', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784268', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784264', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784258', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784253', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784248', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784245', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784223', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784221', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784219', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784197', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784194', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784191', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784188', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784177', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784161', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784157', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784154', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784150', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784146', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784142', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784095', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784093', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784072', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784069', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784066', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784063', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784040', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784037', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784034', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784030', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784027', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784001', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400783999', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400783860', None, None, None, None, None, '4271371')] time used for this insertion : 0.019881486892700195 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.949753761291504 time spend to save output : 0.02030181884765625 total time spend for step 4 : 10.97005558013916 step5:split_time_score Thu Dec 25 05:40:10 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 : ['29676059'] 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 : [('29676059',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29676059) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1400784264: {'path': 'temp/1766637599_102502_1400784264_e9633afecedfdada102e52eed4c314f1.jpg', 'extension': 'jpg'}, 1400784268: {'path': 'temp/1766637599_102502_1400784268_3a7a0d288e75ee69629717f67f423b16.jpg', 'extension': 'jpg'}, 1400784279: {'path': 'temp/1766637599_102502_1400784279_90bb857a478c9df55b555cb721a9d55e.jpg', 'extension': 'jpg'}, 1400784281: {'path': 'temp/1766637599_102502_1400784281_ce1492f0703ca8ac2c55346f2b1ce195.jpg', 'extension': 'jpg'}, 1400784307: {'path': 'temp/1766637599_102502_1400784307_b2191be584a2be6dbb9f154fd41fc522.jpg', 'extension': 'jpg'}, 1400783860: {'path': 'temp/1766637599_102502_1400783860_95ff6a47697bced521ca2549a60a21c9.jpg', 'extension': 'jpg'}, 1400783999: {'path': 'temp/1766637599_102502_1400783999_3403f26e6f960b609382f697db74eb88.jpg', 'extension': 'jpg'}, 1400784001: {'path': 'temp/1766637599_102502_1400784001_2a83faab7a11b1b0ef89d96caa486a70.jpg', 'extension': 'jpg'}, 1400784027: {'path': 'temp/1766637599_102502_1400784027_6c30d2bfe94585d9763f8f0b2aa125a7.jpg', 'extension': 'jpg'}, 1400784030: {'path': 'temp/1766637599_102502_1400784030_c0e1ea6c8930b78623f604a111a4c373.jpg', 'extension': 'jpg'}, 1400784034: {'path': 'temp/1766637599_102502_1400784034_cd6210a8f42d7083d35c8a4953091b7d.jpg', 'extension': 'jpg'}, 1400784037: {'path': 'temp/1766637599_102502_1400784037_c8c12ece0258bdc50ab1fad3571f07ab.jpg', 'extension': 'jpg'}, 1400784040: {'path': 'temp/1766637599_102502_1400784040_64638b6c3d4d4acdf837e94040724b44.jpg', 'extension': 'jpg'}, 1400784063: {'path': 'temp/1766637599_102502_1400784063_d09929138a075f892fb7ac41fd814253.jpg', 'extension': 'jpg'}, 1400784066: {'path': 'temp/1766637599_102502_1400784066_10f71a6c4050f9ae548813fb16ced696.jpg', 'extension': 'jpg'}, 1400784069: {'path': 'temp/1766637599_102502_1400784069_3608ed8be059bd341eee764c19302c41.jpg', 'extension': 'jpg'}, 1400784072: {'path': 'temp/1766637599_102502_1400784072_c6c70e0e47c2191648e1fb5729aad750.jpg', 'extension': 'jpg'}, 1400784093: {'path': 'temp/1766637599_102502_1400784093_2eef7c142c657acefec0b9fcfa37740f.jpg', 'extension': 'jpg'}, 1400784095: {'path': 'temp/1766637599_102502_1400784095_9ac71532311758fb6f33bcecee348e9b.jpg', 'extension': 'jpg'}, 1400784142: {'path': 'temp/1766637599_102502_1400784142_a30406c5c5cf696dc2eeb767f281caed.jpg', 'extension': 'jpg'}, 1400784146: {'path': 'temp/1766637599_102502_1400784146_2b8b3f01ec43b4274c7d3338bd50593f.jpg', 'extension': 'jpg'}, 1400784150: {'path': 'temp/1766637599_102502_1400784150_99a6c2571d0019570fec739982eef8e9.jpg', 'extension': 'jpg'}, 1400784154: {'path': 'temp/1766637599_102502_1400784154_41d3eff098f7bf18d25376e7de12961e.jpg', 'extension': 'jpg'}, 1400784157: {'path': 'temp/1766637599_102502_1400784157_5f61d4075ea41cc80880173d1bd77028.jpg', 'extension': 'jpg'}, 1400784161: {'path': 'temp/1766637599_102502_1400784161_aeccbeb5cc4e058af3706c0ea9c22aeb.jpg', 'extension': 'jpg'}, 1400784177: {'path': 'temp/1766637599_102502_1400784177_6d34a996abaac6d9795400f563cfed41.jpg', 'extension': 'jpg'}, 1400784188: {'path': 'temp/1766637599_102502_1400784188_bdac504e28802a5f9a2c2b0154ba6e4b.jpg', 'extension': 'jpg'}, 1400784191: {'path': 'temp/1766637599_102502_1400784191_d49eb1ed80faec92a813f87205d9eee3.jpg', 'extension': 'jpg'}, 1400784194: {'path': 'temp/1766637599_102502_1400784194_286a72ddbe40f5e9d9e95bad7b2d3140.jpg', 'extension': 'jpg'}, 1400784197: {'path': 'temp/1766637599_102502_1400784197_d01a4b3fe5eb3b096dfda23385f5210b.jpg', 'extension': 'jpg'}, 1400784219: {'path': 'temp/1766637599_102502_1400784219_a63ac6b1d3772f55709629bc5b2d47d5.jpg', 'extension': 'jpg'}, 1400784221: {'path': 'temp/1766637599_102502_1400784221_2005e1c810fd0814779c4693459d6e3d.jpg', 'extension': 'jpg'}, 1400784223: {'path': 'temp/1766637599_102502_1400784223_904915308181336f093c3e8d02815433.jpg', 'extension': 'jpg'}, 1400784245: {'path': 'temp/1766637599_102502_1400784245_81f988fe53bba8f3b5f01d84971b9927.jpg', 'extension': 'jpg'}, 1400784248: {'path': 'temp/1766637599_102502_1400784248_eb5ee8bfb76ad4d0acdd3082b4173f46.jpg', 'extension': 'jpg'}, 1400784253: {'path': 'temp/1766637599_102502_1400784253_f3dada556772fc4c09c3ef303eb5ca26.jpg', 'extension': 'jpg'}, 1400784258: {'path': 'temp/1766637599_102502_1400784258_2853b16a7294bd9408856279ccbeff4e.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 = 29676059; (('arc_en_ciel_jrm_bis',), ('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_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 29676059 group by h (('05', 37),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29676059 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 (29676059) 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 (29676059) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24122025 29676059 Nombre de photos uploadées : 37 / 23040 (0%) 24122025 29676059 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 24122025 29676059 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1400783860, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/95ff6a47697bced521ca2549a60a21c9.jpg', 'username': None, 'uploaded_at': 1766548987, 'text': 'image_24122025_05_02_34_010142m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1400784001, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/2a83faab7a11b1b0ef89d96caa486a70.jpg', 'username': None, 'uploaded_at': 1766549287, 'text': 'image_24122025_05_02_44_010140m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1400783999, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/3403f26e6f960b609382f697db74eb88.jpg', 'username': None, 'uploaded_at': 1766549287, 'text': 'image_24122025_05_07_03_010159m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1400784040, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/24/64638b6c3d4d4acdf837e94040724b44.jpg', 'username': None, 'uploaded_at': 1766549347, 'text': 'image_24122025_05_07_43_009128m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 1.2874603271484375e-05 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018916130065917969 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29676059, '2025-12-24' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-12-24' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2781885,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.24082159996032715 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= 2781885 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29668057, 'dashboard_result_id': 18726615, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29668057_25-12-2025_05_34_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29668063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29668064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29668065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29668066, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29668067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29668068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29668069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29668070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29668071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29668072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29668073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29668074, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29668522, 'dashboard_result_id': 18726616, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29668522_25-12-2025_05_35_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29668525, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29668526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29668527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29668528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29668529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29668530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29668531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29668532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29668533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29668534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29668535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29668536, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29668997, 'dashboard_result_id': 18726617, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29668997_25-12-2025_05_35_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29669004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29669005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29669006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29669007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29669008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29669009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29669010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29669011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29669012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29669013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29669014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29669015, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29669483, 'dashboard_result_id': 18726618, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29669483_25-12-2025_05_35_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29669490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29669491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29669492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29669493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29669494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29669495, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29669496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29669497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29669498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29669500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29669501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29669502, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29670567, 'dashboard_result_id': 18726619, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29670567_25-12-2025_05_36_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29670569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29670570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29670571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29670572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29670573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29670574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29670575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29670576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29670577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29670578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29670579, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29670580, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29670856, 'dashboard_result_id': 18726620, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29670856_25-12-2025_05_36_12.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29670861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29670862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29670863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29670864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29670865, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29670866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29670867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29670868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29670869, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29670870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29670871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29670872, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29671273, 'dashboard_result_id': 18726621, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29671273_25-12-2025_05_36_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29671346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29671347, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29671348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29671349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29671350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29671351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29671352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29671353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29671354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29671355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29671356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29671357, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29671897, 'dashboard_result_id': 18726622, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29671897_25-12-2025_05_37_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29671925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29671926, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29671927, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29671928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29671929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29671930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29671931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29671932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29671933, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29671934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29671935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29671936, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29672417, 'dashboard_result_id': 18726623, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29672417_25-12-2025_05_37_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29672424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29672425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29672426, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29672427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29672428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29672429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29672430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29672431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29672432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29672433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29672434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29672435, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29672816, 'dashboard_result_id': 18726624, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29672816_25-12-2025_05_37_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29672841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29672842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29672843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29672844, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29672845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29672846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29672847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29672848, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29672849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29672850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29672851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29672852, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29673237, 'dashboard_result_id': 18726625, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29673237_25-12-2025_05_38_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29673238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29673239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29673240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29673241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29673242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29673243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29673244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29673245, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29673246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29673247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29673248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29673249, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29673713, 'dashboard_result_id': 18726626, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29673713_25-12-2025_05_38_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29673721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29673722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29673723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29673724, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29673725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29673726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29673727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29673728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29673729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29673730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29673731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29673732, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29674114, 'dashboard_result_id': 18726627, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29674114_25-12-2025_05_38_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29674139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29674140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29674141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29674142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29674143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29674144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29674145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29674146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29674147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29674148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29674149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29674150, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29674573, 'dashboard_result_id': 18726628, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29674573_25-12-2025_05_39_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29674598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29674599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29674600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29674601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29674602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29674603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29674604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29674605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29674606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29674607, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29674608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29674609, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29674924, 'dashboard_result_id': 18726629, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29674924_25-12-2025_05_39_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29674935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29674936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29674937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29674938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29674939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29674940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29674941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29674942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29674943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29674944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29674945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29674946, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29676059, 'dashboard_result_id': 18726630, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676059_24-12-2025_06_22_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29676064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29676065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29676066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29676067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29676068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29676069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29676070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29676071, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29676072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29676073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29676074, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29676075, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29676249, 'dashboard_result_id': 18726631, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676249_24-12-2025_06_23_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29676254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29676255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29676256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29676257, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29676258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29676259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29676260, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29676261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29676262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29676263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29676264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29676265, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29676605, 'dashboard_result_id': 18726632, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676605_24-12-2025_05_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29676609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29676610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29676611, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29676612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29676613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29676614, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29676615, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29676616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29676617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29676618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29676619, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29676620, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29676944, 'dashboard_result_id': 18726633, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676944_24-12-2025_06_03_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29676950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29676951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29676952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29676953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29676954, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29676955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29676956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29676957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29676958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29676959, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29676960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29676961, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29677291, 'dashboard_result_id': 18726634, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29677291_24-12-2025_06_19_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29677295, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29677296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29677297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29677298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29677299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29677300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29677301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29677302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29677303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29677304, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29677305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29677306, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29677990, 'dashboard_result_id': 18726635, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29677990_24-12-2025_06_33_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29677991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29677992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29677993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29677994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29677995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29677996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29677997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29677998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29677999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29678000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29678001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29678002, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29678443, 'dashboard_result_id': 18726636, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29678443_24-12-2025_06_47_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29678447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29678448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29678449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29678450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29678451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29678452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29678453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29678454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29678455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29678456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29678457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29678458, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29678824, 'dashboard_result_id': 18726637, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29678824_24-12-2025_07_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29678835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29678836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29678837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29678839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29678840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29678841, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29678843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29678844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29678845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29678846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29678847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29678848, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29679327, 'dashboard_result_id': 18726638, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29679327_24-12-2025_07_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29679338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29679339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29679340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29679341, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29679342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29679343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29679344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29679345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29679346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29679347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29679348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29679349, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29679903, 'dashboard_result_id': 18726639, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29679903_24-12-2025_07_33_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29679951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29679952, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29679953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29679954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29679955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29679956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29679957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29679958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29679959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29679960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29679961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29679962, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29680333, 'dashboard_result_id': 18726640, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29680333_24-12-2025_07_51_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29680343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29680344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29680345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29680347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29680348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29680349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29680350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29680351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29680352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29680353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29680354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29680355, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29680947, 'dashboard_result_id': 18726641, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29680947_24-12-2025_08_05_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29680951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29680952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29680953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29680954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29680955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29680956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29680957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29680958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29680959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29680962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29680964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29680966, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29681446, 'dashboard_result_id': 18726642, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29681446_24-12-2025_08_20_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29681464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29681465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29681466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29681467, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29681468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29681469, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29681470, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29681471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29681472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29681473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29681474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29681475, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29682053, 'dashboard_result_id': 18726643, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29682053_24-12-2025_08_34_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29682054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29682055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29682056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29682057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29682058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29682059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29682060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29682061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29682062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29682063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29682064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29682065, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29682444, 'dashboard_result_id': 18726644, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29682444_24-12-2025_08_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29682472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29682473, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29682474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29682475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29682476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29682477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29682478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29682479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29682480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29682481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29682482, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29682483, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29682930, 'dashboard_result_id': 18726645, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29682930_24-12-2025_09_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29682956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29682957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29682958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29682959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29682960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29682961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29682962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29682963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29682964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29682965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29682966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29682967, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29684897, 'dashboard_result_id': 18726646, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29684897_24-12-2025_09_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29684909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29684910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29684911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29684912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29684913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29684914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29684915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29684916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29684917, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29684918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29684919, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29684920, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29685440, 'dashboard_result_id': 18726647, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29685440_24-12-2025_10_09_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29685447, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29685448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29685449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29685450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29685451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29685452, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29685453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29685454, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29685455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29685456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29685457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29685458, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29685916, 'dashboard_result_id': 18726648, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29685916_24-12-2025_10_25_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29685960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29685961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29685962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29685963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29685964, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29685965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29685966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29685967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29685968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29685969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29685970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29685971, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29686600, 'dashboard_result_id': 18726649, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29686600_24-12-2025_10_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29686603, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29686604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29686605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29686606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29686607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29686608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29686609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29686610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29686611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29686612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29686613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29686614, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29686898, 'dashboard_result_id': 18726650, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29686898_24-12-2025_10_48_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29686912, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29686913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29686914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29686915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29686916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29686917, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29686918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29686919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29686920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29686921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29686922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29686923, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29687389, 'dashboard_result_id': 18726651, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29687389_24-12-2025_11_02_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29687415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29687416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29687417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29687418, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29687419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29687420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29687421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29687422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29687423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29687424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29687425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29687426, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29687863, 'dashboard_result_id': 18726652, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29687863_24-12-2025_11_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29687880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29687881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29687882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29687883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29687884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29687885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29687886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29687887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29687888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29687889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29687890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29687891, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29688349, 'dashboard_result_id': 18726653, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29688349_24-12-2025_11_32_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29688374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29688375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29688376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29688377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29688378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29688379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29688380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29688381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29688382, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29688383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29688384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29688385, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29688925, 'dashboard_result_id': 18726654, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29688925_24-12-2025_11_55_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29688938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29688939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29688940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29688941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29688942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29688943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29688944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29688945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29688946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29688947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29688948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29688949, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29689481, 'dashboard_result_id': 18726655, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29689481_24-12-2025_12_04_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29689484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29689485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29689486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29689487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29689488, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29689489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29689490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29689491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29689492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29689493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29689494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29689495, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29689654, 'dashboard_result_id': 18726656, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29689654_24-12-2025_14_00_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29689664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29689665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29689667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29689668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29689669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29689670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29689671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29689672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29689673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29689674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29689675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29689676, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29690911, 'dashboard_result_id': 18726657, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29690911_24-12-2025_13_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29690912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29690913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29690914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29690915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29690916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29690917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29690918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29690919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29690920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29690921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29690922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29690923, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29691202, 'dashboard_result_id': 18726658, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29691202_24-12-2025_14_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29691207, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29691208, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29691209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29691210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29691211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29691212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29691213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29691214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29691215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29691216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29691217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29691218, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29691546, 'dashboard_result_id': 18726659, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29691546_24-12-2025_14_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29691560, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29691561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29691562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29691563, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29691564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29691565, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29691566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29691567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29691568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29691569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29691570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29691571, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29692025, 'dashboard_result_id': 18726660, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29692025_24-12-2025_14_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29692045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29692046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29692047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29692048, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29692049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29692050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29692051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29692052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29692053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29692054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29692055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29692056, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29692462, 'dashboard_result_id': 18726661, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29692462_24-12-2025_14_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29692480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29692481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29692482, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29692483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29692484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29692485, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29692486, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29692487, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29692488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29692489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29692491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29692492, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29692916, 'dashboard_result_id': 18726662, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29692916_24-12-2025_15_07_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29692925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29692926, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29692927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29692928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29692929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29692930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29692931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29692932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29692933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29692934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29692935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29692936, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29693472, 'dashboard_result_id': 18726663, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29693472_24-12-2025_15_17_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29693479, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29693480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29693481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29693482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29693483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29693485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29693486, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29693487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29693488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29693489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29693490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29693491, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29694058, 'dashboard_result_id': 18726664, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29694058_24-12-2025_15_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29694062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29694063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29694064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29694065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29694066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29694067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29694068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29694069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29694070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29694071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29694072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29694073, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29694500, 'dashboard_result_id': 18726665, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29694500_24-12-2025_15_48_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29694536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29694537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29694538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29694539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29694540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29694541, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29694542, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29694543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29694544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29694546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29694547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29694548, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29694972, 'dashboard_result_id': 18726666, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29694972_24-12-2025_16_05_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29694998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29694999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29695000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29695001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29695002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29695003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29695004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29695005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29695006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29695007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29695008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29695009, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29695358, 'dashboard_result_id': 18726667, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29695358_24-12-2025_16_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29695378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29695379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29695380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29695381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29695382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29695383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29695384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29695385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29695386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29695387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29695388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29695390, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29696015, 'dashboard_result_id': 18726668, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29696015_24-12-2025_16_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29696023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29696024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29696026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29696027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29696028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29696029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29696030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29696031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29696032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29696033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29696034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29696035, 'pht': 3726}}"}, {'dashboat_entry_day': 2781885, 'dashboard_run_id': 2795702, 'mtr_portfolio_id': 29696458, 'dashboard_result_id': 18726669, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29696458_24-12-2025_16_43_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29696493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29696494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29696495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29696496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29696497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29696498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29696499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29696500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29696501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29696502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29696504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29696505, '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 = 29668057 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271356, 'mtr_portfolio_id': 29668057, 'created_at': datetime.datetime(2025, 12, 25, 5, 34, 33), 'result': '0.056566105961286396', 'result_long': None, 'result_double': None}] Qualite : 0.056566105961286396 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29668057 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29668057_25-12-2025_05_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29668057 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29668057_25-12-2025_05_34_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29668063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29668064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29668065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29668066, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29668067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29668068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29668069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29668070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29668071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29668072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29668073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29668074, 'pht': 3726}}" where mtr_portfolio_id = 29668057 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29668057 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726615, 0.056566105961286396, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29668057_25-12-2025_05_34_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29668063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29668064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29668065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29668066, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29668067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29668068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29668069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29668070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29668071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29668072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29668073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29668074, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29668522 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271357, 'mtr_portfolio_id': 29668522, 'created_at': datetime.datetime(2025, 12, 25, 5, 35), 'result': '0.04826368616370642', 'result_long': None, 'result_double': None}] Qualite : 0.04826368616370642 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29668522 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29668522_25-12-2025_05_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29668522 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29668522_25-12-2025_05_35_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29668525, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29668526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29668527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29668528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29668529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29668530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29668531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29668532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29668533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29668534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29668535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29668536, 'pht': 3726}}" where mtr_portfolio_id = 29668522 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29668522 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726616, 0.04826368616370642, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29668522_25-12-2025_05_35_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29668525, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29668526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29668527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29668528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29668529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29668530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29668531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29668532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29668533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29668534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29668535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29668536, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29668997 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271358, 'mtr_portfolio_id': 29668997, 'created_at': datetime.datetime(2025, 12, 25, 5, 35, 33), 'result': '0.03287678057346318', 'result_long': None, 'result_double': None}] Qualite : 0.03287678057346318 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29668997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29668997_25-12-2025_05_35_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29668997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29668997_25-12-2025_05_35_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29669004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29669005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29669006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29669007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29669008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29669009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29669010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29669011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29669012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29669013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29669014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29669015, 'pht': 3726}}" where mtr_portfolio_id = 29668997 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29668997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726617, 0.03287678057346318, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29668997_25-12-2025_05_35_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29669004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29669005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29669006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29669007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29669008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29669009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29669010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29669011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29669012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29669013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29669014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29669015, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29669483 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271359, 'mtr_portfolio_id': 29669483, 'created_at': datetime.datetime(2025, 12, 25, 5, 35, 30), 'result': '0.048925829603087334', 'result_long': None, 'result_double': None}] Qualite : 0.048925829603087334 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29669483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29669483_25-12-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29669483 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29669483_25-12-2025_05_35_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29669490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29669491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29669492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29669493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29669494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29669495, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29669496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29669497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29669498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29669500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29669501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29669502, 'pht': 3726}}" where mtr_portfolio_id = 29669483 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29669483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726618, 0.048925829603087334, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29669483_25-12-2025_05_35_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29669490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29669491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29669492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29669493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29669494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29669495, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29669496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29669497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29669498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29669500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29669501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29669502, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29670567 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271360, 'mtr_portfolio_id': 29670567, 'created_at': datetime.datetime(2025, 12, 25, 5, 36, 1), 'result': '0.044259486905506754', 'result_long': None, 'result_double': None}] Qualite : 0.044259486905506754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29670567 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29670567_25-12-2025_05_36_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29670567 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29670567_25-12-2025_05_36_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29670569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29670570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29670571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29670572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29670573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29670574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29670575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29670576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29670577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29670578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29670579, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29670580, 'pht': 3726}}" where mtr_portfolio_id = 29670567 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29670567 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726619, 0.044259486905506754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29670567_25-12-2025_05_36_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29670569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29670570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29670571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29670572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29670573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29670574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29670575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29670576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29670577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29670578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29670579, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29670580, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29670856 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271361, 'mtr_portfolio_id': 29670856, 'created_at': datetime.datetime(2025, 12, 25, 5, 36, 9), 'result': '0.07258412695769856', 'result_long': None, 'result_double': None}] Qualite : 0.07258412695769856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29670856 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29670856_25-12-2025_05_36_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29670856 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29670856_25-12-2025_05_36_12.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29670861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29670862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29670863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29670864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29670865, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29670866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29670867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29670868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29670869, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29670870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29670871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29670872, 'pht': 3726}}" where mtr_portfolio_id = 29670856 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29670856 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726620, 0.07258412695769856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29670856_25-12-2025_05_36_12.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29670861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29670862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29670863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29670864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29670865, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29670866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29670867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29670868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29670869, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29670870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29670871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29670872, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29671273 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271362, 'mtr_portfolio_id': 29671273, 'created_at': datetime.datetime(2025, 12, 25, 5, 36, 30), 'result': '0.039749051134549546', 'result_long': None, 'result_double': None}] Qualite : 0.039749051134549546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29671273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29671273_25-12-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29671273 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29671273_25-12-2025_05_36_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29671346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29671347, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29671348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29671349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29671350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29671351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29671352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29671353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29671354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29671355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29671356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29671357, 'pht': 3726}}" where mtr_portfolio_id = 29671273 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29671273 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726621, 0.039749051134549546, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29671273_25-12-2025_05_36_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29671346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29671347, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29671348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29671349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29671350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29671351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29671352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29671353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29671354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29671355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29671356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29671357, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29671897 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271363, 'mtr_portfolio_id': 29671897, 'created_at': datetime.datetime(2025, 12, 25, 5, 36, 59), 'result': '0.03297138125188313', 'result_long': None, 'result_double': None}] Qualite : 0.03297138125188313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29671897 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29671897_25-12-2025_05_37_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29671897 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29671897_25-12-2025_05_37_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29671925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29671926, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29671927, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29671928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29671929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29671930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29671931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29671932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29671933, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29671934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29671935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29671936, 'pht': 3726}}" where mtr_portfolio_id = 29671897 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29671897 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726622, 0.03297138125188313, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29671897_25-12-2025_05_37_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29671925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29671926, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29671927, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29671928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29671929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29671930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29671931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29671932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29671933, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29671934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29671935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29671936, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29672417 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271364, 'mtr_portfolio_id': 29672417, 'created_at': datetime.datetime(2025, 12, 25, 5, 37, 27), 'result': '0.04914145883397459', 'result_long': None, 'result_double': None}] Qualite : 0.04914145883397459 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29672417 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29672417_25-12-2025_05_37_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29672417 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29672417_25-12-2025_05_37_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29672424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29672425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29672426, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29672427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29672428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29672429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29672430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29672431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29672432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29672433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29672434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29672435, 'pht': 3726}}" where mtr_portfolio_id = 29672417 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29672417 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726623, 0.04914145883397459, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29672417_25-12-2025_05_37_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29672424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29672425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29672426, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29672427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29672428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29672429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29672430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29672431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29672432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29672433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29672434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29672435, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29672816 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271365, 'mtr_portfolio_id': 29672816, 'created_at': datetime.datetime(2025, 12, 25, 5, 37, 27), 'result': '0.044191773702888', 'result_long': None, 'result_double': None}] Qualite : 0.044191773702888 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29672816 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29672816_25-12-2025_05_37_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29672816 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29672816_25-12-2025_05_37_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29672841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29672842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29672843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29672844, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29672845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29672846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29672847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29672848, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29672849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29672850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29672851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29672852, 'pht': 3726}}" where mtr_portfolio_id = 29672816 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29672816 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726624, 0.044191773702888, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29672816_25-12-2025_05_37_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29672841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29672842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29672843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29672844, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29672845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29672846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29672847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29672848, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29672849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29672850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29672851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29672852, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29673237 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271366, 'mtr_portfolio_id': 29673237, 'created_at': datetime.datetime(2025, 12, 25, 5, 38), 'result': '0.04527201354725659', 'result_long': None, 'result_double': None}] Qualite : 0.04527201354725659 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29673237 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29673237_25-12-2025_05_38_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29673237 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29673237_25-12-2025_05_38_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29673238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29673239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29673240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29673241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29673242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29673243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29673244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29673245, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29673246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29673247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29673248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29673249, 'pht': 3726}}" where mtr_portfolio_id = 29673237 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29673237 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726625, 0.04527201354725659, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29673237_25-12-2025_05_38_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29673238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29673239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29673240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29673241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29673242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29673243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29673244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29673245, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29673246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29673247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29673248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29673249, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29673713 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271367, 'mtr_portfolio_id': 29673713, 'created_at': datetime.datetime(2025, 12, 25, 5, 38, 28), 'result': '0.04661127692634562', 'result_long': None, 'result_double': None}] Qualite : 0.04661127692634562 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29673713 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29673713_25-12-2025_05_38_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29673713 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29673713_25-12-2025_05_38_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29673721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29673722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29673723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29673724, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29673725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29673726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29673727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29673728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29673729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29673730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29673731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29673732, 'pht': 3726}}" where mtr_portfolio_id = 29673713 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29673713 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726626, 0.04661127692634562, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29673713_25-12-2025_05_38_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29673721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29673722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29673723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29673724, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29673725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29673726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29673727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29673728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29673729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29673730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29673731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29673732, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29674114 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271368, 'mtr_portfolio_id': 29674114, 'created_at': datetime.datetime(2025, 12, 25, 5, 38, 56), 'result': '0.06318688977928995', 'result_long': None, 'result_double': None}] Qualite : 0.06318688977928995 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29674114 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29674114_25-12-2025_05_38_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29674114 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29674114_25-12-2025_05_38_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29674139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29674140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29674141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29674142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29674143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29674144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29674145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29674146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29674147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29674148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29674149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29674150, 'pht': 3726}}" where mtr_portfolio_id = 29674114 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29674114 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726627, 0.06318688977928995, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29674114_25-12-2025_05_38_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29674139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29674140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29674141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29674142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29674143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29674144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29674145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29674146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29674147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29674148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29674149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29674150, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29674573 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271369, 'mtr_portfolio_id': 29674573, 'created_at': datetime.datetime(2025, 12, 25, 5, 39, 34), 'result': '0.04486034774095136', 'result_long': None, 'result_double': None}] Qualite : 0.04486034774095136 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29674573 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29674573_25-12-2025_05_39_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29674573 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29674573_25-12-2025_05_39_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29674598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29674599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29674600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29674601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29674602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29674603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29674604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29674605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29674606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29674607, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29674608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29674609, 'pht': 3726}}" where mtr_portfolio_id = 29674573 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29674573 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726628, 0.04486034774095136, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29674573_25-12-2025_05_39_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29674598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29674599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29674600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29674601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29674602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29674603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29674604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29674605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29674606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29674607, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29674608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29674609, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29674924 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271370, 'mtr_portfolio_id': 29674924, 'created_at': datetime.datetime(2025, 12, 25, 5, 39, 29), 'result': '0.03948522045733863', 'result_long': None, 'result_double': None}] Qualite : 0.03948522045733863 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29674924 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29674924_25-12-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29674924 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29674924_25-12-2025_05_39_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29674935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29674936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29674937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29674938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29674939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29674940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29674941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29674942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29674943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29674944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29674945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29674946, 'pht': 3726}}" where mtr_portfolio_id = 29674924 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29674924 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726629, 0.03948522045733863, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29674924_25-12-2025_05_39_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29674935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29674936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29674937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29674938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29674939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29674940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29674941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29674942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29674943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29674944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29674945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29674946, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29676059 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4271371, 'mtr_portfolio_id': 29676059, 'created_at': datetime.datetime(2025, 12, 25, 5, 39, 59), 'result': '0.047426909881546776', 'result_long': None, 'result_double': None}] Qualite : 0.047426909881546776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29676059 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676059_25-12-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29676059 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676059_25-12-2025_05_40_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29676064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29676065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29676066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29676067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29676068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29676069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29676070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29676071, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29676072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29676073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29676074, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29676075, 'pht': 3726}}" where mtr_portfolio_id = 29676059 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29676059 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726630, 0.047426909881546776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676059_25-12-2025_05_40_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29676064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29676065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29676066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29676067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29676068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29676069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29676070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29676071, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29676072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29676073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29676074, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29676075, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29676249 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4267102, 'mtr_portfolio_id': 29676249, 'created_at': datetime.datetime(2025, 12, 24, 6, 23, 27), 'result': '0.05374626206057579', 'result_long': None, 'result_double': None}] Qualite : 0.05374626206057579 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29676249 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676249_24-12-2025_06_23_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29676249 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676249_24-12-2025_06_23_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29676254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29676255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29676256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29676257, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29676258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29676259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29676260, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29676261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29676262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29676263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29676264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29676265, 'pht': 3726}}" where mtr_portfolio_id = 29676249 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29676249 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726631, 0.05374626206057579, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676249_24-12-2025_06_23_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29676254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29676255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29676256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29676257, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29676258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29676259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29676260, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29676261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29676262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29676263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29676264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29676265, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29676605 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4267007, 'mtr_portfolio_id': 29676605, 'created_at': datetime.datetime(2025, 12, 24, 5, 46, 59), 'result': '0.055085492698470476', 'result_long': None, 'result_double': None}] Qualite : 0.055085492698470476 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29676605 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676605_24-12-2025_05_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29676605 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676605_24-12-2025_05_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29676609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29676610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29676611, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29676612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29676613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29676614, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29676615, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29676616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29676617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29676618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29676619, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29676620, 'pht': 3726}}" where mtr_portfolio_id = 29676605 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29676605 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726632, 0.055085492698470476, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676605_24-12-2025_05_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29676609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29676610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29676611, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29676612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29676613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29676614, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29676615, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29676616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29676617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29676618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29676619, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29676620, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29676944 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4267177, 'mtr_portfolio_id': 29676944, 'created_at': datetime.datetime(2025, 12, 24, 6, 3, 31), 'result': '0.05273914721058831', 'result_long': None, 'result_double': None}] Qualite : 0.05273914721058831 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29676944 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676944_24-12-2025_06_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29676944 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676944_24-12-2025_06_03_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29676950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29676951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29676952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29676953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29676954, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29676955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29676956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29676957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29676958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29676959, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29676960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29676961, 'pht': 3726}}" where mtr_portfolio_id = 29676944 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29676944 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726633, 0.05273914721058831, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29676944_24-12-2025_06_03_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29676950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29676951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29676952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29676953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29676954, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29676955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29676956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29676957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29676958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29676959, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29676960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29676961, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29677291 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4267259, 'mtr_portfolio_id': 29677291, 'created_at': datetime.datetime(2025, 12, 24, 6, 19, 28), 'result': '0.04435047120235169', 'result_long': None, 'result_double': None}] Qualite : 0.04435047120235169 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29677291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29677291_24-12-2025_06_19_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29677291 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29677291_24-12-2025_06_19_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29677295, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29677296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29677297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29677298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29677299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29677300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29677301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29677302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29677303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29677304, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29677305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29677306, 'pht': 3726}}" where mtr_portfolio_id = 29677291 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29677291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726634, 0.04435047120235169, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29677291_24-12-2025_06_19_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29677295, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29677296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29677297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29677298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29677299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29677300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29677301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29677302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29677303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29677304, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29677305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29677306, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29677990 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4267325, 'mtr_portfolio_id': 29677990, 'created_at': datetime.datetime(2025, 12, 24, 6, 33, 33), 'result': '0.05955761834343481', 'result_long': None, 'result_double': None}] Qualite : 0.05955761834343481 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29677990 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29677990_24-12-2025_06_33_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29677990 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29677990_24-12-2025_06_33_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29677991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29677992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29677993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29677994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29677995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29677996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29677997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29677998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29677999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29678000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29678001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29678002, 'pht': 3726}}" where mtr_portfolio_id = 29677990 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29677990 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726635, 0.05955761834343481, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29677990_24-12-2025_06_33_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29677991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29677992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29677993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29677994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29677995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29677996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29677997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29677998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29677999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29678000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29678001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29678002, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29678443 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4267384, 'mtr_portfolio_id': 29678443, 'created_at': datetime.datetime(2025, 12, 24, 6, 47, 32), 'result': '0.04582887920520022', 'result_long': None, 'result_double': None}] Qualite : 0.04582887920520022 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29678443 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29678443_24-12-2025_06_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29678443 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29678443_24-12-2025_06_47_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29678447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29678448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29678449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29678450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29678451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29678452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29678453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29678454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29678455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29678456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29678457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29678458, 'pht': 3726}}" where mtr_portfolio_id = 29678443 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29678443 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726636, 0.04582887920520022, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29678443_24-12-2025_06_47_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29678447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29678448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29678449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29678450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29678451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29678452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29678453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29678454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29678455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29678456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29678457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29678458, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29678824 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4267441, 'mtr_portfolio_id': 29678824, 'created_at': datetime.datetime(2025, 12, 24, 7, 2, 57), 'result': '0.05828837733641411', 'result_long': None, 'result_double': None}] Qualite : 0.05828837733641411 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29678824 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29678824_24-12-2025_07_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29678824 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29678824_24-12-2025_07_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29678835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29678836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29678837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29678839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29678840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29678841, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29678843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29678844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29678845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29678846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29678847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29678848, 'pht': 3726}}" where mtr_portfolio_id = 29678824 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29678824 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726637, 0.05828837733641411, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29678824_24-12-2025_07_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29678835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29678836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29678837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29678839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29678840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29678841, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29678843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29678844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29678845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29678846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29678847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29678848, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29679327 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4267516, 'mtr_portfolio_id': 29679327, 'created_at': datetime.datetime(2025, 12, 24, 7, 18, 59), 'result': '0.048469589906602065', 'result_long': None, 'result_double': None}] Qualite : 0.048469589906602065 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29679327 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29679327_24-12-2025_07_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29679327 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29679327_24-12-2025_07_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29679338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29679339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29679340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29679341, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29679342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29679343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29679344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29679345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29679346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29679347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29679348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29679349, 'pht': 3726}}" where mtr_portfolio_id = 29679327 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29679327 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726638, 0.048469589906602065, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29679327_24-12-2025_07_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29679338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29679339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29679340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29679341, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29679342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29679343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29679344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29679345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29679346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29679347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29679348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29679349, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29679903 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4267610, 'mtr_portfolio_id': 29679903, 'created_at': datetime.datetime(2025, 12, 24, 7, 32, 59), 'result': '0.045728580291575206', 'result_long': None, 'result_double': None}] Qualite : 0.045728580291575206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29679903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29679903_24-12-2025_07_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29679903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29679903_24-12-2025_07_33_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29679951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29679952, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29679953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29679954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29679955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29679956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29679957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29679958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29679959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29679960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29679961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29679962, 'pht': 3726}}" where mtr_portfolio_id = 29679903 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29679903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726639, 0.045728580291575206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29679903_24-12-2025_07_33_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29679951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29679952, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29679953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29679954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29679955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29679956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29679957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29679958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29679959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29679960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29679961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29679962, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29680333 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4267656, 'mtr_portfolio_id': 29680333, 'created_at': datetime.datetime(2025, 12, 24, 7, 51, 2), 'result': '0.04472117713942756', 'result_long': None, 'result_double': None}] Qualite : 0.04472117713942756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29680333 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29680333_24-12-2025_07_51_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29680333 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29680333_24-12-2025_07_51_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29680343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29680344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29680345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29680347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29680348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29680349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29680350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29680351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29680352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29680353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29680354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29680355, 'pht': 3726}}" where mtr_portfolio_id = 29680333 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29680333 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726640, 0.04472117713942756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29680333_24-12-2025_07_51_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29680343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29680344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29680345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29680347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29680348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29680349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29680350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29680351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29680352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29680353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29680354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29680355, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29680947 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4267772, 'mtr_portfolio_id': 29680947, 'created_at': datetime.datetime(2025, 12, 24, 8, 5, 31), 'result': '0.07059286809765075', 'result_long': None, 'result_double': None}] Qualite : 0.07059286809765075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29680947 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29680947_24-12-2025_08_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29680947 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29680947_24-12-2025_08_05_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29680951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29680952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29680953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29680954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29680955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29680956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29680957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29680958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29680959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29680962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29680964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29680966, 'pht': 3726}}" where mtr_portfolio_id = 29680947 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29680947 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726641, 0.07059286809765075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29680947_24-12-2025_08_05_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29680951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29680952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29680953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29680954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29680955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29680956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29680957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29680958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29680959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29680962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29680964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29680966, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29681446 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4267847, 'mtr_portfolio_id': 29681446, 'created_at': datetime.datetime(2025, 12, 24, 8, 20, 31), 'result': '0.06346868785070424', 'result_long': None, 'result_double': None}] Qualite : 0.06346868785070424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29681446 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29681446_24-12-2025_08_20_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29681446 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29681446_24-12-2025_08_20_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29681464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29681465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29681466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29681467, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29681468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29681469, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29681470, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29681471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29681472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29681473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29681474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29681475, 'pht': 3726}}" where mtr_portfolio_id = 29681446 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29681446 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726642, 0.06346868785070424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29681446_24-12-2025_08_20_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29681464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29681465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29681466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29681467, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29681468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29681469, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29681470, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29681471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29681472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29681473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29681474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29681475, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29682053 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4267921, 'mtr_portfolio_id': 29682053, 'created_at': datetime.datetime(2025, 12, 24, 8, 34, 27), 'result': '0.06112304809574279', 'result_long': None, 'result_double': None}] Qualite : 0.06112304809574279 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29682053 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29682053_24-12-2025_08_34_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29682053 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29682053_24-12-2025_08_34_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29682054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29682055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29682056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29682057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29682058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29682059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29682060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29682061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29682062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29682063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29682064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29682065, 'pht': 3726}}" where mtr_portfolio_id = 29682053 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29682053 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726643, 0.06112304809574279, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29682053_24-12-2025_08_34_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29682054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29682055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29682056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29682057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29682058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29682059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29682060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29682061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29682062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29682063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29682064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29682065, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29682444 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4267978, 'mtr_portfolio_id': 29682444, 'created_at': datetime.datetime(2025, 12, 24, 8, 47), 'result': '0.07961831013548269', 'result_long': None, 'result_double': None}] Qualite : 0.07961831013548269 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29682444 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29682444_24-12-2025_08_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29682444 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29682444_24-12-2025_08_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29682472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29682473, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29682474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29682475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29682476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29682477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29682478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29682479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29682480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29682481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29682482, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29682483, 'pht': 3726}}" where mtr_portfolio_id = 29682444 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29682444 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726644, 0.07961831013548269, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29682444_24-12-2025_08_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29682472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29682473, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29682474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29682475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29682476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29682477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29682478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29682479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29682480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29682481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29682482, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29682483, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29682930 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4268078, 'mtr_portfolio_id': 29682930, 'created_at': datetime.datetime(2025, 12, 24, 9, 33), 'result': '0.062412056218144545', 'result_long': None, 'result_double': None}] Qualite : 0.062412056218144545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29682930 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29682930_24-12-2025_09_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29682930 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29682930_24-12-2025_09_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29682956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29682957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29682958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29682959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29682960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29682961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29682962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29682963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29682964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29682965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29682966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29682967, 'pht': 3726}}" where mtr_portfolio_id = 29682930 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29682930 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726645, 0.062412056218144545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29682930_24-12-2025_09_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29682956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29682957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29682958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29682959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29682960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29682961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29682962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29682963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29682964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29682965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29682966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29682967, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29684897 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4268271, 'mtr_portfolio_id': 29684897, 'created_at': datetime.datetime(2025, 12, 24, 9, 49), 'result': '0.036531803138239616', 'result_long': None, 'result_double': None}] Qualite : 0.036531803138239616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29684897 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29684897_24-12-2025_09_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29684897 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29684897_24-12-2025_09_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29684909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29684910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29684911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29684912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29684913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29684914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29684915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29684916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29684917, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29684918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29684919, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29684920, 'pht': 3726}}" where mtr_portfolio_id = 29684897 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29684897 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726646, 0.036531803138239616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29684897_24-12-2025_09_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29684909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29684910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29684911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29684912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29684913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29684914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29684915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29684916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29684917, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29684918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29684919, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29684920, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29685440 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4268341, 'mtr_portfolio_id': 29685440, 'created_at': datetime.datetime(2025, 12, 24, 10, 9), 'result': '0.057094224388598215', 'result_long': None, 'result_double': None}] Qualite : 0.057094224388598215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29685440 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29685440_24-12-2025_10_09_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29685440 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29685440_24-12-2025_10_09_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29685447, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29685448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29685449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29685450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29685451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29685452, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29685453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29685454, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29685455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29685456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29685457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29685458, 'pht': 3726}}" where mtr_portfolio_id = 29685440 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29685440 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726647, 0.057094224388598215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29685440_24-12-2025_10_09_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29685447, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29685448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29685449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29685450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29685451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29685452, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29685453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29685454, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29685455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29685456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29685457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29685458, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29685916 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4268446, 'mtr_portfolio_id': 29685916, 'created_at': datetime.datetime(2025, 12, 24, 10, 25, 30), 'result': '0.05141259544405798', 'result_long': None, 'result_double': None}] Qualite : 0.05141259544405798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29685916 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29685916_24-12-2025_10_25_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29685916 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29685916_24-12-2025_10_25_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29685960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29685961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29685962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29685963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29685964, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29685965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29685966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29685967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29685968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29685969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29685970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29685971, 'pht': 3726}}" where mtr_portfolio_id = 29685916 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29685916 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726648, 0.05141259544405798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29685916_24-12-2025_10_25_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29685960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29685961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29685962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29685963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29685964, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29685965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29685966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29685967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29685968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29685969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29685970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29685971, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29686600 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4268537, 'mtr_portfolio_id': 29686600, 'created_at': datetime.datetime(2025, 12, 24, 10, 32, 59), 'result': '0.04635089688767517', 'result_long': None, 'result_double': None}] Qualite : 0.04635089688767517 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29686600 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29686600_24-12-2025_10_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29686600 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29686600_24-12-2025_10_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29686603, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29686604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29686605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29686606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29686607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29686608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29686609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29686610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29686611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29686612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29686613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29686614, 'pht': 3726}}" where mtr_portfolio_id = 29686600 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29686600 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726649, 0.04635089688767517, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29686600_24-12-2025_10_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29686603, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29686604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29686605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29686606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29686607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29686608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29686609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29686610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29686611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29686612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29686613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29686614, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29686898 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4268570, 'mtr_portfolio_id': 29686898, 'created_at': datetime.datetime(2025, 12, 24, 10, 48, 56), 'result': '0.0596745531211452', 'result_long': None, 'result_double': None}] Qualite : 0.0596745531211452 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29686898 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29686898_24-12-2025_10_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29686898 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29686898_24-12-2025_10_48_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29686912, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29686913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29686914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29686915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29686916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29686917, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29686918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29686919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29686920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29686921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29686922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29686923, 'pht': 3726}}" where mtr_portfolio_id = 29686898 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29686898 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726650, 0.0596745531211452, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29686898_24-12-2025_10_48_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29686912, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29686913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29686914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29686915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29686916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29686917, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29686918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29686919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29686920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29686921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29686922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29686923, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29687389 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4268633, 'mtr_portfolio_id': 29687389, 'created_at': datetime.datetime(2025, 12, 24, 11, 2, 57), 'result': '0.06981981137202198', 'result_long': None, 'result_double': None}] Qualite : 0.06981981137202198 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29687389 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29687389_24-12-2025_11_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29687389 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29687389_24-12-2025_11_02_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29687415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29687416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29687417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29687418, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29687419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29687420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29687421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29687422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29687423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29687424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29687425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29687426, 'pht': 3726}}" where mtr_portfolio_id = 29687389 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29687389 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726651, 0.06981981137202198, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29687389_24-12-2025_11_02_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29687415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29687416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29687417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29687418, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29687419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29687420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29687421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29687422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29687423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29687424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29687425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29687426, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29687863 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4268700, 'mtr_portfolio_id': 29687863, 'created_at': datetime.datetime(2025, 12, 24, 11, 16, 59), 'result': '0.044503706796225506', 'result_long': None, 'result_double': None}] Qualite : 0.044503706796225506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29687863 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29687863_24-12-2025_11_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29687863 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29687863_24-12-2025_11_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29687880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29687881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29687882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29687883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29687884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29687885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29687886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29687887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29687888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29687889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29687890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29687891, 'pht': 3726}}" where mtr_portfolio_id = 29687863 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29687863 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726652, 0.044503706796225506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29687863_24-12-2025_11_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29687880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29687881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29687882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29687883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29687884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29687885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29687886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29687887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29687888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29687889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29687890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29687891, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29688349 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4268765, 'mtr_portfolio_id': 29688349, 'created_at': datetime.datetime(2025, 12, 24, 11, 32, 56), 'result': '0.03908457592394525', 'result_long': None, 'result_double': None}] Qualite : 0.03908457592394525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29688349 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29688349_24-12-2025_11_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29688349 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29688349_24-12-2025_11_32_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29688374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29688375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29688376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29688377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29688378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29688379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29688380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29688381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29688382, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29688383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29688384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29688385, 'pht': 3726}}" where mtr_portfolio_id = 29688349 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29688349 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726653, 0.03908457592394525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29688349_24-12-2025_11_32_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29688374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29688375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29688376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29688377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29688378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29688379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29688380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29688381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29688382, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29688383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29688384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29688385, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29688925 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4268834, 'mtr_portfolio_id': 29688925, 'created_at': datetime.datetime(2025, 12, 24, 11, 55, 1), 'result': '0.028965357041430297', 'result_long': None, 'result_double': None}] Qualite : 0.028965357041430297 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29688925 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29688925_24-12-2025_11_55_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29688925 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29688925_24-12-2025_11_55_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29688938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29688939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29688940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29688941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29688942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29688943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29688944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29688945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29688946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29688947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29688948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29688949, 'pht': 3726}}" where mtr_portfolio_id = 29688925 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29688925 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726654, 0.028965357041430297, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29688925_24-12-2025_11_55_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29688938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29688939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29688940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29688941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29688942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29688943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29688944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29688945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29688946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29688947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29688948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29688949, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29689481 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4268913, 'mtr_portfolio_id': 29689481, 'created_at': datetime.datetime(2025, 12, 24, 12, 4, 30), 'result': '0.03910113927440155', 'result_long': None, 'result_double': None}] Qualite : 0.03910113927440155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29689481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29689481_24-12-2025_12_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29689481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29689481_24-12-2025_12_04_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29689484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29689485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29689486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29689487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29689488, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29689489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29689490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29689491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29689492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29689493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29689494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29689495, 'pht': 3726}}" where mtr_portfolio_id = 29689481 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29689481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726655, 0.03910113927440155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29689481_24-12-2025_12_04_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29689484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29689485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29689486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29689487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29689488, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29689489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29689490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29689491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29689492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29689493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29689494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29689495, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29689654 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4268938, 'mtr_portfolio_id': 29689654, 'created_at': datetime.datetime(2025, 12, 24, 14, 0), 'result': '0.04613828796202645', 'result_long': None, 'result_double': None}] Qualite : 0.04613828796202645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29689654 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29689654_24-12-2025_14_00_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29689654 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29689654_24-12-2025_14_00_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29689664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29689665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29689667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29689668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29689669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29689670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29689671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29689672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29689673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29689674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29689675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29689676, 'pht': 3726}}" where mtr_portfolio_id = 29689654 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29689654 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726656, 0.04613828796202645, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29689654_24-12-2025_14_00_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29689664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29689665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29689667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29689668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29689669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29689670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29689671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29689672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29689673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29689674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29689675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29689676, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29690911 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4269165, 'mtr_portfolio_id': 29690911, 'created_at': datetime.datetime(2025, 12, 24, 13, 49), 'result': '0.049721708969061376', 'result_long': None, 'result_double': None}] Qualite : 0.049721708969061376 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29690911 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29690911_24-12-2025_13_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29690911 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29690911_24-12-2025_13_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29690912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29690913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29690914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29690915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29690916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29690917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29690918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29690919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29690920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29690921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29690922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29690923, 'pht': 3726}}" where mtr_portfolio_id = 29690911 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29690911 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726657, 0.049721708969061376, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29690911_24-12-2025_13_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29690912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29690913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29690914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29690915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29690916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29690917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29690918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29690919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29690920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29690921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29690922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29690923, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29691202 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4269195, 'mtr_portfolio_id': 29691202, 'created_at': datetime.datetime(2025, 12, 24, 14, 2, 58), 'result': '0.04706237755556108', 'result_long': None, 'result_double': None}] Qualite : 0.04706237755556108 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29691202 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29691202_24-12-2025_14_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29691202 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29691202_24-12-2025_14_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29691207, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29691208, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29691209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29691210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29691211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29691212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29691213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29691214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29691215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29691216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29691217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29691218, 'pht': 3726}}" where mtr_portfolio_id = 29691202 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29691202 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726658, 0.04706237755556108, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29691202_24-12-2025_14_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29691207, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29691208, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29691209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29691210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29691211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29691212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29691213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29691214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29691215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29691216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29691217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29691218, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29691546 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4269245, 'mtr_portfolio_id': 29691546, 'created_at': datetime.datetime(2025, 12, 24, 14, 18, 59), 'result': '0.048526368074601124', 'result_long': None, 'result_double': None}] Qualite : 0.048526368074601124 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29691546 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29691546_24-12-2025_14_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29691546 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29691546_24-12-2025_14_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29691560, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29691561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29691562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29691563, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29691564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29691565, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29691566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29691567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29691568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29691569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29691570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29691571, 'pht': 3726}}" where mtr_portfolio_id = 29691546 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29691546 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726659, 0.048526368074601124, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29691546_24-12-2025_14_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29691560, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29691561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29691562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29691563, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29691564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29691565, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29691566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29691567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29691568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29691569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29691570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29691571, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29692025 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4269305, 'mtr_portfolio_id': 29692025, 'created_at': datetime.datetime(2025, 12, 24, 14, 32, 59), 'result': '0.051972021137466164', 'result_long': None, 'result_double': None}] Qualite : 0.051972021137466164 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29692025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29692025_24-12-2025_14_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29692025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29692025_24-12-2025_14_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29692045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29692046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29692047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29692048, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29692049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29692050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29692051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29692052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29692053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29692054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29692055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29692056, 'pht': 3726}}" where mtr_portfolio_id = 29692025 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29692025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726660, 0.051972021137466164, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29692025_24-12-2025_14_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29692045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29692046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29692047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29692048, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29692049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29692050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29692051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29692052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29692053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29692054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29692055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29692056, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29692462 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4269375, 'mtr_portfolio_id': 29692462, 'created_at': datetime.datetime(2025, 12, 24, 14, 46, 59), 'result': '0.051879268141292276', 'result_long': None, 'result_double': None}] Qualite : 0.051879268141292276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29692462 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29692462_24-12-2025_14_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29692462 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29692462_24-12-2025_14_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29692480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29692481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29692482, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29692483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29692484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29692485, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29692486, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29692487, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29692488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29692489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29692491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29692492, 'pht': 3726}}" where mtr_portfolio_id = 29692462 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29692462 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726661, 0.051879268141292276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29692462_24-12-2025_14_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29692480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29692481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29692482, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29692483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29692484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29692485, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29692486, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29692487, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29692488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29692489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29692491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29692492, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29692916 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4269443, 'mtr_portfolio_id': 29692916, 'created_at': datetime.datetime(2025, 12, 24, 15, 7), 'result': '0.07270870109931347', 'result_long': None, 'result_double': None}] Qualite : 0.07270870109931347 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29692916 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29692916_24-12-2025_15_07_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29692916 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29692916_24-12-2025_15_07_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29692925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29692926, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29692927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29692928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29692929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29692930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29692931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29692932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29692933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29692934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29692935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29692936, 'pht': 3726}}" where mtr_portfolio_id = 29692916 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29692916 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726662, 0.07270870109931347, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29692916_24-12-2025_15_07_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29692925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29692926, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29692927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29692928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29692929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29692930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29692931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29692932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29692933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29692934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29692935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29692936, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29693472 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4269537, 'mtr_portfolio_id': 29693472, 'created_at': datetime.datetime(2025, 12, 24, 15, 17, 31), 'result': '0.04683292169112745', 'result_long': None, 'result_double': None}] Qualite : 0.04683292169112745 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29693472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29693472_24-12-2025_15_17_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29693472 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29693472_24-12-2025_15_17_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29693479, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29693480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29693481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29693482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29693483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29693485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29693486, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29693487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29693488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29693489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29693490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29693491, 'pht': 3726}}" where mtr_portfolio_id = 29693472 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29693472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726663, 0.04683292169112745, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29693472_24-12-2025_15_17_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29693479, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29693480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29693481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29693482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29693483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29693485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29693486, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29693487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29693488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29693489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29693490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29693491, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29694058 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4269587, 'mtr_portfolio_id': 29694058, 'created_at': datetime.datetime(2025, 12, 24, 15, 32, 59), 'result': '0.034332075261349265', 'result_long': None, 'result_double': None}] Qualite : 0.034332075261349265 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29694058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29694058_24-12-2025_15_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29694058 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29694058_24-12-2025_15_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29694062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29694063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29694064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29694065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29694066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29694067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29694068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29694069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29694070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29694071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29694072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29694073, 'pht': 3726}}" where mtr_portfolio_id = 29694058 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29694058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726664, 0.034332075261349265, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29694058_24-12-2025_15_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29694062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29694063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29694064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29694065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29694066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29694067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29694068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29694069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29694070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29694071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29694072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29694073, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29694500 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4269655, 'mtr_portfolio_id': 29694500, 'created_at': datetime.datetime(2025, 12, 24, 15, 48, 59), 'result': '0.03383001594518554', 'result_long': None, 'result_double': None}] Qualite : 0.03383001594518554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29694500 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29694500_24-12-2025_15_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29694500 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29694500_24-12-2025_15_48_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29694536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29694537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29694538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29694539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29694540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29694541, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29694542, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29694543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29694544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29694546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29694547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29694548, 'pht': 3726}}" where mtr_portfolio_id = 29694500 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29694500 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726665, 0.03383001594518554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29694500_24-12-2025_15_48_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29694536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29694537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29694538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29694539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29694540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29694541, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29694542, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29694543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29694544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29694546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29694547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29694548, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29694972 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4269720, 'mtr_portfolio_id': 29694972, 'created_at': datetime.datetime(2025, 12, 24, 16, 5, 1), 'result': '0.0640329966143529', 'result_long': None, 'result_double': None}] Qualite : 0.0640329966143529 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29694972 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29694972_24-12-2025_16_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29694972 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29694972_24-12-2025_16_05_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29694998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29694999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29695000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29695001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29695002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29695003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29695004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29695005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29695006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29695007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29695008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29695009, 'pht': 3726}}" where mtr_portfolio_id = 29694972 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29694972 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726666, 0.0640329966143529, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29694972_24-12-2025_16_05_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29694998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29694999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29695000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29695001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29695002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29695003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29695004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29695005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29695006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29695007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29695008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29695009, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29695358 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4269780, 'mtr_portfolio_id': 29695358, 'created_at': datetime.datetime(2025, 12, 24, 16, 19), 'result': '0.028326766146244457', 'result_long': None, 'result_double': None}] Qualite : 0.028326766146244457 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29695358 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29695358_24-12-2025_16_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29695358 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29695358_24-12-2025_16_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29695378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29695379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29695380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29695381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29695382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29695383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29695384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29695385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29695386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29695387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29695388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29695390, 'pht': 3726}}" where mtr_portfolio_id = 29695358 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29695358 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726667, 0.028326766146244457, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29695358_24-12-2025_16_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29695378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29695379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29695380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29695381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29695382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29695383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29695384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29695385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29695386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29695387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29695388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29695390, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29696015 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4269853, 'mtr_portfolio_id': 29696015, 'created_at': datetime.datetime(2025, 12, 24, 16, 32, 59), 'result': '0.060957840067902835', 'result_long': None, 'result_double': None}] Qualite : 0.060957840067902835 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29696015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29696015_24-12-2025_16_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29696015 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29696015_24-12-2025_16_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29696023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29696024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29696026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29696027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29696028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29696029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29696030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29696031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29696032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29696033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29696034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29696035, 'pht': 3726}}" where mtr_portfolio_id = 29696015 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29696015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726668, 0.060957840067902835, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29696015_24-12-2025_16_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29696023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29696024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29696026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29696027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29696028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29696029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29696030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29696031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29696032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29696033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29696034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29696035, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29696458 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4269911, 'mtr_portfolio_id': 29696458, 'created_at': datetime.datetime(2025, 12, 24, 16, 43), 'result': '0.05397684231255816', 'result_long': None, 'result_double': None}] Qualite : 0.05397684231255816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29696458 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29696458_24-12-2025_16_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29696458 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29696458_24-12-2025_16_43_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29696493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29696494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29696495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29696496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29696497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29696498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29696499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29696500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29696501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29696502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29696504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29696505, 'pht': 3726}}" where mtr_portfolio_id = 29696458 and dashboard_run_id = 2795702 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29696458 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18726669, 0.05397684231255816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29696458_24-12-2025_16_43_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29696493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29696494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29696495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29696496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29696497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29696498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29696499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29696500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29696501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29696502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29696504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29696505, '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 (29668057,29668522,29668997,29669483,29670567,29670856,29671273,29671897,29672417,29672816,29673237,29673713,29674114,29674573,29674924,29676059,29676249,29676605,29676944,29677291,29677990,29678443,29678824,29679327,29679903,29680333,29680947,29681446,29682053,29682444,29682930,29684897,29685440,29685916,29686600,29686898,29687389,29687863,29688349,29688925,29689481,29689654,29690911,29691202,29691546,29692025,29692462,29692916,29693472,29694058,29694500,29694972,29695358,29696015,29696458) result : ((1400757182,), (1400757200,), (1400757201,), (1400757219,), (1400757222,), (1400757225,), (1400757229,), (1400757233,), (1400757235,), (1400757291,), (1400757316,), (1400757349,), (1400757377,), (1400757746,), (1400757819,), (1400757890,), (1400757967,), (1400758048,), (1400758117,), (1400758458,), (1400758524,), (1400758596,), (1400758705,), (1400758733,), (1400758760,), (1400758785,), (1400759140,), (1400759145,), (1400759284,), (1400759286,), (1400759288,), (1400759291,), (1400759295,), (1400759299,), (1400759375,), (1400759403,), (1400759434,), (1400759459,), (1400759715,), (1400759753,), (1400759789,), (1400759925,), (1400759927,), (1400759938,), (1400759965,), (1400760110,), (1400760118,), (1400760120,), (1400760144,), (1400760148,), (1400760152,), (1400760155,), (1400760368,), (1400760397,), (1400760424,), (1400760451,), (1400760481,), (1400760511,), (1400760514,), (1400760517,), (1400760521,), (1400760525,), (1400760530,), (1400760537,), (1400760539,), (1400760555,), (1400760546,), (1400760549,), (1400760552,), (1400760570,), (1400760573,), (1400760578,), (1400760581,), (1400760587,), (1400760590,), (1400760617,), (1400760620,), (1400760622,), (1400760668,), (1400760698,), (1400760726,), (1400760758,), (1400760868,), (1400760871,), (1400760873,), (1400760876,), (1400760902,), (1400761049,), (1400761051,), (1400761053,), (1400761055,), (1400761057,), (1400761059,), (1400761079,), (1400761085,), (1400761088,), (1400761091,), (1400761101,), (1400761103,), (1400761105,), (1400761107,), (1400761110,), (1400761116,), (1400761119,), (1400761121,), (1400761136,), (1400761138,), (1400761141,), (1400761143,), (1400761147,), (1400761150,), (1400761161,), (1400761164,), (1400761168,), (1400761172,), (1400761178,), (1400761181,), (1400761197,), (1400761201,), (1400761204,), (1400761213,), (1400761218,), (1400761228,), (1400761254,), (1400761281,), (1400761316,), (1400761624,), (1400761628,), (1400761633,), (1400761676,), (1400761703,), (1400761715,), (1400761917,), (1400761949,), (1400761978,), (1400761984,), (1400761987,), (1400762060,), (1400762070,), (1400762540,), (1400762554,), (1400762557,), (1400762466,), (1400762498,), (1400762529,), (1400762534,), (1400762538,), (1400762570,), (1400762581,), (1400762583,), (1400762585,), (1400762587,), (1400762597,), (1400762598,), (1400762601,), (1400762605,), (1400762621,), (1400762623,), (1400762625,), (1400762654,), (1400762675,), (1400762703,), (1400762731,), (1400762761,), (1400762788,), (1400762795,), (1400762797,), (1400762799,), (1400762812,), (1400762815,), (1400762818,), (1400762820,), (1400762822,), (1400762824,), (1400762835,), (1400762838,), (1400762840,), (1400762842,), (1400762864,), (1400762866,), (1400762869,), (1400762876,), (1400762881,), (1400762957,), (1400762961,), (1400762965,), (1400762969,), (1400762973,), (1400762975,), (1400762988,), (1400762997,), (1400763003,), (1400763005,), (1400763021,), (1400763023,), (1400763025,), (1400763027,), (1400763030,), (1400763033,), (1400763051,), (1400763054,), (1400763057,), (1400763059,), (1400763062,), (1400763085,), (1400763088,), (1400763090,), (1400763092,), (1400763095,), (1400763098,), (1400763113,), (1400763120,), (1400763125,), (1400763147,), (1400763152,), (1400763156,), (1400763160,), (1400763163,), (1400763165,), (1400763198,), (1400763201,), (1400763204,), (1400763222,), (1400763239,), (1400763246,), (1400763248,), (1400763250,), (1400763253,), (1400763281,), (1400763190,), (1400763192,), (1400763195,), (1400763263,), (1400763266,), (1400763268,), (1400763276,), (1400763292,), (1400763341,), (1400763403,), (1400763450,), (1400763453,), (1400763474,), (1400763522,), (1400763528,), (1400763617,), (1400763620,), (1400763622,), (1400763626,), (1400763628,), (1400763631,), (1400763649,), (1400763653,), (1400763657,), (1400763663,), (1400763668,), (1400763670,), (1400763687,), (1400763692,), (1400763697,), (1400763728,), (1400763755,), (1400763758,), (1400763784,), (1400763790,), (1400763794,), (1400763798,), (1400763802,), (1400763804,), (1400763807,), (1400763822,), (1400763845,), (1400763848,), (1400763851,), (1400763870,), (1400763880,), (1400763890,), (1400763918,), (1400763922,), (1400763925,), (1400763930,), (1400763934,), (1400763949,), (1400765913,), (1400765916,), (1400765918,), (1400765937,), (1400765940,), (1400765944,), (1400765948,), (1400765972,), (1400765976,), (1400765995,), (1400765999,), (1400766004,), (1400766009,), (1400766026,), (1400766030,), (1400766034,), (1400766038,), (1400766054,), (1400766058,), (1400766061,), (1400766087,), (1400766089,), (1400766091,), (1400766094,), (1400766098,), (1400766102,), (1400766112,), (1400766115,), (1400766118,), (1400766121,), (1400766150,), (1400766154,), (1400766155,), (1400766158,), (1400766160,), (1400766175,), (1400766177,), (1400766178,), (1400766201,), (1400766210,), (1400766213,), (1400766216,), (1400766218,), (1400766220,), (1400766238,), (1400766241,), (1400766244,), (1400766248,), (1400766252,), (1400766256,), (1400766272,), (1400766274,), (1400766276,), (1400766295,), (1400766298,), (1400766301,), (1400766357,), (1400766340,), (1400766347,), (1400766355,), (1400766373,), (1400766375,), (1400766377,), (1400766381,), (1400766402,), (1400766412,), (1400766415,), (1400766441,), (1400766445,), (1400766449,), (1400766453,), (1400766477,), (1400766479,), (1400766481,), (1400766500,), (1400766504,), (1400766509,), (1400766515,), (1400766519,), (1400766521,), (1400766544,), (1400766548,), (1400766551,), (1400766567,), (1400766569,), (1400766571,), (1400766574,), (1400766601,), (1400766604,), (1400766607,), (1400766610,), (1400766632,), (1400766636,), (1400766640,), (1400766644,), (1400766648,), (1400766651,), (1400766654,), (1400766670,), (1400766673,), (1400766676,), (1400766678,), (1400766681,), (1400766684,), (1400766692,), (1400766695,), (1400766698,), (1400766702,), (1400766738,), (1400766741,), (1400766744,), (1400766748,), (1400766752,), (1400766756,), (1400766923,), (1400766958,), (1400766989,), (1400767018,), (1400767143,), (1400767124,), (1400767136,), (1400767140,), (1400767157,), (1400767184,), (1400767211,), (1400767240,), (1400767268,), (1400767486,), (1400768100,), (1400768152,), (1400768180,), (1400768206,), (1400768228,), (1400768428,), (1400768456,), (1400768482,), (1400768529,), (1400768558,), (1400768594,), (1400768660,), (1400768669,), (1400768679,), (1400768706,), (1400768782,), (1400768830,), (1400768898,), (1400768964,), (1400769266,), (1400769304,), (1400769344,), (1400769385,), (1400769568,), (1400769571,), (1400769574,), (1400769617,), (1400769668,), (1400769709,), (1400769846,), (1400769867,), (1400769871,), (1400769875,), (1400769879,), (1400769892,), (1400769896,), (1400769905,), (1400769915,), (1400769930,), (1400769941,), (1400769948,), (1400769960,), (1400769963,), (1400769966,), (1400769973,), (1400769974,), (1400769979,), (1400769993,), (1400769997,), (1400770000,), (1400770001,), (1400770002,), (1400770004,), (1400770007,), (1400770016,), (1400770019,), (1400770041,), (1400770050,), (1400770055,), (1400770058,), (1400770062,), (1400770066,), (1400770082,), (1400770092,), (1400770095,), (1400770097,), (1400770100,), (1400770104,), (1400770141,), (1400770121,), (1400770128,), (1400770134,), (1400770137,), (1400770155,), (1400770159,), (1400770161,), (1400770165,), (1400770168,), (1400770187,), (1400770190,), (1400770192,), (1400770197,), (1400770207,), (1400770216,), (1400770229,), (1400770237,), (1400770241,), (1400770246,), (1400770250,), (1400770266,), (1400770269,), (1400770272,), (1400770275,), (1400770279,), (1400770283,), (1400770300,), (1400770302,), (1400770304,), (1400770307,), (1400770310,), (1400770312,), (1400770319,), (1400770320,), (1400770321,), (1400770324,), (1400770343,), (1400770347,), (1400770351,), (1400770353,), (1400770366,), (1400770369,), (1400770372,), (1400770375,), (1400770378,), (1400770381,), (1400770407,), (1400770409,), (1400770411,), (1400770431,), (1400770433,), (1400770436,), (1400770440,), (1400770444,), (1400770469,), (1400770472,), (1400770474,), (1400770476,), (1400770479,), (1400770500,), (1400770503,), (1400770507,), (1400770512,), (1400770524,), (1400770549,), (1400770553,), (1400770555,), (1400770557,), (1400770559,), (1400770667,), (1400770660,), (1400770661,), (1400770665,), (1400770709,), (1400770734,), (1400770737,), (1400770776,), (1400770805,), (1400770807,), (1400770809,), (1400770812,), (1400770815,), (1400770833,), (1400770837,), (1400770840,), (1400770843,), (1400770846,), (1400770864,), (1400770869,), (1400770877,), (1400770880,), (1400770896,), (1400770900,), (1400770902,), (1400770904,), (1400770906,), (1400770908,), (1400770921,), (1400770932,), (1400770938,), (1400770946,), (1400770952,), (1400770968,), (1400770972,), (1400770975,), (1400770977,), (1400770979,), (1400771002,), (1400771009,), (1400771010,), (1400771011,), (1400771014,), (1400771017,), (1400771032,), (1400771036,), (1400771040,), (1400771045,), (1400771049,), (1400771052,), (1400771056,), (1400771057,), (1400771058,), (1400771064,), (1400771090,), (1400771081,), (1400771083,), (1400771084,), (1400771085,), (1400771087,), (1400771099,), (1400771103,), (1400771105,), (1400771107,), (1400771109,), (1400771137,), (1400771139,), (1400771141,), (1400771144,), (1400771146,), (1400771148,), (1400771166,), (1400771168,), (1400771170,), (1400771173,), (1400771176,), (1400771188,), (1400771200,), (1400771209,), (1400771219,), (1400771239,), (1400771243,), (1400771245,), (1400771247,), (1400771249,), (1400771251,), (1400771279,), (1400771281,), (1400771283,), (1400771286,), (1400771290,), (1400771309,), (1400771315,), (1400771318,), (1400771345,), (1400771351,), (1400771352,), (1400771353,), (1400771375,), (1400771378,), (1400771382,), (1400771386,), (1400771391,), (1400771393,), (1400771402,), (1400771403,), (1400771404,), (1400771424,), (1400771428,), (1400771432,), (1400771434,), (1400771435,), (1400771436,), (1400771450,), (1400771454,), (1400771481,), (1400771489,), (1400771493,), (1400771496,), (1400771499,), (1400771502,), (1400771517,), (1400771523,), (1400771527,), (1400771532,), (1400771536,), (1400771540,), (1400771563,), (1400771566,), (1400771569,), (1400771577,), (1400771582,), (1400771584,), (1400771585,), (1400771552,), (1400771557,), (1400771560,), (1400771593,), (1400771597,), (1400771601,), (1400771604,), (1400771606,), (1400771622,), (1400771626,), (1400771629,), (1400771633,), (1400771638,), (1400771658,), (1400771662,), (1400771664,), (1400771666,), (1400771668,), (1400771670,), (1400771688,), (1400771691,), (1400771694,), (1400771698,), (1400771719,), (1400771724,), (1400771732,), (1400771736,), (1400771740,), (1400771744,), (1400771769,), (1400771772,), (1400771775,), (1400771778,), (1400771781,), (1400771808,), (1400771809,), (1400771811,), (1400771832,), (1400771836,), (1400771840,), (1400771844,), (1400771848,), (1400771851,), (1400771888,), (1400771904,), (1400771907,), (1400771909,), (1400771911,), (1400771936,), (1400771939,), (1400771941,), (1400771943,), (1400771976,), (1400771986,), (1400771991,), (1400771995,), (1400771999,), (1400772013,), (1400772017,), (1400772020,), (1400772023,), (1400772027,), (1400772029,), (1400772045,), (1400772063,), (1400772064,), (1400772093,), (1400772095,), (1400772098,), (1400772101,), (1400772105,), (1400772110,), (1400772154,), (1400772140,), (1400772145,), (1400772148,), (1400772151,), (1400772168,), (1400772171,), (1400772174,), (1400772177,), (1400772179,), (1400772180,), (1400772205,), (1400772207,), (1400772209,), (1400772212,), (1400772216,), (1400772238,), (1400772242,), (1400772246,), (1400772250,), (1400772280,), (1400772284,), (1400772288,), (1400772291,), (1400772311,), (1400772314,), (1400772317,), (1400772321,), (1400772324,), (1400772327,), (1400772338,), (1400772340,), (1400772344,), (1400772354,), (1400772357,), (1400772360,), (1400772362,), (1400772363,), (1400772367,), (1400772381,), (1400772385,), (1400772387,), (1400772419,), (1400772425,), (1400772427,), (1400772430,), (1400772434,), (1400772456,), (1400772460,), (1400772465,), (1400772470,), (1400772476,), (1400772510,), (1400772513,), (1400772516,), (1400772519,), (1400772539,), (1400772542,), (1400772545,), (1400772580,), (1400772584,), (1400772586,), (1400772590,), (1400772594,), (1400772613,), (1400772616,), (1400772618,), (1400772620,), (1400772622,), (1400772647,), (1400772650,), (1400772654,), (1400772697,), (1400772700,), (1400772709,), (1400772712,), (1400772685,), (1400772689,), (1400772692,), (1400772695,), (1400772719,), (1400772721,), (1400772723,), (1400772726,), (1400772729,), (1400772758,), (1400772761,), (1400772764,), (1400772768,), (1400772771,), (1400772788,), (1400772790,), (1400772794,), (1400772798,), (1400772820,), (1400772822,), (1400772824,), (1400772826,), (1400772829,), (1400772863,), (1400772866,), (1400772868,), (1400772894,), (1400772941,), (1400772947,), (1400772950,), (1400772968,), (1400772970,), (1400772972,), (1400772996,), (1400773000,), (1400773003,), (1400773007,), (1400773033,), (1400773035,), (1400773036,), (1400773126,), (1400773128,), (1400773151,), (1400773154,), (1400773194,), (1400773195,), (1400773197,), (1400773199,), (1400773208,), (1400773190,), (1400773193,), (1400773217,), (1400773219,), (1400773222,), (1400773226,), (1400773252,), (1400773255,), (1400773258,), (1400773261,), (1400773264,), (1400773268,), (1400773290,), (1400773294,), (1400773297,), (1400773325,), (1400773328,), (1400773330,), (1400773332,), (1400773335,), (1400773352,), (1400773355,), (1400773357,), (1400773360,), (1400773363,), (1400773389,), (1400773390,), (1400773393,), (1400773397,), (1400773417,), (1400773420,), (1400773422,), (1400773425,), (1400773430,), (1400773432,), (1400773455,), (1400773458,), (1400773462,), (1400773466,), (1400773470,), (1400773501,), (1400773503,), (1400773505,), (1400773506,), (1400773507,), (1400773510,), (1400773521,), (1400773524,), (1400773527,), (1400773529,), (1400773531,), (1400773535,), (1400773539,), (1400773543,), (1400773556,), (1400773559,), (1400773564,), (1400773599,), (1400773602,), (1400773605,), (1400773608,), (1400773610,), (1400773699,), (1400773735,), (1400773768,), (1400773802,), (1400773946,), (1400773947,), (1400773979,), (1400773986,), (1400774012,), (1400774020,), (1400774048,), (1400774067,), (1400774413,), (1400774291,), (1400774323,), (1400774359,), (1400774395,), (1400774440,), (1400774539,), (1400774651,), (1400774758,), (1400774804,), (1400775609,), (1400775692,), (1400775803,), (1400776544,), (1400776579,), (1400776613,), (1400776946,), (1400776978,), (1400777011,), (1400778135,), (1400778196,), (1400778250,), (1400778830,), (1400778864,), (1400778906,), (1400779000,), (1400779073,), (1400779536,), (1400780050,), (1400780200,), (1400780300,), (1400780879,), (1400780919,), (1400780984,), (1400781053,), (1400781125,), (1400781528,), (1400781562,), (1400783863,), (1400783860,), (1400783999,), (1400784001,), (1400784027,), (1400784030,), (1400784034,), (1400784037,), (1400784040,), (1400784063,), (1400784066,), (1400784069,), (1400784072,), (1400784093,), (1400784095,), (1400784142,), (1400784146,), (1400784150,), (1400784154,), (1400784157,), (1400784161,), (1400784177,), (1400784188,), (1400784191,), (1400784194,), (1400784197,), (1400784219,), (1400784221,), (1400784223,), (1400784245,), (1400784248,), (1400784253,), (1400784258,), (1400784264,), (1400784268,), (1400784279,), (1400784281,), (1400784307,), (1400784288,), (1400784291,), (1400784295,), (1400784301,), (1400784304,), (1400784317,), (1400784321,), (1400784354,), (1400784418,), (1400784443,), (1400784446,), (1400784488,), (1400784495,), (1400784500,), (1400784525,), (1400784592,), (1400784598,), (1400784604,), (1400784610,), (1400784617,), (1400784639,), (1400784642,), (1400784644,), (1400784646,), (1400784649,), (1400784652,), (1400784673,), (1400784676,), (1400784679,), (1400784682,), (1400784704,), (1400784705,), (1400784707,), (1400784710,), (1400784714,), (1400784718,), (1400784746,), (1400784751,), (1400784754,), (1400784758,), (1400784782,), (1400784784,), (1400784786,), (1400784788,), (1400784791,), (1400784794,), (1400784823,), (1400784834,), (1400784840,), (1400784843,), (1400784916,), (1400784868,), (1400784899,), (1400784902,), (1400784906,), (1400784909,), (1400784932,), (1400784935,), (1400784937,), (1400784939,), (1400784960,), (1400784963,), (1400784964,), (1400784965,), (1400784967,), (1400784969,), (1400785005,), (1400785007,), (1400785010,), (1400785014,), (1400785034,), (1400785038,), (1400785042,), (1400785046,), (1400785048,), (1400785051,), (1400785059,), (1400785063,), (1400785067,), (1400785075,), (1400785088,), (1400785089,), (1400785091,), (1400785094,), (1400785113,), (1400785114,), (1400785116,), (1400785119,), (1400785123,), (1400785128,), (1400785154,), (1400785158,), (1400785162,), (1400785166,), (1400785223,), (1400785255,), (1400785257,), (1400785260,), (1400785298,), (1400785300,), (1400785301,), (1400785303,), (1400785306,), (1400785309,), (1400785328,), (1400785331,), (1400785335,), (1400785361,), (1400785365,), (1400785368,), (1400785371,), (1400785374,), (1400785388,), (1400785390,), (1400785393,), (1400785396,), (1400785400,), (1400785445,), (1400785435,), (1400785438,), (1400785442,), (1400785467,), (1400785469,), (1400785473,), (1400785477,), (1400785485,), (1400785489,), (1400785508,), (1400785510,), (1400785511,), (1400785513,), (1400785516,), (1400785534,), (1400785547,), (1400785551,), (1400785555,), (1400785558,), (1400785585,), (1400785588,), (1400785590,), (1400785592,), (1400785595,), (1400785618,), (1400785620,), (1400785622,), (1400785624,), (1400785626,), (1400785628,), (1400785645,), (1400785649,), (1400785654,), (1400785656,), (1400785673,), (1400785675,), (1400785678,), (1400785681,), (1400785684,), (1400785704,), (1400785708,), (1400785711,), (1400785714,), (1400785717,), (1400785719,), (1400785758,), (1400785761,), (1400785762,), (1400785763,), (1400785785,), (1400785787,), (1400785790,), (1400785794,), (1400785798,), (1400785801,), (1400785828,), (1400785831,), (1400785840,), (1400785850,), (1400785883,), (1400785887,), (1400785890,), (1400785893,), (1400785897,), (1400785916,), (1400785924,), (1400785927,), (1400785932,), (1400785935,), (1400785955,), (1400785958,), (1400785961,), (1400785971,), (1400785974,), (1400785976,), (1400785978,), (1400785982,), (1400786154,), (1400785994,), (1400786001,), (1400786038,), (1400786079,), (1400786114,), (1400786434,), (1400786470,), (1400786505,), (1400786544,), (1400786749,), (1400786825,), (1400786890,), (1400786963,), (1400787027,), (1400787072,), (1400787719,), (1400787824,), (1400787926,), (1400789143,), (1400789177,), (1400789215,), (1400789252,), (1400789294,), (1400789884,), (1400790406,), (1400791021,), (1400791246,), (1400791257,), (1400791259,), (1400791281,), (1400791566,), (1400791611,), (1400791650,), (1400791918,), (1400791939,), (1400791946,), (1400791958,), (1400791976,), (1400792032,), (1400792035,), (1400792037,), (1400792039,), (1400792042,), (1400792044,), (1400792058,), (1400792061,), (1400792064,), (1400792100,), (1400792102,), (1400792104,), (1400792107,), (1400792110,), (1400792114,), (1400792134,), (1400792137,), (1400792140,), (1400792143,), (1400792147,), (1400792148,), (1400792159,), (1400792163,), (1400792166,), (1400792169,), (1400792174,), (1400792178,), (1400792190,), (1400792188,), (1400792205,), (1400792207,), (1400792209,), (1400792212,), (1400792240,), (1400792250,), (1400792254,), (1400792258,), (1400792285,), (1400792288,), (1400792290,), (1400792292,), (1400792341,), (1400792344,), (1400792347,), (1400792371,), (1400792375,), (1400792379,), (1400792384,), (1400792387,), (1400792391,), (1400792395,), (1400792399,), (1400792403,), (1400792409,), (1400792411,), (1400792413,), (1400792415,), (1400792417,), (1400792421,), (1400792432,), (1400792434,), (1400792435,), (1400792465,), (1400792470,), (1400792474,), (1400792478,), (1400792481,), (1400792484,), (1400792503,), (1400792507,), (1400792510,), (1400792513,), (1400792516,), (1400792551,), (1400792553,), (1400792555,), (1400792558,), (1400792577,), (1400792580,), (1400792628,), (1400792632,), (1400792635,), (1400792638,), (1400792641,), (1400792643,), (1400792654,), (1400792657,), (1400792660,), (1400792664,), (1400792693,), (1400792698,), (1400792701,), (1400792704,), (1400792708,), (1400792710,), (1400792748,), (1400792730,), (1400792734,), (1400792737,), (1400792740,), (1400792744,), (1400792781,), (1400792786,), (1400792788,), (1400792808,), (1400792813,), (1400792815,), (1400792820,), (1400792823,), (1400792827,), (1400792837,), (1400792841,), (1400792844,), (1400792847,), (1400792869,), (1400792873,), (1400792878,), (1400792884,), (1400792888,), (1400792892,), (1400792914,), (1400792915,), (1400792923,), (1400792932,), (1400792946,), (1400792948,), (1400792949,), (1400792950,), (1400792951,), (1400792953,), (1400792962,), (1400792964,), (1400792967,), (1400792970,), (1400793007,), (1400793011,), (1400793013,), (1400793016,), (1400793020,), (1400793024,), (1400793041,), (1400793053,), (1400793057,), (1400793061,), (1400793096,), (1400793110,), (1400793113,), (1400793116,), (1400793118,), (1400793133,), (1400793136,), (1400793139,), (1400793143,), (1400793149,), (1400793153,), (1400793159,), (1400793161,), (1400793163,), (1400793167,), (1400793178,), (1400793181,), (1400793183,), (1400793206,), (1400793210,), (1400793213,), (1400793216,), (1400793219,), (1400793245,), (1400793253,), (1400793257,), (1400793260,), (1400793264,), (1400793266,), (1400793277,), (1400793280,), (1400793284,), (1400793287,), (1400793291,), (1400793333,), (1400793320,), (1400793324,), (1400793327,), (1400793330,), (1400793351,), (1400793353,), (1400793355,), (1400793358,), (1400793362,), (1400793388,), (1400793391,), (1400793394,), (1400793398,), (1400793421,), (1400793423,), (1400793426,), (1400793429,), (1400793433,), (1400793436,), (1400793458,), (1400793462,), (1400793465,), (1400793468,), (1400793471,), (1400793497,), (1400793498,), (1400793500,), (1400793503,), (1400793534,), (1400793538,), (1400793542,), (1400793546,), (1400793549,), (1400793552,), (1400793568,), (1400793579,), (1400793582,), (1400793586,), (1400793589,), (1400793630,), (1400793632,), (1400793634,), (1400793637,), (1400793641,), (1400793645,), (1400793661,), (1400793665,), (1400793670,), (1400793675,), (1400793679,), (1400793682,), (1400793687,), (1400793688,), (1400793689,), (1400793690,), (1400793698,), (1400793725,), (1400793730,), (1400793732,), (1400793736,), (1400793740,), (1400793742,), (1400793750,), (1400793751,), (1400793754,), (1400793756,), (1400793763,), (1400793774,), (1400793787,), (1400793790,), (1400793793,), (1400793797,), (1400793801,), (1400793805,), (1400793811,), (1400793813,), (1400793828,), (1400793833,), (1400793838,), (1400793843,), (1400793847,), (1400793855,), (1400793856,), (1400793861,), (1400793863,), (1400793865,), (1400793897,), (1400793880,), (1400793884,), (1400793888,), (1400793891,), (1400793894,), (1400793921,), (1400793930,), (1400793934,), (1400793938,), (1400793951,), (1400793956,), (1400793960,), (1400793964,), (1400793968,), (1400793971,), (1400793990,), (1400794004,), (1400794010,), (1400794024,), (1400794043,), (1400794048,), (1400794052,), (1400794058,), (1400794070,), (1400794076,), (1400794138,), (1400794144,), (1400794147,), (1400794150,), (1400794165,), (1400794200,), (1400794233,), (1400794268,), (1400794298,), (1400794302,), (1400794313,), (1400794317,), (1400794321,), (1400794325,), (1400794329,), (1400794333,), (1400794352,), (1400794397,), (1400794400,), (1400794428,), (1400794432,), (1400794436,), (1400794633,), (1400794637,), (1400795022,), (1400795025,), (1400795028,), (1400795031,), (1400795034,), (1400795038,), (1400795069,), (1400795082,), (1400795089,), (1400795112,), (1400795116,), (1400795119,), (1400795123,), (1400795126,), (1400795129,), (1400795137,), (1400795139,), (1400795178,), (1400795181,), (1400795184,), (1400795167,), (1400795169,), (1400795172,), (1400795209,), (1400795213,), (1400795215,), (1400795217,), (1400795220,), (1400795232,), (1400795238,), (1400795242,), (1400795250,), (1400795266,), (1400795481,), (1400795490,), (1400795517,), (1400795540,), (1400795651,), (1400795675,), (1400795678,), (1400795682,), (1400795686,), (1400795690,), (1400795982,), (1400795991,), (1400795997,), (1400796013,), (1400796051,), (1400796054,), (1400796077,), (1400796087,), (1400796091,), (1400796137,), (1400796139,), (1400796142,), (1400796145,), (1400796149,), (1400796171,), (1400796175,), (1400796178,), (1400796181,), (1400796498,), (1400796501,), (1400796505,), (1400796510,), (1400796515,), (1400796518,), (1400796545,), (1400796546,), (1400796547,), (1400796550,), (1400796561,), (1400796566,), (1400796570,), (1400796572,), (1400796747,), (1400796751,), (1400796753,), (1400796756,), (1400796759,), (1400796896,), (1400796899,), (1400797077,), (1400797069,), (1400797073,), (1400797111,), (1400797115,), (1400797116,), (1400797118,), (1400797121,), (1400797137,), (1400797140,), (1400797142,), (1400797185,), (1400797188,), (1400797192,), (1400797196,), (1400797201,), (1400797205,), (1400797229,), (1400797232,), (1400797235,), (1400797237,), (1400797239,), (1400797241,), (1400797247,), (1400797251,), (1400797255,), (1400797257,), (1400797261,), (1400797264,), (1400797268,), (1400797271,), (1400797274,), (1400797277,), (1400797288,), (1400797293,), (1400797299,), (1400797303,), (1400797308,), (1400797348,), (1400797364,), (1400797376,), (1400797387,), (1400797390,), (1400797407,), (1400797410,), (1400797413,), (1400797417,), (1400797420,), (1400797436,), (1400797439,), (1400797442,), (1400797446,), (1400797449,), (1400797453,), (1400797465,), (1400797469,), (1400797473,), (1400797477,), (1400797508,), (1400797512,), (1400797515,), (1400797518,), (1400797521,), (1400797524,), (1400797543,), (1400797545,), (1400797547,), (1400797580,), (1400797583,), (1400797586,), (1400797589,), (1400797593,), (1400797596,), (1400797624,), (1400797626,), (1400797631,), (1400797639,), (1400797647,), (1400797649,), (1400797669,), (1400797672,), (1400797685,), (1400797688,), (1400797691,), (1400797718,), (1400797735,), (1400797729,), (1400797731,), (1400797733,), (1400797745,), (1400797748,), (1400797751,), (1400797754,), (1400797758,), (1400797955,), (1400797959,), (1400797962,), (1400797965,), (1400797973,), (1400798091,), (1400798095,), (1400798146,), (1400798150,), (1400798153,), (1400798312,), (1400798335,), (1400798338,), (1400798342,), (1400798346,), (1400798358,), (1400798538,), (1400798543,), (1400798547,), (1400798734,), (1400798738,), (1400798758,), (1400798783,), (1400798874,), (1400798907,), (1400798913,), (1400798916,), (1400798919,), (1400798955,), (1400798963,), (1400798966,), (1400798969,), (1400799009,), (1400799012,), (1400799015,), (1400799018,), (1400799021,), (1400799023,), (1400799032,), (1400799034,), (1400799035,), (1400799038,), (1400799057,), (1400799060,), (1400799065,), (1400799078,), (1400799083,), (1400799087,), (1400799092,), (1400799097,), (1400799101,), (1400799137,), (1400799141,), (1400799144,), (1400799147,), (1400799344,), (1400799347,), (1400799351,), (1400799353,), (1400799356,), (1400799388,), (1400799398,), (1400799404,), (1400799408,), (1400799414,), (1400799566,), (1400799456,), (1400799495,), (1400799531,), (1400799790,), (1400799794,), (1400799797,), (1400799800,), (1400799804,), (1400799807,), (1400799826,), (1400799828,), (1400799830,), (1400799833,), (1400799857,), (1400799861,), (1400799865,), (1400799868,), (1400799872,), (1400799876,), (1400799904,), (1400799909,), (1400799912,), (1400799915,), (1400799917,), (1400799920,), (1400799986,), (1400800020,), (1400800027,), (1400800113,), (1400800212,), (1400800271,), (1400800274,), (1400800277,), (1400800280,), (1400800283,), (1400800291,), (1400800295,), (1400800300,), (1400800304,), (1400800308,), (1400800311,), (1400800396,), (1400800421,), (1400800442,), (1400800453,), (1400800472,), (1400800474,), (1400800476,), (1400800480,), (1400800486,), (1400800489,), (1400800514,), (1400800518,), (1400800534,), (1400800598,), (1400800603,), (1400800605,), (1400800609,), (1400800655,), (1400800662,), (1400800665,), (1400800668,), (1400800705,), (1400800709,), (1400800852,), (1400800867,), (1400800883,), (1400800890,), (1400800894,), (1400800898,), (1400800909,), (1400800913,), (1400800916,), (1400800919,), (1400800922,), (1400800960,), (1400800946,), (1400800948,), (1400800950,), (1400800953,), (1400800957,), (1400800989,), (1400800993,), (1400800996,), (1400801000,), (1400801005,), (1400801009,), (1400801034,), (1400801037,), (1400801039,), (1400801041,), (1400801071,), (1400801074,), (1400801077,), (1400801081,), (1400801086,), (1400801090,), (1400801131,), (1400801134,), (1400801137,), (1400801140,), (1400801144,), (1400801373,), (1400801406,), (1400801440,), (1400801450,), (1400801452,), (1400801455,), (1400801481,), (1400801485,), (1400801488,), (1400801492,), (1400801496,), (1400801521,), (1400801524,), (1400801527,), (1400801530,), (1400801534,), (1400801537,), (1400801557,), (1400801580,), (1400801583,), (1400801586,), (1400801600,), (1400801603,), (1400801604,), (1400801608,), (1400801612,), (1400801637,), (1400801641,), (1400801646,), (1400801650,), (1400801655,), (1400801658,), (1400801675,), (1400801679,), (1400801682,), (1400801685,), (1400801712,), (1400801714,), (1400801716,), (1400801719,), (1400801723,), (1400801727,), (1400801748,), (1400801752,), (1400801756,), (1400801760,), (1400801764,), (1400801797,), (1400801800,), (1400801802,), (1400801804,), (1400801808,), (1400801881,), (1400801868,), (1400801870,), (1400801873,), (1400801877,), (1400801909,), (1400801911,), (1400801913,), (1400801916,), (1400801919,), (1400801937,), (1400801941,), (1400801946,), (1400801949,), (1400801954,), (1400801958,), (1400801988,), (1400801992,), (1400801994,), (1400801997,), (1400802000,), (1400802032,), (1400802034,), (1400802036,), (1400802038,), (1400802041,), (1400802044,), (1400802061,), (1400802065,), (1400802068,), (1400802071,), (1400802074,), (1400802083,), (1400802087,), (1400802089,), (1400802091,), (1400802107,), (1400802111,), (1400802114,), (1400802117,), (1400802121,), (1400802158,), (1400802162,), (1400802166,), (1400802193,), (1400802196,), (1400802198,), (1400802200,), (1400802203,), (1400802206,), (1400802220,), (1400802229,), (1400802236,), (1400802240,), (1400802243,), (1400802274,), (1400802284,), (1400802288,), (1400802291,), (1400802295,), (1400802331,), (1400802333,), (1400802334,), (1400802336,), (1400802339,), (1400802342,), (1400802366,), (1400802372,), (1400802375,), (1400802404,), (1400802407,), (1400802410,), (1400802414,), (1400802442,), (1400802446,), (1400802449,), (1400802453,), (1400802457,), (1400802460,), (1400802465,), (1400802467,), (1400802485,), (1400802478,), (1400802482,), (1400802509,), (1400802511,), (1400802549,), (1400802552,), (1400802555,), (1400802580,), (1400802582,), (1400802585,), (1400802602,), (1400802606,), (1400802609,), (1400802638,), (1400802640,), (1400802642,), (1400802645,), (1400802649,), (1400802665,), (1400802668,), (1400802671,), (1400802675,), (1400802694,), (1400802697,), (1400802701,), (1400802705,), (1400802755,), (1400802789,), (1400802819,), (1400802910,), (1400802912,), (1400802916,), (1400802920,), (1400802943,), (1400802947,), (1400802991,), (1400803023,), (1400803053,), (1400803708,), (1400803719,), (1400803722,), (1400803726,), (1400803755,), (1400803794,), (1400803880,), (1400803886,), (1400803891,), (1400803896,), (1400803949,), (1400803951,), (1400803984,), (1400803988,), (1400804016,), (1400804020,), (1400812919,), (1400812912,), (1400812916,), (1400812938,), (1400812941,), (1400812944,), (1400812949,), (1400812954,), (1400812959,), (1400812973,), (1400812979,), (1400812986,), (1400813158,), (1400813171,), (1400813174,), (1400813177,), (1400813180,), (1400813183,), (1400813199,), (1400813203,), (1400813211,), (1400813218,), (1400813219,), (1400813221,), (1400813225,), (1400813240,), (1400813251,), (1400813255,), (1400813351,), (1400813387,), (1400813412,), (1400813415,), (1400813442,), (1400813445,), (1400813518,), (1400813521,), (1400813524,), (1400813528,), (1400813592,), (1400813596,), (1400813600,), (1400813604,), (1400813608,), (1400813664,), (1400813701,), (1400813736,), (1400813767,), (1400813771,), (1400813775,), (1400813804,), (1400813807,), (1400813810,), (1400813814,), (1400813818,), (1400813928,), (1400813932,), (1400813936,), (1400813940,), (1400814111,), (1400814137,), (1400814165,), (1400814167,), (1400814176,), (1400814194,), (1400814612,), (1400814617,), (1400814623,), (1400814629,), (1400814645,), (1400814682,), (1400814771,), (1400814772,), (1400814777,), (1400814810,), (1400814848,), (1400814866,), (1400814979,), (1400814980,), (1400814875,), (1400814876,), (1400814898,), (1400814899,), (1400814931,), (1400814934,), (1400814967,), (1400814973,), (1400814988,), (1400814991,), (1400814994,), (1400814996,), (1400814999,), (1400815002,), (1400815026,), (1400815029,), (1400815031,), (1400815051,), (1400815052,), (1400815054,), (1400815057,), (1400815061,), (1400815065,), (1400815087,), (1400815091,), (1400815095,), (1400815099,), (1400815103,), (1400815107,), (1400815117,), (1400815121,), (1400815124,), (1400815147,), (1400815149,), (1400815151,), (1400815154,), (1400815297,), (1400815335,), (1400815371,), (1400815406,), (1400815871,), (1400815887,), (1400815889,), (1400815891,), (1400815894,), (1400815935,), (1400816075,), (1400816078,), (1400816082,), (1400816093,), (1400816135,), (1400816171,), (1400816188,), (1400816192,), (1400816193,), (1400816205,), (1400816208,), (1400816212,), (1400816215,), (1400816216,), (1400816217,), (1400816226,), (1400816230,), (1400816233,), (1400816236,), (1400816239,), (1400816273,), (1400816276,), (1400816278,), (1400816281,), (1400816285,), (1400816319,), (1400816323,), (1400816327,), (1400816332,), (1400816334,), (1400816343,), (1400818292,), (1400819532,), (1400819953,), (1400818198,), (1400819024,), (1400819115,), (1400819192,), (1400819215,), (1400819251,), (1400819282,), (1400819420,), (1400819764,), (1400819800,), (1400819832,), (1400819878,), (1400819915,), (1400820088,), (1400820089,), (1400820129,), (1400820134,), (1400820162,), (1400820167,), (1400820200,), (1400820203,), (1400820381,), (1400820414,), (1400820446,), (1400820477,), (1400820510,), (1400820554,), (1400821046,), (1400821080,), (1400821114,), (1400821150,), (1400821186,), (1400821224,), (1400821697,), (1400821813,), (1400821943,), (1400822056,), (1400822863,), (1400822931,), (1400822934,), (1400822971,), (1400823087,), (1400823155,), (1400823752,), (1400823825,), (1400823869,), (1400823907,), (1400823945,), (1400824414,), (1400824416,), (1400824419,), (1400824422,), (1400824426,), (1400824429,), (1400824551,), (1400824587,), (1400824621,), (1400824656,), (1400824690,), (1400824726,), (1400824880,), (1400824884,), (1400824908,), (1400824917,), (1400824920,), (1400824924,), (1400825098,), (1400825134,), (1400825662,), (1400825695,), (1400829515,), (1400829507,), (1400829513,), (1400829562,), (1400829565,), (1400829568,), (1400829622,), (1400829628,), (1400829632,), (1400829636,), (1400829639,), (1400829642,), (1400829667,), (1400829670,), (1400829672,), (1400829675,), (1400829722,), (1400829724,), (1400829725,), (1400829729,), (1400829782,), (1400829785,), (1400829788,), (1400829792,), (1400829795,), (1400829799,), (1400829814,), (1400829816,), (1400829819,), (1400829823,), (1400829855,), (1400829860,), (1400829872,), (1400829938,), (1400829924,), (1400829928,), (1400829931,), (1400829934,), (1400829935,), (1400829953,), (1400829962,), (1400829965,), (1400829968,), (1400829986,), (1400829995,), (1400830130,), (1400830219,), (1400830306,), (1400830320,), (1400830366,), (1400830369,), (1400830372,), (1400830375,), (1400830379,), (1400830381,), (1400830436,), (1400830440,), (1400830456,), (1400830462,), (1400830498,), (1400830501,), (1400830503,), (1400830506,), (1400830509,), (1400830526,), (1400830528,), (1400830531,), (1400830534,), (1400830539,), (1400830543,), (1400830600,), (1400830614,), (1400830625,), (1400830632,), (1400830644,), (1400830657,), (1400830687,), (1400830688,), (1400830690,), (1400830693,), (1400830697,), (1400830730,), (1400830734,), (1400830738,), (1400830742,), (1400830744,), (1400830748,), (1400830771,), (1400830775,), (1400830779,), (1400830782,), (1400830819,), (1400830821,), (1400830823,), (1400830825,), (1400830828,), (1400830831,), (1400830889,), (1400830891,), (1400830894,), (1400830898,), (1400830937,), (1400830939,), (1400830941,), (1400830944,), (1400830947,), (1400830950,), (1400831004,), (1400831007,), (1400831010,), (1400831013,), (1400831016,), (1400831017,), (1400831044,), (1400831054,), (1400831057,), (1400831091,), (1400831076,), (1400831079,), (1400831082,), (1400831085,), (1400831088,), (1400831106,), (1400831108,), (1400831110,), (1400831117,), (1400831128,), (1400831190,), (1400831200,), (1400831204,), (1400831208,), (1400831212,), (1400831215,), (1400831235,), (1400831238,), (1400831241,), (1400831284,), (1400831296,), (1400831310,), (1400831313,), (1400831316,), (1400831319,), (1400831543,), (1400831554,), (1400831558,), (1400832079,), (1400832142,), (1400832144,), (1400832147,), (1400832150,), (1400832154,), (1400832158,), (1400832187,), (1400832198,), (1400832202,), (1400832250,), (1400832252,), (1400832255,), (1400832259,), (1400832263,), (1400832266,), (1400832326,), (1400832333,), (1400832337,), (1400832341,), (1400832345,), (1400832348,), (1400832569,), (1400832588,), (1400832628,), (1400832704,), (1400832687,), (1400832691,), (1400832695,), (1400832699,), (1400832725,), (1400832729,), (1400832732,), (1400833203,), (1400833236,), (1400833277,), (1400833307,), (1400833557,), (1400833561,), (1400833564,), (1400833568,), (1400833572,), (1400833575,), (1400833829,), (1400833994,), (1400833998,), (1400834001,), (1400834005,), (1400834342,), (1400834375,), (1400834411,), (1400834446,), (1400834480,), (1400834515,), (1400834882,), (1400834916,), (1400834953,), (1400834989,), (1400835186,), (1400835198,), (1400835202,), (1400835205,), (1400835211,), (1400835216,), (1400835341,), (1400835374,), (1400835408,), (1400835443,), (1400835750,), (1400835777,), (1400835788,), (1400835802,), (1400835804,), (1400835817,), (1400835901,), (1400835931,), (1400835938,), (1400835948,), (1400835951,), (1400835954,), (1400835958,), (1400835961,), (1400835964,), (1400836008,), (1400836022,), (1400836032,), (1400836066,), (1400836212,), (1400836216,), (1400836224,), (1400836238,), (1400836247,), (1400836256,), (1400836269,), (1400836272,), (1400836274,), (1400836276,), (1400836319,), (1400836303,), (1400836312,), (1400836317,), (1400836368,), (1400836371,), (1400836583,), (1400836651,), (1400836700,), (1400836716,), (1400836875,), (1400837153,), (1400837221,), (1400837225,), (1400837435,), (1400837439,), (1400837442,), (1400837445,), (1400837448,), (1400837483,), (1400837488,), (1400837489,), (1400837492,), (1400837497,), (1400837501,), (1400837559,), (1400837563,), (1400837566,), (1400837570,), (1400837575,), (1400837647,), (1400837656,), (1400837659,), (1400837663,), (1400837666,), (1400837668,), (1400837697,), (1400837700,), (1400837702,), (1400837705,), (1400837742,), (1400837746,), (1400837751,), (1400837755,), (1400837759,), (1400837762,), (1400837818,), (1400837824,), (1400837831,), (1400837835,), (1400837837,), (1400837839,), (1400837849,), (1400837808,), (1400837809,), (1400837812,), (1400837815,), (1400837862,), (1400837869,), (1400837882,), (1400837889,), (1400837895,), (1400837940,), (1400838102,), (1400838486,), (1400839250,), (1400839237,), (1400839275,), (1400839277,), (1400839279,), (1400839282,), (1400839286,), (1400839290,), (1400839305,), (1400839310,), (1400839314,), (1400839318,), (1400839321,), (1400839322,), (1400839326,), (1400839329,), (1400839331,), (1400839334,), (1400839338,), (1400839346,), (1400839348,), (1400839351,), (1400839365,), (1400839368,), (1400839371,), (1400839375,), (1400839378,), (1400839408,), (1400839412,), (1400839416,), (1400839420,), (1400839424,), (1400839427,), (1400839829,), (1400839878,), (1400839914,), (1400840569,), (1400840319,), (1400840415,), (1400840485,), (1400840887,), (1400840888,), (1400840930,), (1400840977,), (1400841014,), (1400841052,), (1400841152,), (1400841154,), (1400841156,), (1400841186,), (1400841188,), (1400841190,), (1400841192,), (1400841211,), (1400841216,), (1400841251,), (1400841252,), (1400841254,), (1400841257,), (1400841264,), (1400841269,), (1400841292,), (1400841296,), (1400841301,), (1400841302,), (1400841970,), (1400841971,), (1400841972,), (1400841976,), (1400841980,), (1400842058,), (1400842186,), (1400842226,), (1400842227,), (1400842238,), (1400842270,), (1400842294,), (1400842311,), (1400842316,), (1400842319,), (1400842322,), (1400842324,), (1400842326,), (1400842360,), (1400842363,), (1400842366,), (1400842370,), (1400842373,), (1400842377,), (1400842429,), (1400842433,), (1400842445,), (1400842449,), (1400842522,), (1400842526,), (1400842529,), (1400842532,), (1400842541,), (1400842849,), (1400851152,), (1400851148,), (1400851181,), (1400851203,), (1400851242,), (1400851284,), (1400851287,), (1400851306,), (1400851309,), (1400851312,), (1400851315,), (1400851319,), (1400851367,), (1400851369,), (1400851373,), (1400851375,), (1400851409,), (1400851469,), (1400851489,), (1400851645,), (1400851648,), (1400851651,), (1400851653,), (1400851683,), (1400851685,), (1400851687,), (1400851689,), (1400851692,), (1400851748,), (1400851753,), (1400851755,), (1400851757,), (1400851760,), (1400851837,), (1400851873,), (1400851909,), (1400852148,), (1400852155,), (1400852157,), (1400852159,), (1400852070,), (1400852072,), (1400852098,), (1400852138,), (1400852146,), (1400852166,), (1400852167,), (1400852169,), (1400852172,), (1400852175,), (1400852200,), (1400852202,), (1400852204,), (1400852207,), (1400852235,), (1400852238,), (1400852242,), (1400852245,), (1400852249,), (1400852283,), (1400852292,), (1400852325,), (1400852357,), (1400852607,), (1400852609,), (1400852611,), (1400852613,), (1400852659,), (1400852661,), (1400852663,), (1400852666,), (1400852669,), (1400852672,), (1400852685,), (1400852687,), (1400852689,), (1400852692,), (1400852717,), (1400852720,), (1400852723,), (1400852727,), (1400852732,), (1400852757,), (1400852760,), (1400852763,), (1400852782,), (1400852788,), (1400852817,), (1400852819,), (1400852821,), (1400852824,), (1400852827,), (1400852830,), (1400852839,), (1400852841,), (1400852842,), (1400852928,), (1400852989,), (1400852979,), (1400852983,), (1400852986,), (1400853115,), (1400853128,), (1400853131,), (1400853134,), (1400853256,), (1400853258,), (1400853261,), (1400853265,), (1400853302,), (1400853305,), (1400853308,), (1400853311,), (1400853330,), (1400853333,), (1400853336,), (1400853377,), (1400853379,), (1400853383,), (1400853388,), (1400853391,), (1400853405,), (1400853483,), (1400853489,), (1400853492,), (1400853495,), (1400853499,), (1400853504,), (1400853518,), (1400853520,), (1400853522,), (1400853524,), (1400853527,), (1400853530,), (1400853538,), (1400853541,), (1400853544,), (1400853546,), (1400853548,), (1400853550,), (1400853564,), (1400853566,), (1400853568,), (1400853571,), (1400853595,), (1400853598,), (1400853600,), (1400853606,), (1400853682,), (1400853684,), (1400853686,), (1400853689,), (1400853693,), (1400853696,), (1400853742,), (1400853749,), (1400853751,), (1400853754,), (1400853757,), (1400853803,), (1400853961,), (1400853963,), (1400853965,), (1400853968,), (1400853986,), (1400853989,), (1400853993,), (1400853996,), (1400854076,), (1400854079,), (1400854082,), (1400854085,), (1400854290,), (1400854297,), (1400854300,), (1400854303,), (1400854306,), (1400854072,), (1400854074,), (1400854118,), (1400854124,), (1400854130,), (1400854135,), (1400854138,), (1400854179,), (1400854441,), (1400854497,), (1400854567,), (1400854642,), (1400854741,), (1400854745,), (1400854747,), (1400854749,), (1400854752,), (1400854852,), (1400854857,), (1400854860,), (1400854863,), (1400854880,), (1400854882,), (1400854885,), (1400854887,), (1400854890,), (1400854893,), (1400854929,), (1400854930,), (1400854932,), (1400854935,), (1400854957,), (1400854960,), (1400854963,), (1400854967,), (1400854972,), (1400855012,), (1400855016,), (1400855019,), (1400855022,), (1400855026,), (1400855029,), (1400855050,), (1400855053,), (1400855055,), (1400855057,), (1400855088,), (1400855089,), (1400855092,), (1400855096,), (1400855100,), (1400855103,), (1400855108,), (1400855111,), (1400855117,), (1400855127,), (1400855130,), (1400855134,), (1400855183,), (1400855184,), (1400855186,), (1400855188,), (1400855191,), (1400855205,), (1400855208,), (1400855210,), (1400855212,), (1400855214,), (1400855216,), (1400855251,), (1400855254,), (1400855301,), (1400855286,), (1400855289,), (1400855291,), (1400855294,), (1400855298,), (1400855316,), (1400855320,), (1400855322,), (1400855341,), (1400855344,), (1400855359,), (1400855361,), (1400855401,), (1400855457,), (1400855497,), (1400855499,), (1400855502,), (1400855532,), (1400855535,), (1400855537,), (1400855539,), (1400855542,), (1400855564,), (1400855566,), (1400855569,), (1400855573,), (1400855577,), (1400855580,), (1400855597,), (1400855598,), (1400855599,), (1400855600,), (1400855601,), (1400855610,), (1400855612,), (1400855617,), (1400855643,), (1400855645,), (1400855647,), (1400855649,), (1400855652,), (1400855671,), (1400855674,), (1400855677,), (1400855712,), (1400855715,), (1400855718,), (1400855720,), (1400855725,), (1400855745,), (1400855754,), (1400855774,), (1400855776,), (1400855778,), (1400855781,), (1400855785,), (1400855818,), (1400855821,), (1400855823,), (1400855827,), (1400855858,), (1400855863,), (1400855866,), (1400855869,), (1400855872,), (1400855874,), (1400855884,), (1400855887,), (1400855935,), (1400855929,), (1400855930,), (1400855932,), (1400855950,), (1400855952,), (1400855954,), (1400855956,), (1400855959,), (1400855961,), (1400855979,), (1400855982,), (1400855984,), (1400855986,), (1400856014,), (1400856016,), (1400856018,), (1400856047,), (1400856052,), (1400856055,), (1400856058,), (1400856062,), (1400856066,), (1400856078,), (1400856081,), (1400856083,), (1400856085,), (1400856088,), (1400856091,), (1400856145,), (1400856147,), (1400856149,), (1400856170,), (1400856172,), (1400856175,), (1400856178,), (1400856214,), (1400856216,), (1400856218,), (1400856220,), (1400856223,), (1400856225,), (1400856245,), (1400856246,), (1400856263,), (1400856265,), (1400856267,), (1400856269,), (1400856285,), (1400856287,), (1400856288,), (1400856289,), (1400856290,), (1400856377,), (1400856408,), (1400856437,), (1400856468,), (1400856502,), (1400856537,), (1400856830,), (1400856833,), (1400856837,), (1400856840,), (1400856843,), (1400856847,), (1400856870,), (1400856875,), (1400856879,), (1400856886,), (1400856911,), (1400856902,), (1400856903,), (1400856906,), (1400856908,), (1400856928,), (1400856953,), (1400856988,), (1400857023,), (1400857065,), (1400857544,), (1400857606,), (1400857679,), (1400857746,), (1400857820,), (1400858530,), (1400858599,), (1400858663,), (1400858719,), (1400858755,), (1400858793,), (1400859031,), (1400859032,), (1400859033,), (1400859063,), (1400859927,), (1400859993,), (1400860058,), (1400860122,), (1400860194,), (1400860270,), (1400860483,), (1400860550,), (1400860651,), (1400860719,), (1400860963,), (1400860994,), (1400861026,), (1400861071,), (1400861383,), (1400861414,), (1400861447,), (1400861480,), (1400861537,), (1400861571,), (1400862149,), (1400862290,), (1400862422,), (1400862528,), (1400862627,), (1400863105,), (1400863106,), (1400863107,), (1400863559,), (1400863575,), (1400863597,), (1400863664,), (1400863667,), (1400864075,), (1400864071,), (1400864073,), (1400864096,), (1400864098,), (1400864099,), (1400864100,), (1400864122,), (1400864123,), (1400864124,), (1400864160,), (1400864162,), (1400864164,), (1400864167,), (1400864170,), (1400864171,), (1400864178,), (1400864181,), (1400864189,), (1400864205,), (1400864206,), (1400864207,), (1400864236,), (1400864237,), (1400864239,), (1400864242,), (1400864285,), (1400864288,), (1400864290,), (1400864293,), (1400864297,), (1400864299,), (1400864376,), (1400864377,), (1400864378,), (1400864413,), (1400864415,), (1400864417,), (1400864419,), (1400864423,), (1400864426,), (1400864440,), (1400864442,), (1400864443,), (1400864444,), (1400864446,), (1400864468,), (1400864469,), (1400864471,), (1400864474,), (1400864478,), (1400864482,), (1400864497,), (1400864499,), (1400864502,), (1400864505,), (1400864508,), (1400864511,), (1400864526,), (1400864528,), (1400864532,), (1400864538,), (1400864540,), (1400864541,), (1400864546,), (1400864547,), (1400864550,), (1400864552,), (1400864555,), (1400864557,), (1400864560,), (1400864563,), (1400864566,), (1400864567,), (1400864570,), (1400864572,), (1400864580,), (1400864581,), (1400864584,), (1400864589,), (1400864593,), (1400864596,), (1400864608,), (1400864610,), (1400864619,), (1400864621,), (1400864625,), (1400864627,), (1400864629,), (1400864631,), (1400864650,), (1400864644,), (1400864646,), (1400864647,), (1400864648,), (1400864746,), (1400864771,), (1400864774,), (1400864807,), (1400864809,), (1400864811,), (1400864873,), (1400864876,), (1400864879,), (1400864883,), (1400864886,), (1400864889,), (1400864915,), (1400864916,), (1400864917,), (1400864938,), (1400864939,), (1400864940,), (1400864942,), (1400864946,), (1400864950,), (1400864990,), (1400865005,), (1400865012,), (1400865031,), (1400865034,), (1400865036,), (1400865069,), (1400865073,), (1400865075,), (1400865077,), (1400865120,), (1400865121,), (1400865123,), (1400865126,), (1400865130,), (1400865147,), (1400865150,), (1400865153,), (1400865157,), (1400865174,), (1400865177,), (1400865178,), (1400865179,), (1400865182,), (1400865230,), (1400865234,), (1400865238,), (1400865242,), (1400865251,), (1400865252,), (1400865227,), (1400865228,), (1400865256,), (1400865258,), (1400865260,), (1400865264,), (1400865292,), (1400865293,), (1400865294,), (1400865295,), (1400865336,), (1400865337,), (1400865338,), (1400865340,), (1400865344,), (1400865379,), (1400865380,), (1400865403,), (1400865405,), (1400865406,), (1400865443,), (1400865445,), (1400865447,), (1400865450,), (1400865473,), (1400865476,), (1400865478,), (1400865510,), (1400865512,), (1400865515,), (1400865517,), (1400865519,), (1400865559,), (1400865561,), (1400865584,), (1400865587,), (1400865590,), (1400865594,), (1400865599,), (1400865616,), (1400865619,), (1400865622,), (1400865626,), (1400865628,), (1400865631,), (1400865642,), (1400865668,), (1400865670,), (1400865675,), (1400865684,), (1400865686,), (1400865688,), (1400865691,), (1400865693,), (1400865716,), (1400865719,), (1400865723,), (1400865729,), (1400865739,), (1400865740,), (1400865741,), (1400865744,), (1400865759,), (1400866230,), (1400866267,), (1400866652,), (1400866828,), (1400866880,), (1400866914,), (1400866082,), (1400866121,), (1400866157,), (1400866196,), (1400866428,), (1400866462,), (1400866495,), (1400866530,), (1400866592,), (1400867079,), (1400867117,), (1400867385,), (1400867418,), (1400867446,), (1400867477,), (1400868015,), (1400868096,), (1400868672,), (1400868710,), (1400868743,), (1400868779,), (1400868812,), (1400869167,), (1400869200,), (1400869232,), (1400869266,), (1400869305,), (1400869617,), (1400869619,), (1400869620,), (1400869622,), (1400869624,), (1400869626,), (1400869642,), (1400869645,), (1400869647,), (1400869648,), (1400869876,), (1400869901,), (1400869934,), (1400869967,), (1400870202,), (1400870233,), (1400870262,), (1400870266,), (1400870379,), (1400870380,), (1400870381,), (1400870382,), (1400870385,), (1400870412,), (1400870414,), (1400870417,), (1400870422,), (1400870427,), (1400870447,), (1400870450,), (1400870453,), (1400870476,), (1400870478,), (1400870479,), (1400870480,), (1400870482,), (1400870485,), (1400870533,), (1400870543,), (1400870545,), (1400870547,), (1400870549,), (1400870552,), (1400870555,), (1400870520,), (1400870521,), (1400870523,), (1400870525,), (1400870529,), (1400870560,), (1400870595,), (1400870596,), (1400870597,), (1400870598,), (1400870600,), (1400870628,), (1400870629,), (1400870630,), (1400870632,), (1400870636,), (1400870640,), (1400870657,), (1400870659,), (1400870661,), (1400870663,), (1400870688,), (1400870694,), (1400870695,), (1400870696,), (1400870725,), (1400870726,), (1400870727,), (1400870735,), (1400870743,), (1400870745,), (1400870760,), (1400870762,), (1400870764,), (1400870766,), (1400870790,), (1400870791,), (1400870792,), (1400870793,), (1400870796,), (1400870798,), (1400870828,), (1400870829,), (1400870830,), (1400870832,), (1400870836,), (1400870840,), (1400870883,), (1400870885,), (1400870887,), (1400870891,), (1400870894,), (1400870897,), (1400870905,), (1400870907,), (1400870909,), (1400870948,), (1400870950,), (1400870951,), (1400870952,), (1400870953,), (1400870954,), (1400870961,), (1400870963,), (1400870967,), (1400870971,), (1400870974,), (1400870977,), (1400870987,), (1400870993,), (1400870996,), (1400870998,), (1400871005,), (1400871008,), (1400871033,), (1400871036,), (1400871039,), (1400871041,), (1400871044,), (1400871079,), (1400871070,), (1400871072,), (1400871074,), (1400871076,), (1400871112,), (1400871114,), (1400871115,), (1400871116,), (1400871143,), (1400871145,), (1400871146,), (1400871147,), (1400871149,), (1400871180,), (1400871181,), (1400871182,), (1400871184,), (1400871204,), (1400871207,), (1400871209,), (1400871211,), (1400871246,), (1400871248,), (1400871250,), (1400871254,), (1400871257,), (1400871260,), (1400871286,), (1400871292,), (1400871350,), (1400871351,), (1400871355,), (1400871358,), (1400871359,), (1400871360,), (1400871368,), (1400871371,), (1400871374,), (1400871378,), (1400871434,), (1400871441,), (1400871452,), (1400871455,), (1400871510,), (1400871513,), (1400871515,), (1400871517,), (1400871520,), (1400871536,), (1400871538,), (1400871540,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24122025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29676059]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1400784307, 1400784281, 1400784279, 1400784268, 1400784264, 1400784258, 1400784253, 1400784248, 1400784245, 1400784223, 1400784221, 1400784219, 1400784197, 1400784194, 1400784191, 1400784188, 1400784177, 1400784161, 1400784157, 1400784154, 1400784150, 1400784146, 1400784142, 1400784095, 1400784093, 1400784072, 1400784069, 1400784066, 1400784063, 1400784040, 1400784037, 1400784034, 1400784030, 1400784027, 1400784001, 1400783999, 1400783860] map_info['map_portfolio_photo'] : {29676059: [1400784307, 1400784281, 1400784279, 1400784268, 1400784264, 1400784258, 1400784253, 1400784248, 1400784245, 1400784223, 1400784221, 1400784219, 1400784197, 1400784194, 1400784191, 1400784188, 1400784177, 1400784161, 1400784157, 1400784154, 1400784150, 1400784146, 1400784142, 1400784095, 1400784093, 1400784072, 1400784069, 1400784066, 1400784063, 1400784040, 1400784037, 1400784034, 1400784030, 1400784027, 1400784001, 1400783999, 1400783860]} final : True mtd_id 4302 list_pids : [1400784307, 1400784281, 1400784279, 1400784268, 1400784264, 1400784258, 1400784253, 1400784248, 1400784245, 1400784223, 1400784221, 1400784219, 1400784197, 1400784194, 1400784191, 1400784188, 1400784177, 1400784161, 1400784157, 1400784154, 1400784150, 1400784146, 1400784142, 1400784095, 1400784093, 1400784072, 1400784069, 1400784066, 1400784063, 1400784040, 1400784037, 1400784034, 1400784030, 1400784027, 1400784001, 1400783999, 1400783860] Looping around the photos to save general results len do output : 1 /29676059Didn'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, '4271371') ('4302', '29676059', '1400784307', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784281', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784279', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784268', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784264', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784258', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784253', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784248', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784245', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784223', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784221', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784219', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784197', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784194', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784191', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784188', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784177', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784161', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784157', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784154', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784150', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784146', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784142', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784095', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784093', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784072', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784069', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784066', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784063', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784040', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784037', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784034', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784030', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784027', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400784001', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400783999', None, None, None, None, None, '4271371') ('4302', None, None, None, None, None, None, None, '4271371') ('4302', '29676059', '1400783860', None, None, None, None, None, '4271371') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '29676059', 'None', None, None, None, None, '4271371'), ('4302', '29676059', '1400784307', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784281', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784279', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784268', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784264', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784258', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784253', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784248', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784245', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784223', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784221', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784219', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784197', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784194', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784191', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784188', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784177', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784161', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784157', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784154', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784150', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784146', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784142', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784095', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784093', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784072', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784069', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784066', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784063', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784040', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784037', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784034', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784030', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784027', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400784001', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400783999', None, None, None, None, None, '4271371'), ('4302', '29676059', '1400783860', None, None, None, None, None, '4271371')] time used for this insertion : 0.02119755744934082 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.463026285171509 time spend to save output : 0.021576404571533203 total time spend for step 5 : 5.484602689743042 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 (4271371) 3.02user 2.64system 0:20.46elapsed 27%CPU (0avgtext+0avgdata 174952maxresident)k 1096inputs+29560outputs (1major+83939minor)pagefaults 0swaps