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 : 332336 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 (4315819) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4315819) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29949468 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4315819'] with mtr_portfolio_ids : ['29949468'] and first list_photo_ids : [] new path : /proc/332336/ Name: python3 Umask: 0002 State: R (running) Tgid: 332336 Ngid: 0 Pid: 332336 PPid: 332335 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 332336 NSpid: 332336 NSpgid: 331328 NSsid: 331328 VmPeak: 1113368 kB VmSize: 1113368 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 104820 kB VmRSS: 104820 kB RssAnon: 66312 kB RssFile: 38508 kB RssShmem: 0 kB VmData: 872096 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 604 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: 45 nonvoluntary_ctxt_switches: 91 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '332336', 'Ngid': '0', 'Pid': '332336', 'PPid': '332335', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '332336', 'NSpid': '332336', 'NSpgid': '331328', 'NSsid': '331328', 'VmPeak': '1113368 kB', 'VmSize': '1113368 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '104820 kB', 'VmRSS': '104820 kB', 'RssAnon': '66312 kB', 'RssFile': '38508 kB', 'RssShmem': '0 kB', 'VmData': '872096 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '604 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': '45', 'nonvoluntary_ctxt_switches': '91'} ('datou_batch_current', '332336', '1113368', '0', '1113368', '872096', '104820', b'', 'marlene', '4315819') 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 (29949468) 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 (4315819 ) ) 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 (29949468) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1402497943, 'portfolio_id': 29949468}, {'photo_id': 1402497513, 'portfolio_id': 29949468}, {'photo_id': 1402497511, 'portfolio_id': 29949468}, {'photo_id': 1402497482, 'portfolio_id': 29949468}, {'photo_id': 1402497476, 'portfolio_id': 29949468}, {'photo_id': 1402497467, 'portfolio_id': 29949468}, {'photo_id': 1402497465, 'portfolio_id': 29949468}, {'photo_id': 1402497363, 'portfolio_id': 29949468}, {'photo_id': 1402497360, 'portfolio_id': 29949468}, {'photo_id': 1402497356, 'portfolio_id': 29949468}, {'photo_id': 1402497351, 'portfolio_id': 29949468}, {'photo_id': 1402497347, 'portfolio_id': 29949468}, {'photo_id': 1402497342, 'portfolio_id': 29949468}, {'photo_id': 1402497260, 'portfolio_id': 29949468}, {'photo_id': 1402497253, 'portfolio_id': 29949468}, {'photo_id': 1402497250, 'portfolio_id': 29949468}, {'photo_id': 1402497247, 'portfolio_id': 29949468}, {'photo_id': 1402497227, 'portfolio_id': 29949468}, {'photo_id': 1402497138, 'portfolio_id': 29949468}, {'photo_id': 1402497135, 'portfolio_id': 29949468}, {'photo_id': 1402497132, 'portfolio_id': 29949468}, {'photo_id': 1402497096, 'portfolio_id': 29949468}, {'photo_id': 1402497091, 'portfolio_id': 29949468}, {'photo_id': 1402497068, 'portfolio_id': 29949468}, {'photo_id': 1402497047, 'portfolio_id': 29949468}, {'photo_id': 1402497026, 'portfolio_id': 29949468}, {'photo_id': 1402496564, 'portfolio_id': 29949468}, {'photo_id': 1402496559, 'portfolio_id': 29949468}, {'photo_id': 1402496532, 'portfolio_id': 29949468}, {'photo_id': 1402496507, 'portfolio_id': 29949468}, {'photo_id': 1402496214, 'portfolio_id': 29949468}, {'photo_id': 1402496207, 'portfolio_id': 29949468}, {'photo_id': 1402496160, 'portfolio_id': 29949468}, {'photo_id': 1402495724, 'portfolio_id': 29949468}, {'photo_id': 1402495656, 'portfolio_id': 29949468}, {'photo_id': 1402495592, 'portfolio_id': 29949468}, {'photo_id': 1402495527, 'portfolio_id': 29949468}, {'photo_id': 1402495464, 'portfolio_id': 29949468}] map_portfolio_id_photo_id: {29949468: [1402497943, 1402497513, 1402497511, 1402497482, 1402497476, 1402497467, 1402497465, 1402497363, 1402497360, 1402497356, 1402497351, 1402497347, 1402497342, 1402497260, 1402497253, 1402497250, 1402497247, 1402497227, 1402497138, 1402497135, 1402497132, 1402497096, 1402497091, 1402497068, 1402497047, 1402497026, 1402496564, 1402496559, 1402496532, 1402496507, 1402496214, 1402496207, 1402496160, 1402495724, 1402495656, 1402495592, 1402495527, 1402495464]} ##### 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.019443511962890625 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Tue Jan 6 05:38:59 2026 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 (29949468) 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 : 29949468 get user id for portfolio 29949468 get sub ptf for main ptf 29949468, type 3726 and hashtags ['environnement', 'papier', 'Carton_gris', 'Teint_Dans_La_Masse', 'plastique', 'mal_croppe', 'kraft', 'cartonnette', 'Carton_brun', 'flou', 'autre_refus', 'metal'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29949468 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','papier','Carton_gris','Teint_Dans_La_Masse','plastique','mal_croppe','kraft','cartonnette','Carton_brun','flou','autre_refus','metal')) 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`=29949468 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','papier','Carton_gris','Teint_Dans_La_Masse','plastique','mal_croppe','kraft','cartonnette','Carton_brun','flou','autre_refus','metal')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 29949468, 'sub_port_id': 29949508, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493424, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 26)}, 'plastique': {'main_port_id': 29949468, 'sub_port_id': 29949509, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493425, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 26)}, 'kraft': {'main_port_id': 29949468, 'sub_port_id': 29949510, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493426, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 26)}, 'environnement': {'main_port_id': 29949468, 'sub_port_id': 29949511, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493427, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 26)}, 'Carton_brun': {'main_port_id': 29949468, 'sub_port_id': 29949512, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493428, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 26)}, 'papier': {'main_port_id': 29949468, 'sub_port_id': 29949513, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493429, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 26)}, 'metal': {'main_port_id': 29949468, 'sub_port_id': 29949514, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493430, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 29949468, 'sub_port_id': 29949515, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493431, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 26)}, 'mal_croppe': {'main_port_id': 29949468, 'sub_port_id': 29949516, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493432, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 26)}, 'autre_refus': {'main_port_id': 29949468, 'sub_port_id': 29949517, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493433, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 26)}, 'cartonnette': {'main_port_id': 29949468, 'sub_port_id': 29949518, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493434, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 26)}, 'flou': {'main_port_id': 29949468, 'sub_port_id': 29949519, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493435, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 26)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29949508 , 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=29949468 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 (29949508) result : ((1402497559,), (1402497560,), (1402497561,), (1402497671,), (1402497672,), (1402497673,), (1402497705,), (1402497706,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29949468) result : ((1402495464,), (1402495527,), (1402495592,), (1402495656,), (1402495724,), (1402496160,), (1402496207,), (1402496214,), (1402496507,), (1402496532,), (1402496559,), (1402496564,), (1402497026,), (1402497047,), (1402497068,), (1402497091,), (1402497096,), (1402497132,), (1402497135,), (1402497138,), (1402497227,), (1402497247,), (1402497250,), (1402497253,), (1402497260,), (1402497342,), (1402497347,), (1402497351,), (1402497356,), (1402497360,), (1402497363,), (1402497465,), (1402497467,), (1402497476,), (1402497482,), (1402497511,), (1402497513,), (1402497943,)) 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 29949509 , 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=29949468 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 (29949509) result : ((1402497156,), (1402497157,), (1402497161,), (1402497405,), (1402497407,), (1402497409,), (1402497528,), (1402497572,), (1402497573,), (1402497574,), (1402497682,), (1402497683,), (1402497684,), (1402497685,), (1402497686,), (1402497687,), (1402497688,), (1402497710,), (1402497711,), (1402497712,), (1402497713,), (1402497714,), (1402497715,), (1402501925,), (1402501926,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29949468) result : ((1402495464,), (1402495527,), (1402495592,), (1402495656,), (1402495724,), (1402496160,), (1402496207,), (1402496214,), (1402496507,), (1402496532,), (1402496559,), (1402496564,), (1402497026,), (1402497047,), (1402497068,), (1402497091,), (1402497096,), (1402497132,), (1402497135,), (1402497138,), (1402497227,), (1402497247,), (1402497250,), (1402497253,), (1402497260,), (1402497342,), (1402497347,), (1402497351,), (1402497356,), (1402497360,), (1402497363,), (1402497465,), (1402497467,), (1402497476,), (1402497482,), (1402497511,), (1402497513,), (1402497943,)) 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 29949510 , 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=29949468 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 (29949510) result : ((1402497158,), (1402497164,), (1402497418,), (1402497689,), (1402497690,), (1402497691,), (1402497692,), (1402497717,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29949468) result : ((1402495464,), (1402495527,), (1402495592,), (1402495656,), (1402495724,), (1402496160,), (1402496207,), (1402496214,), (1402496507,), (1402496532,), (1402496559,), (1402496564,), (1402497026,), (1402497047,), (1402497068,), (1402497091,), (1402497096,), (1402497132,), (1402497135,), (1402497138,), (1402497227,), (1402497247,), (1402497250,), (1402497253,), (1402497260,), (1402497342,), (1402497347,), (1402497351,), (1402497356,), (1402497360,), (1402497363,), (1402497465,), (1402497467,), (1402497476,), (1402497482,), (1402497511,), (1402497513,), (1402497943,)) 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 29949511 , 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=29949468 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 (29949511) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29949468) result : ((1402495464,), (1402495527,), (1402495592,), (1402495656,), (1402495724,), (1402496160,), (1402496207,), (1402496214,), (1402496507,), (1402496532,), (1402496559,), (1402496564,), (1402497026,), (1402497047,), (1402497068,), (1402497091,), (1402497096,), (1402497132,), (1402497135,), (1402497138,), (1402497227,), (1402497247,), (1402497250,), (1402497253,), (1402497260,), (1402497342,), (1402497347,), (1402497351,), (1402497356,), (1402497360,), (1402497363,), (1402497465,), (1402497467,), (1402497476,), (1402497482,), (1402497511,), (1402497513,), (1402497943,)) 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 29949512 , 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=29949468 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 (29949512) result : ((1402497391,), (1402497393,), (1402497563,), (1402497564,), (1402497565,), (1402497566,), (1402497567,), (1402497569,), (1402497570,), (1402497679,), (1402497709,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29949468) result : ((1402495464,), (1402495527,), (1402495592,), (1402495656,), (1402495724,), (1402496160,), (1402496207,), (1402496214,), (1402496507,), (1402496532,), (1402496559,), (1402496564,), (1402497026,), (1402497047,), (1402497068,), (1402497091,), (1402497096,), (1402497132,), (1402497135,), (1402497138,), (1402497227,), (1402497247,), (1402497250,), (1402497253,), (1402497260,), (1402497342,), (1402497347,), (1402497351,), (1402497356,), (1402497360,), (1402497363,), (1402497465,), (1402497467,), (1402497476,), (1402497482,), (1402497511,), (1402497513,), (1402497943,)) 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 29949513 , 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=29949468 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 (29949513) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29949468) result : ((1402495464,), (1402495527,), (1402495592,), (1402495656,), (1402495724,), (1402496160,), (1402496207,), (1402496214,), (1402496507,), (1402496532,), (1402496559,), (1402496564,), (1402497026,), (1402497047,), (1402497068,), (1402497091,), (1402497096,), (1402497132,), (1402497135,), (1402497138,), (1402497227,), (1402497247,), (1402497250,), (1402497253,), (1402497260,), (1402497342,), (1402497347,), (1402497351,), (1402497356,), (1402497360,), (1402497363,), (1402497465,), (1402497467,), (1402497476,), (1402497482,), (1402497511,), (1402497513,), (1402497943,)) 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 29949514 , 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=29949468 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 (29949514) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29949468) result : ((1402495464,), (1402495527,), (1402495592,), (1402495656,), (1402495724,), (1402496160,), (1402496207,), (1402496214,), (1402496507,), (1402496532,), (1402496559,), (1402496564,), (1402497026,), (1402497047,), (1402497068,), (1402497091,), (1402497096,), (1402497132,), (1402497135,), (1402497138,), (1402497227,), (1402497247,), (1402497250,), (1402497253,), (1402497260,), (1402497342,), (1402497347,), (1402497351,), (1402497356,), (1402497360,), (1402497363,), (1402497465,), (1402497467,), (1402497476,), (1402497482,), (1402497511,), (1402497513,), (1402497943,)) 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 29949515 , 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=29949468 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 (29949515) result : ((1402497148,), (1402497149,), (1402497160,), (1402497522,), (1402497523,), (1402497555,), (1402497556,), (1402497557,), (1402497667,), (1402497668,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29949468) result : ((1402495464,), (1402495527,), (1402495592,), (1402495656,), (1402495724,), (1402496160,), (1402496207,), (1402496214,), (1402496507,), (1402496532,), (1402496559,), (1402496564,), (1402497026,), (1402497047,), (1402497068,), (1402497091,), (1402497096,), (1402497132,), (1402497135,), (1402497138,), (1402497227,), (1402497247,), (1402497250,), (1402497253,), (1402497260,), (1402497342,), (1402497347,), (1402497351,), (1402497356,), (1402497360,), (1402497363,), (1402497465,), (1402497467,), (1402497476,), (1402497482,), (1402497511,), (1402497513,), (1402497943,)) 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 29949516 , 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=29949468 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 (29949516) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29949468) result : ((1402495464,), (1402495527,), (1402495592,), (1402495656,), (1402495724,), (1402496160,), (1402496207,), (1402496214,), (1402496507,), (1402496532,), (1402496559,), (1402496564,), (1402497026,), (1402497047,), (1402497068,), (1402497091,), (1402497096,), (1402497132,), (1402497135,), (1402497138,), (1402497227,), (1402497247,), (1402497250,), (1402497253,), (1402497260,), (1402497342,), (1402497347,), (1402497351,), (1402497356,), (1402497360,), (1402497363,), (1402497465,), (1402497467,), (1402497476,), (1402497482,), (1402497511,), (1402497513,), (1402497943,)) 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 29949517 , 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=29949468 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 (29949517) result : ((1402497150,), (1402497704,), (1402500562,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29949468) result : ((1402495464,), (1402495527,), (1402495592,), (1402495656,), (1402495724,), (1402496160,), (1402496207,), (1402496214,), (1402496507,), (1402496532,), (1402496559,), (1402496564,), (1402497026,), (1402497047,), (1402497068,), (1402497091,), (1402497096,), (1402497132,), (1402497135,), (1402497138,), (1402497227,), (1402497247,), (1402497250,), (1402497253,), (1402497260,), (1402497342,), (1402497347,), (1402497351,), (1402497356,), (1402497360,), (1402497363,), (1402497465,), (1402497467,), (1402497476,), (1402497482,), (1402497511,), (1402497513,), (1402497943,)) 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 29949518 , 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=29949468 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 (29949518) result : ((1402497153,), (1402497154,), (1402497155,), (1402497379,), (1402497381,), (1402497525,), (1402497527,), (1402497562,), (1402497675,), (1402497676,), (1402497677,), (1402497678,), (1402497708,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29949468) result : ((1402495464,), (1402495527,), (1402495592,), (1402495656,), (1402495724,), (1402496160,), (1402496207,), (1402496214,), (1402496507,), (1402496532,), (1402496559,), (1402496564,), (1402497026,), (1402497047,), (1402497068,), (1402497091,), (1402497096,), (1402497132,), (1402497135,), (1402497138,), (1402497227,), (1402497247,), (1402497250,), (1402497253,), (1402497260,), (1402497342,), (1402497347,), (1402497351,), (1402497356,), (1402497360,), (1402497363,), (1402497465,), (1402497467,), (1402497476,), (1402497482,), (1402497511,), (1402497513,), (1402497943,)) 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 29949519 , 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=29949468 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 (29949519) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29949468) result : ((1402495464,), (1402495527,), (1402495592,), (1402495656,), (1402495724,), (1402496160,), (1402496207,), (1402496214,), (1402496507,), (1402496532,), (1402496559,), (1402496564,), (1402497026,), (1402497047,), (1402497068,), (1402497091,), (1402497096,), (1402497132,), (1402497135,), (1402497138,), (1402497227,), (1402497247,), (1402497250,), (1402497253,), (1402497260,), (1402497342,), (1402497347,), (1402497351,), (1402497356,), (1402497360,), (1402497363,), (1402497465,), (1402497467,), (1402497476,), (1402497482,), (1402497511,), (1402497513,), (1402497943,)) 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`=29949468 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','papier','Carton_gris','Teint_Dans_La_Masse','plastique','mal_croppe','kraft','cartonnette','Carton_brun','flou','autre_refus','metal')) 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`=29949468 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','papier','Carton_gris','Teint_Dans_La_Masse','plastique','mal_croppe','kraft','cartonnette','Carton_brun','flou','autre_refus','metal')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 29949468, 'sub_port_id': 29949522, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493436, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 33)}, 'plastique': {'main_port_id': 29949468, 'sub_port_id': 29949523, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493437, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 33)}, 'kraft': {'main_port_id': 29949468, 'sub_port_id': 29949524, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493438, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 33)}, 'environnement': {'main_port_id': 29949468, 'sub_port_id': 29949525, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493439, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 33)}, 'Carton_brun': {'main_port_id': 29949468, 'sub_port_id': 29949526, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493440, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 33)}, 'papier': {'main_port_id': 29949468, 'sub_port_id': 29949527, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493441, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 33)}, 'metal': {'main_port_id': 29949468, 'sub_port_id': 29949528, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493442, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 33)}, 'Teint_Dans_La_Masse': {'main_port_id': 29949468, 'sub_port_id': 29949529, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493443, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 33)}, 'mal_croppe': {'main_port_id': 29949468, 'sub_port_id': 29949530, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493444, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 33)}, 'autre_refus': {'main_port_id': 29949468, 'sub_port_id': 29949531, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493445, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 33)}, 'cartonnette': {'main_port_id': 29949468, 'sub_port_id': 29949532, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493446, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 33)}, 'flou': {'main_port_id': 29949468, 'sub_port_id': 29949533, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20493447, 'last_updated_at': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 8, 19, 1), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 8, 3, 33)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29949522,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29949508 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29949523,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29949509 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29949524,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29949510 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29949525,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29949511 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29949526,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29949512 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29949527,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29949513 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29949528,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29949514 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29949529,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29949515 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29949530,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29949516 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29949531,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29949517 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29949532,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29949518 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29949533,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29949519 lien utilise dans velours : https://marlene.fotonower.com/velours/29949522,29949523,29949524,29949525,29949526,29949527,29949528,29949529,29949530,29949531,29949532,29949533?tags=Carton_gris,plastique,kraft,environnement,Carton_brun,papier,metal,Teint_Dans_La_Masse,mal_croppe,autre_refus,cartonnette,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29949468]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1402497943, 1402497513, 1402497511, 1402497482, 1402497476, 1402497467, 1402497465, 1402497363, 1402497360, 1402497356, 1402497351, 1402497347, 1402497342, 1402497260, 1402497253, 1402497250, 1402497247, 1402497227, 1402497138, 1402497135, 1402497132, 1402497096, 1402497091, 1402497068, 1402497047, 1402497026, 1402496564, 1402496559, 1402496532, 1402496507, 1402496214, 1402496207, 1402496160, 1402495724, 1402495656, 1402495592, 1402495527, 1402495464] map_info['map_portfolio_photo'] : {29949468: [1402497943, 1402497513, 1402497511, 1402497482, 1402497476, 1402497467, 1402497465, 1402497363, 1402497360, 1402497356, 1402497351, 1402497347, 1402497342, 1402497260, 1402497253, 1402497250, 1402497247, 1402497227, 1402497138, 1402497135, 1402497132, 1402497096, 1402497091, 1402497068, 1402497047, 1402497026, 1402496564, 1402496559, 1402496532, 1402496507, 1402496214, 1402496207, 1402496160, 1402495724, 1402495656, 1402495592, 1402495527, 1402495464]} final : False mtd_id 4302 list_pids : [1402497943, 1402497513, 1402497511, 1402497482, 1402497476, 1402497467, 1402497465, 1402497363, 1402497360, 1402497356, 1402497351, 1402497347, 1402497342, 1402497260, 1402497253, 1402497250, 1402497247, 1402497227, 1402497138, 1402497135, 1402497132, 1402497096, 1402497091, 1402497068, 1402497047, 1402497026, 1402496564, 1402496559, 1402496532, 1402496507, 1402496214, 1402496207, 1402496160, 1402495724, 1402495656, 1402495592, 1402495527, 1402495464] Looping around the photos to save general results len do output : 1 /29949468. 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, '4315819') ('4302', '29949468', '1402497943', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497513', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497511', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497482', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497476', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497467', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497465', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497363', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497360', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497356', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497351', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497347', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497342', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497260', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497253', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497250', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497247', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497227', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497138', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497135', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497132', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497096', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497091', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497068', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497047', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497026', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496564', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496559', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496532', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496507', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496214', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496207', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496160', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495724', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495656', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495592', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495527', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495464', None, None, None, None, None, '4315819') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '29949468', "{'Carton_gris': 29949508, 'plastique': 29949509, 'kraft': 29949510, 'environnement': 29949511, 'Carton_brun': 29949512, 'papier': 29949513, 'metal': 29949514, 'Teint_Dans_La_Masse': 29949515, 'mal_croppe': 29949516, 'autre_refus': 29949517, 'cartonnette': 29949518, 'flou': 29949519}", None, None, None, None, '4315819'), ('4302', '29949468', '1402497943', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497513', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497511', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497482', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497476', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497467', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497465', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497363', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497360', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497356', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497351', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497347', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497342', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497260', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497253', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497250', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497247', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497227', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497138', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497135', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497132', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497096', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497091', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497068', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497047', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497026', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496564', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496559', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496532', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496507', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496214', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496207', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496160', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402495724', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402495656', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402495592', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402495527', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402495464', None, None, None, None, None, '4315819')] time used for this insertion : 0.02365851402282715 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.869769811630249 time spend to save output : 0.02409529685974121 total time spend for step 1 : 1.8938651084899902 step2:final Tue Jan 6 05:39:01 2026 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 (29949468) 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 29949468 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1402495724,1402495656,1402495592,1402495527,1402495464,1402496214,1402496207,1402496160,1402496564,1402496559,1402496532,1402496507,1402497096,1402497091,1402497068,1402497047,1402497026,1402497138,1402497135,1402497132,1402497260,1402497253,1402497250,1402497247,1402497227,1402497363,1402497360,1402497356,1402497351,1402497347,1402497342,1402497482,1402497476,1402497467,1402497465,1402497513,1402497511,1402497943); 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([29949468]) Inside saveOutput : final : False verbose : True original output for save of step final : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} new output for save of step final : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} [1402497943, 1402497513, 1402497511, 1402497482, 1402497476, 1402497467, 1402497465, 1402497363, 1402497360, 1402497356, 1402497351, 1402497347, 1402497342, 1402497260, 1402497253, 1402497250, 1402497247, 1402497227, 1402497138, 1402497135, 1402497132, 1402497096, 1402497091, 1402497068, 1402497047, 1402497026, 1402496564, 1402496559, 1402496532, 1402496507, 1402496214, 1402496207, 1402496160, 1402495724, 1402495656, 1402495592, 1402495527, 1402495464] map_info['map_portfolio_photo'] : {29949468: [1402497943, 1402497513, 1402497511, 1402497482, 1402497476, 1402497467, 1402497465, 1402497363, 1402497360, 1402497356, 1402497351, 1402497347, 1402497342, 1402497260, 1402497253, 1402497250, 1402497247, 1402497227, 1402497138, 1402497135, 1402497132, 1402497096, 1402497091, 1402497068, 1402497047, 1402497026, 1402496564, 1402496559, 1402496532, 1402496507, 1402496214, 1402496207, 1402496160, 1402495724, 1402495656, 1402495592, 1402495527, 1402495464]} final : False mtd_id 4302 list_pids : [1402497943, 1402497513, 1402497511, 1402497482, 1402497476, 1402497467, 1402497465, 1402497363, 1402497360, 1402497356, 1402497351, 1402497347, 1402497342, 1402497260, 1402497253, 1402497250, 1402497247, 1402497227, 1402497138, 1402497135, 1402497132, 1402497096, 1402497091, 1402497068, 1402497047, 1402497026, 1402496564, 1402496559, 1402496532, 1402496507, 1402496214, 1402496207, 1402496160, 1402495724, 1402495656, 1402495592, 1402495527, 1402495464] Looping around the photos to save general results len do output : 38 /1402497943.Didn't retrieve data . /1402497513.Didn't retrieve data . /1402497511.Didn't retrieve data . /1402497482.Didn't retrieve data . /1402497476.Didn't retrieve data . /1402497467.Didn't retrieve data . /1402497465.Didn't retrieve data . /1402497363.Didn't retrieve data . /1402497360.Didn't retrieve data . /1402497356.Didn't retrieve data . /1402497351.Didn't retrieve data . /1402497347.Didn't retrieve data . /1402497342.Didn't retrieve data . /1402497260.Didn't retrieve data . /1402497253.Didn't retrieve data . /1402497250.Didn't retrieve data . /1402497247.Didn't retrieve data . /1402497227.Didn't retrieve data . /1402497138.Didn't retrieve data . /1402497135.Didn't retrieve data . /1402497132.Didn't retrieve data . /1402497096.Didn't retrieve data . /1402497091.Didn't retrieve data . /1402497068.Didn't retrieve data . /1402497047.Didn't retrieve data . /1402497026.Didn't retrieve data . /1402496564.Didn't retrieve data . /1402496559.Didn't retrieve data . /1402496532.Didn't retrieve data . /1402496507.Didn't retrieve data . /1402496214.Didn't retrieve data . /1402496207.Didn't retrieve data . /1402496160.Didn't retrieve data . /1402495724.Didn't retrieve data . /1402495656.Didn't retrieve data . /1402495592.Didn't retrieve data . /1402495527.Didn't retrieve data . /1402495464.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, '4315819') ('4302', '29949468', '1402497943', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497513', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497511', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497482', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497476', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497467', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497465', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497363', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497360', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497356', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497351', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497347', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497342', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497260', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497253', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497250', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497247', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497227', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497138', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497135', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497132', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497096', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497091', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497068', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497047', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497026', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496564', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496559', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496532', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496507', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496214', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496207', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496160', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495724', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495656', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495592', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495527', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495464', None, None, None, None, None, '4315819') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 114 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', '29949468', '1402497943', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497513', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497511', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497482', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497476', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497467', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497465', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497363', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497360', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497356', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497351', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497347', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497342', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497260', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497253', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497250', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497247', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497227', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497138', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497135', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497132', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497096', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497091', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497068', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497047', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402497026', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402496564', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402496559', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402496532', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402496507', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402496214', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402496207', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402496160', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402495724', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402495656', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402495592', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402495527', '0.08178755018139013', None, None, None, None, '4315819'), ('4302', '29949468', '1402495464', '0.08178755018139013', None, None, None, None, '4315819')] time used for this insertion : 0.02384352684020996 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08067488670349121 time spend to save output : 0.025279998779296875 total time spend for step 2 : 0.10595488548278809 step3:velours_tree Tue Jan 6 05:39:01 2026 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 : {29949468: [{'Carton_gris': 29949508, 'plastique': 29949509, 'kraft': 29949510, 'environnement': 29949511, 'Carton_brun': 29949512, 'papier': 29949513, 'metal': 29949514, 'Teint_Dans_La_Masse': 29949515, 'mal_croppe': 29949516, 'autre_refus': 29949517, 'cartonnette': 29949518, 'flou': 29949519}]} input_args_next_step : {29949468: ()} output_args : {29949468: [{'Carton_gris': 29949508, 'plastique': 29949509, 'kraft': 29949510, 'environnement': 29949511, 'Carton_brun': 29949512, 'papier': 29949513, 'metal': 29949514, 'Teint_Dans_La_Masse': 29949515, 'mal_croppe': 29949516, 'autre_refus': 29949517, 'cartonnette': 29949518, 'flou': 29949519}]} args : 29949468 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_gris': 29949508, 'plastique': 29949509, 'kraft': 29949510, 'environnement': 29949511, 'Carton_brun': 29949512, 'papier': 29949513, 'metal': 29949514, 'Teint_Dans_La_Masse': 29949515, 'mal_croppe': 29949516, 'autre_refus': 29949517, 'cartonnette': 29949518, 'flou': 29949519},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29949468) 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([29949468]) 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.24506187438964844 time spend to save output : 4.0531158447265625e-05 total time spend for step 3 : 0.2451024055480957 step4:send_mail_cod Tue Jan 6 05:39:01 2026 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 : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} input_args_next_step : {1402497943: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497943 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497513 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497511 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497482 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497476 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497467 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497465 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497363 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497360 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497356 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497351 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497347 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497342 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497260 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497253 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497250 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497247 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497227 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497138 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497135 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497132 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497096 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497091 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497068 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497047 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402497026 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402496564 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402496559 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402496532 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402496507 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402496214 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402496207 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402496160 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402495724 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402495656 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402495592 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402495527 depend.output_id : 0 input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ()} output_args : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',)} args : 1402495464 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 : {29949468: [{'Carton_gris': 29949508, 'plastique': 29949509, 'kraft': 29949510, 'environnement': 29949511, 'Carton_brun': 29949512, 'papier': 29949513, 'metal': 29949514, 'Teint_Dans_La_Masse': 29949515, 'mal_croppe': 29949516, 'autre_refus': 29949517, 'cartonnette': 29949518, 'flou': 29949519}]} input_args_next_step : {1402497943: ('0.08178755018139013',), 1402497513: ('0.08178755018139013',), 1402497511: ('0.08178755018139013',), 1402497482: ('0.08178755018139013',), 1402497476: ('0.08178755018139013',), 1402497467: ('0.08178755018139013',), 1402497465: ('0.08178755018139013',), 1402497363: ('0.08178755018139013',), 1402497360: ('0.08178755018139013',), 1402497356: ('0.08178755018139013',), 1402497351: ('0.08178755018139013',), 1402497347: ('0.08178755018139013',), 1402497342: ('0.08178755018139013',), 1402497260: ('0.08178755018139013',), 1402497253: ('0.08178755018139013',), 1402497250: ('0.08178755018139013',), 1402497247: ('0.08178755018139013',), 1402497227: ('0.08178755018139013',), 1402497138: ('0.08178755018139013',), 1402497135: ('0.08178755018139013',), 1402497132: ('0.08178755018139013',), 1402497096: ('0.08178755018139013',), 1402497091: ('0.08178755018139013',), 1402497068: ('0.08178755018139013',), 1402497047: ('0.08178755018139013',), 1402497026: ('0.08178755018139013',), 1402496564: ('0.08178755018139013',), 1402496559: ('0.08178755018139013',), 1402496532: ('0.08178755018139013',), 1402496507: ('0.08178755018139013',), 1402496214: ('0.08178755018139013',), 1402496207: ('0.08178755018139013',), 1402496160: ('0.08178755018139013',), 1402495724: ('0.08178755018139013',), 1402495656: ('0.08178755018139013',), 1402495592: ('0.08178755018139013',), 1402495527: ('0.08178755018139013',), 1402495464: ('0.08178755018139013',), 29949468: ()} output_args : {29949468: [{'Carton_gris': 29949508, 'plastique': 29949509, 'kraft': 29949510, 'environnement': 29949511, 'Carton_brun': 29949512, 'papier': 29949513, 'metal': 29949514, 'Teint_Dans_La_Masse': 29949515, 'mal_croppe': 29949516, 'autre_refus': 29949517, 'cartonnette': 29949518, 'flou': 29949519}]} args : 29949468 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 :39, first value : ('0.08178755018139013',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29949468) 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 (1402497943,1402497513,1402497511,1402497482,1402497476,1402497467,1402497465,1402497363,1402497360,1402497356,1402497351,1402497347,1402497342,1402497260,1402497253,1402497250,1402497247,1402497227,1402497138,1402497135,1402497132,1402497096,1402497091,1402497068,1402497047,1402497026,1402496564,1402496559,1402496532,1402496507,1402496214,1402496207,1402496160,1402495724,1402495656,1402495592,1402495527,1402495464) Found this number of photos: 38 ##### Call download_photos : nb_thread : 5 begin to download photo : 1402495464 begin to download photo : 1402496507 begin to download photo : 1402497096 begin to download photo : 1402497260 begin to download photo : 1402497467 download finish for photo 1402497260 begin to download photo : 1402497342 download finish for photo 1402497467 begin to download photo : 1402497476 download finish for photo 1402495464 begin to download photo : 1402495527 download finish for photo 1402496507 begin to download photo : 1402496532 download finish for photo 1402497096 begin to download photo : 1402497132 download finish for photo 1402497476 begin to download photo : 1402497482 download finish for photo 1402497342 begin to download photo : 1402497347 download finish for photo 1402496532 begin to download photo : 1402496559 download finish for photo 1402495527 begin to download photo : 1402495592 download finish for photo 1402497132 begin to download photo : 1402497135 download finish for photo 1402497482 begin to download photo : 1402497511 download finish for photo 1402497347 begin to download photo : 1402497351 download finish for photo 1402496559 begin to download photo : 1402496564 download finish for photo 1402495592 begin to download photo : 1402495656 download finish for photo 1402497135 begin to download photo : 1402497138 download finish for photo 1402497511 begin to download photo : 1402497513 download finish for photo 1402496564 begin to download photo : 1402497026 download finish for photo 1402497351 begin to download photo : 1402497356 download finish for photo 1402495656 begin to download photo : 1402495724 download finish for photo 1402497138 begin to download photo : 1402497227 download finish for photo 1402497513 begin to download photo : 1402497943 download finish for photo 1402497026 begin to download photo : 1402497047 download finish for photo 1402497356 begin to download photo : 1402497360 download finish for photo 1402495724 begin to download photo : 1402496160 download finish for photo 1402497227 begin to download photo : 1402497247 download finish for photo 1402497943 download finish for photo 1402497047 begin to download photo : 1402497068 download finish for photo 1402497360 begin to download photo : 1402497363 download finish for photo 1402496160 begin to download photo : 1402496207 download finish for photo 1402497247 begin to download photo : 1402497250 download finish for photo 1402497363 begin to download photo : 1402497465 download finish for photo 1402497068 begin to download photo : 1402497091 download finish for photo 1402496207 begin to download photo : 1402496214 download finish for photo 1402497465 download finish for photo 1402497250 begin to download photo : 1402497253 download finish for photo 1402496214 download finish for photo 1402497091 download finish for photo 1402497253 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 : 38 ; length of list_pids : 38 ; length of list_args : 38 results_Auto_P29949468_06-01-2026_05_39_03.pdf 29949509 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=29949509 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402497684: '1767597146_999464_1402497250_4b0cd287c7005cfc6f8e7d3c083565af_rle_crop_4090742288_0.png', 1402501926: '1767600145_1148851_1402497476_6f5b31d110f9ca9be4edcb3f4be4b996_rle_crop_4090778247_0.png', 1402501925: '1767600145_1148851_1402497476_6f5b31d110f9ca9be4edcb3f4be4b996_rle_crop_4090778240_0.png', 1402497715: '1767597185_1002017_1402497342_6269644571ffac071342b821a3bfe404_rle_crop_4090742106_0.png', 1402497714: '1767597185_1002017_1402497351_e7167506e15e01ff2b2fbba580b5c07e_rle_crop_4090742075_0.png', 1402497713: '1767597185_1002017_1402497351_e7167506e15e01ff2b2fbba580b5c07e_rle_crop_4090742071_0.png', 1402497712: '1767597185_1002017_1402497356_692eb1f595c4d759048da185a601c32c_rle_crop_4090742060_0.png', 1402497711: '1767597185_1002017_1402497360_45c33b7a832c14bb9fc28f3eff0b279a_rle_crop_4090742054_0.png', 1402497710: '1767597185_1002017_1402497482_f2bd1466760c4aeaf2ee49c33cf1b7bb_rle_crop_4090742041_0.png', 1402497688: '1767597146_999464_1402497247_86d2aa062699630414bdb4c9a86d4a63_rle_crop_4090742298_0.png', 1402497687: '1767597146_999464_1402497247_86d2aa062699630414bdb4c9a86d4a63_rle_crop_4090742302_0.png', 1402497686: '1767597146_999464_1402497247_86d2aa062699630414bdb4c9a86d4a63_rle_crop_4090742301_0.png', 1402497685: '1767597146_999464_1402497250_4b0cd287c7005cfc6f8e7d3c083565af_rle_crop_4090742279_0.png', 1402497156: '1767596705_970490_1402496214_77b39e7dfda021db843907d8bd72c7bd_rle_crop_4090739025_0.png', 1402497683: '1767597146_999464_1402497253_99c0e6dd24b2c61fdc85e0ff7652a938_rle_crop_4090742275_0.png', 1402497682: '1767597146_999464_1402497363_a42b28f197a1e893f22ee276345ddbbb_rle_crop_4090742260_0.png', 1402497574: '1767596965_989094_1402497047_f64ebb745bf3582bfa593aef416241df_rle_crop_4090740263_0.png', 1402497573: '1767596965_989094_1402497068_ba6884d6aa2cd6f07cb840eadbb83d7d_rle_crop_4090740251_0.png', 1402497572: '1767596965_989094_1402497138_5aade337e21f99eeb1da519c968c3aaf_rle_crop_4090740212_0.png', 1402497528: '1767596947_986792_1402497132_b34cd3f6fbceb108bef79ec9e3b131fe_rle_crop_4090740026_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/b9a6a137b9b35e4b3becc5d5930a4422_70703254.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/04b0a9cf63d1438cd9bf361364809c3e_85146773.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/f6c39002f436ccd1a36f2d0e1e25c0f8_30875320.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/f6487e8c7e6f475778aea8b505f530a8_40026105.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/bfb1f739a7baca6f054fab84b590db64_32683577.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/bffdff3170f28024350454df9bc46715_8138496.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/32de76228c0f10e3d3c612d785798a8d_36637997.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/10121ecc6a29b77d8a4bb1d3fd075a4e_33388111.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/0160c717d620842b432cb1569c84f3b7_84734193.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/3815e6e51d5321fc40e55751d6278c0a_31254102.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/be6364354bc12814f32d99f9e6ecb1de_56645738.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/74e65f043981be0a238a4762d65dfd11_54102110.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/60a570a27e7d7318afd72d56c68fbc07_92983755.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/24ec868d0a1a4e80bc3ebf02608bde4e_88450952.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/c2fd004c4e7dd80d64cb16e7a321d1c6_48876331.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/a1caf97f938c8d9d710e552a4f45d5eb_96621392.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/886abc0b55325fb5b2982b675e472e2c_95837096.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/ebeb8f3a56e7455d4e2870087dd8b971_40749735.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/e7a5e20fda9fe19b5bf5b629604749b3_91454206.png change filename to text .imagette299495091767674343/ imagette299495091767674343/1767597146_999464_1402497247_86d2aa062699630414bdb4c9a86d4a63_rle_crop_4090742302_0.png.png imagette299495091767674343/1767596965_989094_1402497047_f64ebb745bf3582bfa593aef416241df_rle_crop_4090740263_0.png.png imagette299495091767674343/1767597185_1002017_1402497360_45c33b7a832c14bb9fc28f3eff0b279a_rle_crop_4090742054_0.png.png imagette299495091767674343/1767597185_1002017_1402497351_e7167506e15e01ff2b2fbba580b5c07e_rle_crop_4090742075_0.png.png imagette299495091767674343/1767597185_1002017_1402497342_6269644571ffac071342b821a3bfe404_rle_crop_4090742106_0.png.png imagette299495091767674343/1767597146_999464_1402497250_4b0cd287c7005cfc6f8e7d3c083565af_rle_crop_4090742279_0.png.png imagette299495091767674343/1767597146_999464_1402497247_86d2aa062699630414bdb4c9a86d4a63_rle_crop_4090742301_0.png.png imagette299495091767674343/1767597185_1002017_1402497356_692eb1f595c4d759048da185a601c32c_rle_crop_4090742060_0.png.png imagette299495091767674343/1767596965_989094_1402497068_ba6884d6aa2cd6f07cb840eadbb83d7d_rle_crop_4090740251_0.png.png imagette299495091767674343/1767597146_999464_1402497363_a42b28f197a1e893f22ee276345ddbbb_rle_crop_4090742260_0.png.png imagette299495091767674343/1767597146_999464_1402497253_99c0e6dd24b2c61fdc85e0ff7652a938_rle_crop_4090742275_0.png.png imagette299495091767674343/1767600145_1148851_1402497476_6f5b31d110f9ca9be4edcb3f4be4b996_rle_crop_4090778247_0.png.png imagette299495091767674343/1767600145_1148851_1402497476_6f5b31d110f9ca9be4edcb3f4be4b996_rle_crop_4090778240_0.png.png imagette299495091767674343/1767596947_986792_1402497132_b34cd3f6fbceb108bef79ec9e3b131fe_rle_crop_4090740026_0.png.png imagette299495091767674343/1767597185_1002017_1402497351_e7167506e15e01ff2b2fbba580b5c07e_rle_crop_4090742071_0.png.png imagette299495091767674343/1767597146_999464_1402497250_4b0cd287c7005cfc6f8e7d3c083565af_rle_crop_4090742288_0.png.png imagette299495091767674343/1767597146_999464_1402497247_86d2aa062699630414bdb4c9a86d4a63_rle_crop_4090742298_0.png.png imagette299495091767674343/1767596705_970490_1402496214_77b39e7dfda021db843907d8bd72c7bd_rle_crop_4090739025_0.png.png imagette299495091767674343/1767596965_989094_1402497138_5aade337e21f99eeb1da519c968c3aaf_rle_crop_4090740212_0.png.png imagette299495091767674343/1767597185_1002017_1402497482_f2bd1466760c4aeaf2ee49c33cf1b7bb_rle_crop_4090742041_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/5d3bf458ff6993b2f260baf375f4bc34_84893239.png imagette299495091767674343 29949510 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=29949510 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402497158: '1767596705_970490_1402495724_2bb9f71d7e03266b89ae059092a84d94_rle_crop_4090739037_0.png', 1402497164: '1767596726_970860_1402496207_816a32c3fc3b53a00126787de64ac4de_rle_crop_4090739130_0.png', 1402497418: '1767596825_978826_1402496559_ec60368ce5b63075d6bab9ce3b72ecff_rle_crop_4090739606_0.png', 1402497689: '1767597146_999464_1402497363_a42b28f197a1e893f22ee276345ddbbb_rle_crop_4090742251_0.png', 1402497690: '1767597146_999464_1402497250_4b0cd287c7005cfc6f8e7d3c083565af_rle_crop_4090742284_0.png', 1402497691: '1767597146_999464_1402497247_86d2aa062699630414bdb4c9a86d4a63_rle_crop_4090742294_0.png', 1402497692: '1767597146_999464_1402497227_078ff9ae763ecd6b523bfacfa620a5dc_rle_crop_4090742307_0.png', 1402497717: '1767597185_1002017_1402497347_6a7787ee61eb6b68a925250a6cd40ffb_rle_crop_4090742088_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/341719969bfb8066f14637b67b6c9376_4610905.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/3201dbee87e17f92551e641d2b93e4ff_65184389.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/1af6fcbaf2a297a30ee9aaa4fc584433_20990413.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/1e96fb798fe06c0e70e50ac71322dcb2_40081968.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/bf18e32a3ce5daaa0f7bb593ba4119e9_84848728.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/93f0d62a4c1e4303035d75650abbc79b_76858024.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/bfaae2562d31489f0853fe08ebb67577_88908845.png change filename to text .imagette299495101767674345/ imagette299495101767674345/1767596726_970860_1402496207_816a32c3fc3b53a00126787de64ac4de_rle_crop_4090739130_0.png.png imagette299495101767674345/1767597185_1002017_1402497347_6a7787ee61eb6b68a925250a6cd40ffb_rle_crop_4090742088_0.png.png imagette299495101767674345/1767597146_999464_1402497363_a42b28f197a1e893f22ee276345ddbbb_rle_crop_4090742251_0.png.png imagette299495101767674345/1767596825_978826_1402496559_ec60368ce5b63075d6bab9ce3b72ecff_rle_crop_4090739606_0.png.png imagette299495101767674345/1767597146_999464_1402497247_86d2aa062699630414bdb4c9a86d4a63_rle_crop_4090742294_0.png.png imagette299495101767674345/1767596705_970490_1402495724_2bb9f71d7e03266b89ae059092a84d94_rle_crop_4090739037_0.png.png imagette299495101767674345/1767597146_999464_1402497250_4b0cd287c7005cfc6f8e7d3c083565af_rle_crop_4090742284_0.png.png imagette299495101767674345/1767597146_999464_1402497227_078ff9ae763ecd6b523bfacfa620a5dc_rle_crop_4090742307_0.png.png imagette299495141767674346/ imagette299495161767674346/ wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/0f993042a84a6d734c62953005891e1d_93544265.png imagette299495101767674345 29949514 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=29949514 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299495141767674346 29949516 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=29949516 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299495161767674346 29949517 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=29949517 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402497150: '1767596705_970490_1402495527_7434c546662e3937e1acb362c14ba36d_rle_crop_4090739067_0.png', 1402497704: '1767597185_1002017_1402497351_e7167506e15e01ff2b2fbba580b5c07e_rle_crop_4090742068_0.png', 1402500562: '1767599307_1108183_1402497943_9e7a6537e4283f4ab2bcd8fe7351b4bb_rle_crop_4090758772_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/9f5a15ed38f0c6998c883885caa9343a_63863197.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/11ab31a388b00ab2619a5b67af7b6806_72356921.png change filename to text .imagette299495171767674346/ imagette299495171767674346/1767597185_1002017_1402497351_e7167506e15e01ff2b2fbba580b5c07e_rle_crop_4090742068_0.png.png imagette299495171767674346/1767596705_970490_1402495527_7434c546662e3937e1acb362c14ba36d_rle_crop_4090739067_0.png.png imagette299495171767674346/1767599307_1108183_1402497943_9e7a6537e4283f4ab2bcd8fe7351b4bb_rle_crop_4090758772_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/291c2943011008eaf980b31cf2cb53f0_62238202.png imagette299495171767674346 29949518 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=29949518 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402497153: '1767596705_970490_1402496214_77b39e7dfda021db843907d8bd72c7bd_rle_crop_4090739018_0.png', 1402497154: '1767596705_970490_1402496214_77b39e7dfda021db843907d8bd72c7bd_rle_crop_4090739020_0.png', 1402497155: '1767596705_970490_1402495592_6dd91f1c11201ac4c1efa1caf31560e9_rle_crop_4090739056_0.png', 1402497379: '1767596825_978826_1402496559_ec60368ce5b63075d6bab9ce3b72ecff_rle_crop_4090739604_0.png', 1402497381: '1767596825_978826_1402496532_ae25d46ced9126a849f0eb409af0f1f3_rle_crop_4090739616_0.png', 1402497525: '1767596947_986792_1402497132_b34cd3f6fbceb108bef79ec9e3b131fe_rle_crop_4090740019_0.png', 1402497527: '1767596947_986792_1402497132_b34cd3f6fbceb108bef79ec9e3b131fe_rle_crop_4090740021_0.png', 1402497562: '1767596965_989094_1402497068_ba6884d6aa2cd6f07cb840eadbb83d7d_rle_crop_4090740241_0.png', 1402497675: '1767597146_999464_1402497363_a42b28f197a1e893f22ee276345ddbbb_rle_crop_4090742250_0.png', 1402497676: '1767597146_999464_1402497253_99c0e6dd24b2c61fdc85e0ff7652a938_rle_crop_4090742271_0.png', 1402497677: '1767597146_999464_1402497250_4b0cd287c7005cfc6f8e7d3c083565af_rle_crop_4090742282_0.png', 1402497678: '1767597146_999464_1402497247_86d2aa062699630414bdb4c9a86d4a63_rle_crop_4090742297_0.png', 1402497708: '1767597185_1002017_1402497342_6269644571ffac071342b821a3bfe404_rle_crop_4090742096_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/4970aa296a95452cb2bc6ee351d9503a_39989490.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/b0363eee213ec1bf7bae7ca6060c8b10_74107566.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/17ab1c80d2cc0c51be38ac398a04aa19_45161961.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/3829a82686756855419ff9c2d25713a9_77889828.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/fcae5a894149b91a347c7fcf575678a3_82022983.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/106d96f2b1ad2e54ad1aed82d5de85ed_4678585.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/afbe696428c335a99de15663d6b351c1_44291209.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/4578050e10ccc2c23a835d41ce5c7c25_80860029.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/6f9a3aefe225f4b5da8e2056ad026fbd_75518894.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/3ca49264bc3f2b87e560077d83d1dcd5_3996311.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/6bf94ba625137333f78984597e9290c0_98169578.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/4643a067b17e424257beaffacf7c8a12_90335497.png change filename to text .imagette299495181767674346/ imagette299495181767674346/1767596705_970490_1402496214_77b39e7dfda021db843907d8bd72c7bd_rle_crop_4090739018_0.png.png imagette299495181767674346/1767597146_999464_1402497363_a42b28f197a1e893f22ee276345ddbbb_rle_crop_4090742250_0.png.png imagette299495181767674346/1767596825_978826_1402496559_ec60368ce5b63075d6bab9ce3b72ecff_rle_crop_4090739604_0.png.png imagette299495181767674346/1767596947_986792_1402497132_b34cd3f6fbceb108bef79ec9e3b131fe_rle_crop_4090740019_0.png.png imagette299495181767674346/1767596825_978826_1402496532_ae25d46ced9126a849f0eb409af0f1f3_rle_crop_4090739616_0.png.png imagette299495181767674346/1767596705_970490_1402496214_77b39e7dfda021db843907d8bd72c7bd_rle_crop_4090739020_0.png.png imagette299495181767674346/1767596947_986792_1402497132_b34cd3f6fbceb108bef79ec9e3b131fe_rle_crop_4090740021_0.png.png imagette299495181767674346/1767597146_999464_1402497247_86d2aa062699630414bdb4c9a86d4a63_rle_crop_4090742297_0.png.png imagette299495181767674346/1767596705_970490_1402495592_6dd91f1c11201ac4c1efa1caf31560e9_rle_crop_4090739056_0.png.png imagette299495181767674346/1767596965_989094_1402497068_ba6884d6aa2cd6f07cb840eadbb83d7d_rle_crop_4090740241_0.png.png imagette299495181767674346/1767597185_1002017_1402497342_6269644571ffac071342b821a3bfe404_rle_crop_4090742096_0.png.png imagette299495181767674346/1767597146_999464_1402497250_4b0cd287c7005cfc6f8e7d3c083565af_rle_crop_4090742282_0.png.png imagette299495181767674346/1767597146_999464_1402497253_99c0e6dd24b2c61fdc85e0ff7652a938_rle_crop_4090742271_0.png.png imagette299495191767674348/ wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/e3dd470efe09113cf782aa12f3367634_6448353.png imagette299495181767674346 29949519 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=29949519 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299495191767674348 29949508 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=29949508 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402497559: '1767596965_989094_1402497138_5aade337e21f99eeb1da519c968c3aaf_rle_crop_4090740208_0.png', 1402497560: '1767596965_989094_1402497047_f64ebb745bf3582bfa593aef416241df_rle_crop_4090740257_0.png', 1402497561: '1767596965_989094_1402497026_0bc303899168591b860c79b25c4366cb_rle_crop_4090740269_0.png', 1402497671: '1767597146_999464_1402497253_99c0e6dd24b2c61fdc85e0ff7652a938_rle_crop_4090742270_0.png', 1402497672: '1767597146_999464_1402497250_4b0cd287c7005cfc6f8e7d3c083565af_rle_crop_4090742285_0.png', 1402497673: '1767597146_999464_1402497247_86d2aa062699630414bdb4c9a86d4a63_rle_crop_4090742291_0.png', 1402497705: '1767597185_1002017_1402497356_692eb1f595c4d759048da185a601c32c_rle_crop_4090742056_0.png', 1402497706: '1767597185_1002017_1402497351_e7167506e15e01ff2b2fbba580b5c07e_rle_crop_4090742067_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/7b7959f1980970575256c9b1e00d5745_48438614.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/f06030026e992890b13a666a1b1b88f4_6357120.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/370e267f5a77434878b018eeaa66fe39_4466000.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/eea6e7db61e79701a7e62f4594d06857_3035733.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/89b2d8f6ba1c85d846e971d452affe21_99016522.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/7981d2c409c0f44f544e95cdbd3ff140_74743954.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/b70d4abe381ccd8d9cef01c87d9578f3_35630643.png change filename to text .imagette299495081767674348/ imagette299495081767674348/1767596965_989094_1402497026_0bc303899168591b860c79b25c4366cb_rle_crop_4090740269_0.png.png imagette299495081767674348/1767596965_989094_1402497047_f64ebb745bf3582bfa593aef416241df_rle_crop_4090740257_0.png.png imagette299495081767674348/1767597185_1002017_1402497356_692eb1f595c4d759048da185a601c32c_rle_crop_4090742056_0.png.png imagette299495081767674348/1767597146_999464_1402497253_99c0e6dd24b2c61fdc85e0ff7652a938_rle_crop_4090742270_0.png.png imagette299495081767674348/1767596965_989094_1402497138_5aade337e21f99eeb1da519c968c3aaf_rle_crop_4090740208_0.png.png imagette299495081767674348/1767597185_1002017_1402497351_e7167506e15e01ff2b2fbba580b5c07e_rle_crop_4090742067_0.png.png imagette299495081767674348/1767597146_999464_1402497247_86d2aa062699630414bdb4c9a86d4a63_rle_crop_4090742291_0.png.png imagette299495081767674348/1767597146_999464_1402497250_4b0cd287c7005cfc6f8e7d3c083565af_rle_crop_4090742285_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/10c10797de8e23da591b91911ffa5aea_34819984.png imagette299495081767674348 29949512 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=29949512 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402497391: '1767596825_978826_1402496532_ae25d46ced9126a849f0eb409af0f1f3_rle_crop_4090739623_0.png', 1402497393: '1767596825_978826_1402496507_94dd5471768919ffa2683e5ee815780e_rle_crop_4090739638_0.png', 1402497563: '1767596965_989094_1402497091_b7854b0500181eb3de3cbc6dc77fbbb6_rle_crop_4090740228_0.png', 1402497564: '1767596965_989094_1402497068_ba6884d6aa2cd6f07cb840eadbb83d7d_rle_crop_4090740248_0.png', 1402497565: '1767596965_989094_1402497068_ba6884d6aa2cd6f07cb840eadbb83d7d_rle_crop_4090740247_0.png', 1402497566: '1767596965_989094_1402497047_f64ebb745bf3582bfa593aef416241df_rle_crop_4090740262_0.png', 1402497567: '1767596965_989094_1402497026_0bc303899168591b860c79b25c4366cb_rle_crop_4090740278_0.png', 1402497569: '1767596965_989094_1402497026_0bc303899168591b860c79b25c4366cb_rle_crop_4090740274_0.png', 1402497570: '1767596965_989094_1402497026_0bc303899168591b860c79b25c4366cb_rle_crop_4090740276_0.png', 1402497679: '1767597146_999464_1402497363_a42b28f197a1e893f22ee276345ddbbb_rle_crop_4090742264_0.png', 1402497709: '1767597185_1002017_1402497360_45c33b7a832c14bb9fc28f3eff0b279a_rle_crop_4090742047_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/d84e1256565298a7f2fea5887d03c825_31412738.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/0ef55383ea2298b7f0f6ed261941573b_289445.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/d8468e4fc1255297cbb3045262edb03a_45039525.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/3e488b3fd5a13b53e2933e5d8f9e282a_97863970.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/b36b7ae77ca23aefc18ca86b697933c7_21967849.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/7678ebfa976df6f9d0b7cf7afef0e1e1_98412655.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/0672ae612485f577057b635a56a66b37_71703929.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/256fe6aa4369cc85a4ed352f5708d439_27265431.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/751eefd0c81b7bac874bb97c41c684ce_20817002.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/2fa216c48acfce15e222a6850b4c9522_79830214.png change filename to text .imagette299495121767674349/ imagette299495121767674349/1767597185_1002017_1402497360_45c33b7a832c14bb9fc28f3eff0b279a_rle_crop_4090742047_0.png.png imagette299495121767674349/1767596965_989094_1402497026_0bc303899168591b860c79b25c4366cb_rle_crop_4090740274_0.png.png imagette299495121767674349/1767596965_989094_1402497026_0bc303899168591b860c79b25c4366cb_rle_crop_4090740278_0.png.png imagette299495121767674349/1767597146_999464_1402497363_a42b28f197a1e893f22ee276345ddbbb_rle_crop_4090742264_0.png.png imagette299495121767674349/1767596965_989094_1402497026_0bc303899168591b860c79b25c4366cb_rle_crop_4090740276_0.png.png imagette299495121767674349/1767596965_989094_1402497047_f64ebb745bf3582bfa593aef416241df_rle_crop_4090740262_0.png.png imagette299495121767674349/1767596825_978826_1402496507_94dd5471768919ffa2683e5ee815780e_rle_crop_4090739638_0.png.png imagette299495121767674349/1767596965_989094_1402497068_ba6884d6aa2cd6f07cb840eadbb83d7d_rle_crop_4090740248_0.png.png imagette299495121767674349/1767596825_978826_1402496532_ae25d46ced9126a849f0eb409af0f1f3_rle_crop_4090739623_0.png.png imagette299495121767674349/1767596965_989094_1402497091_b7854b0500181eb3de3cbc6dc77fbbb6_rle_crop_4090740228_0.png.png imagette299495121767674349/1767596965_989094_1402497068_ba6884d6aa2cd6f07cb840eadbb83d7d_rle_crop_4090740247_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/45e121897a8c753e9cff34898ea97056_58096644.png imagette299495121767674349 29949515 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=29949515 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402497148: '1767596705_970490_1402495656_ebc52b4d0623b3050316e84f66cf46b4_rle_crop_4090739052_0.png', 1402497149: '1767596705_970490_1402495656_ebc52b4d0623b3050316e84f66cf46b4_rle_crop_4090739051_0.png', 1402497160: '1767596726_970860_1402496207_816a32c3fc3b53a00126787de64ac4de_rle_crop_4090739136_0.png', 1402497522: '1767596947_986792_1402497135_8c33d86a67577d1068310f5e88668ca2_rle_crop_4090740015_0.png', 1402497523: '1767596947_986792_1402497132_b34cd3f6fbceb108bef79ec9e3b131fe_rle_crop_4090740027_0.png', 1402497555: '1767596965_989094_1402497138_5aade337e21f99eeb1da519c968c3aaf_rle_crop_4090740210_0.png', 1402497556: '1767596965_989094_1402497047_f64ebb745bf3582bfa593aef416241df_rle_crop_4090740259_0.png', 1402497557: '1767596965_989094_1402497026_0bc303899168591b860c79b25c4366cb_rle_crop_4090740275_0.png', 1402497667: '1767597146_999464_1402497363_a42b28f197a1e893f22ee276345ddbbb_rle_crop_4090742263_0.png', 1402497668: '1767597146_999464_1402497363_a42b28f197a1e893f22ee276345ddbbb_rle_crop_4090742258_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/c4db72a6c2237a9d86d08f30e2279763_77264604.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/4e80eb6819fcfbe4697106410a9080bc_1104851.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/f3b063bb9ad9d66a7b59bf4423934bcd_81085230.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/b930f1aab77b84aceab2d8d02a108854_42775544.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/fd76d3cca2f1be7ad228bf14c6bff091_26295260.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/26c0d055d52923fb788dbfe6af56887e_38794513.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/c52c1e6c4c8e28fbdf39301e7f4047e7_6214487.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/d140fea53456c35dd62299ca7eb27028_22016911.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/4a100770198abdbb791e001f41423b69_97632781.png change filename to text .imagette299495151767674350/ imagette299495151767674350/1767596947_986792_1402497135_8c33d86a67577d1068310f5e88668ca2_rle_crop_4090740015_0.png.png imagette299495151767674350/1767596965_989094_1402497026_0bc303899168591b860c79b25c4366cb_rle_crop_4090740275_0.png.png imagette299495151767674350/1767597146_999464_1402497363_a42b28f197a1e893f22ee276345ddbbb_rle_crop_4090742263_0.png.png imagette299495151767674350/1767596726_970860_1402496207_816a32c3fc3b53a00126787de64ac4de_rle_crop_4090739136_0.png.png imagette299495151767674350/1767596705_970490_1402495656_ebc52b4d0623b3050316e84f66cf46b4_rle_crop_4090739051_0.png.png imagette299495151767674350/1767596705_970490_1402495656_ebc52b4d0623b3050316e84f66cf46b4_rle_crop_4090739052_0.png.png imagette299495151767674350/1767597146_999464_1402497363_a42b28f197a1e893f22ee276345ddbbb_rle_crop_4090742258_0.png.png imagette299495151767674350/1767596965_989094_1402497138_5aade337e21f99eeb1da519c968c3aaf_rle_crop_4090740210_0.png.png imagette299495151767674350/1767596947_986792_1402497132_b34cd3f6fbceb108bef79ec9e3b131fe_rle_crop_4090740027_0.png.png imagette299495151767674350/1767596965_989094_1402497047_f64ebb745bf3582bfa593aef416241df_rle_crop_4090740259_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/301d9718249a9bc015eccd62b4ce9a06_53931685.png imagette299495151767674350 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29949468 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29949522,29949523,29949524,29949525,29949526,29949527,29949528,29949529,29949530,29949531,29949532,29949533?tags=Carton_gris,plastique,kraft,environnement,Carton_brun,papier,metal,Teint_Dans_La_Masse,mal_croppe,autre_refus,cartonnette,flou your option no_mail is active, we will not send the real mail to your client args[1402497943] : ('0.08178755018139013',) no score found for photo 1402497943 We are sending mail with results at report@fotonower.com args[1402497513] : ('0.08178755018139013',) no score found for photo 1402497513 We are sending mail with results at report@fotonower.com args[1402497511] : ('0.08178755018139013',) no score found for photo 1402497511 We are sending mail with results at report@fotonower.com args[1402497482] : ('0.08178755018139013',) no score found for photo 1402497482 We are sending mail with results at report@fotonower.com args[1402497476] : ('0.08178755018139013',) no score found for photo 1402497476 We are sending mail with results at report@fotonower.com args[1402497467] : ('0.08178755018139013',) no score found for photo 1402497467 We are sending mail with results at report@fotonower.com args[1402497465] : ('0.08178755018139013',) no score found for photo 1402497465 We are sending mail with results at report@fotonower.com args[1402497363] : ('0.08178755018139013',) no score found for photo 1402497363 We are sending mail with results at report@fotonower.com args[1402497360] : ('0.08178755018139013',) no score found for photo 1402497360 We are sending mail with results at report@fotonower.com args[1402497356] : ('0.08178755018139013',) no score found for photo 1402497356 We are sending mail with results at report@fotonower.com args[1402497351] : ('0.08178755018139013',) no score found for photo 1402497351 We are sending mail with results at report@fotonower.com args[1402497347] : ('0.08178755018139013',) no score found for photo 1402497347 We are sending mail with results at report@fotonower.com args[1402497342] : ('0.08178755018139013',) no score found for photo 1402497342 We are sending mail with results at report@fotonower.com args[1402497260] : ('0.08178755018139013',) no score found for photo 1402497260 We are sending mail with results at report@fotonower.com args[1402497253] : ('0.08178755018139013',) no score found for photo 1402497253 We are sending mail with results at report@fotonower.com args[1402497250] : ('0.08178755018139013',) no score found for photo 1402497250 We are sending mail with results at report@fotonower.com args[1402497247] : ('0.08178755018139013',) no score found for photo 1402497247 We are sending mail with results at report@fotonower.com args[1402497227] : ('0.08178755018139013',) no score found for photo 1402497227 We are sending mail with results at report@fotonower.com args[1402497138] : ('0.08178755018139013',) no score found for photo 1402497138 We are sending mail with results at report@fotonower.com args[1402497135] : ('0.08178755018139013',) no score found for photo 1402497135 We are sending mail with results at report@fotonower.com args[1402497132] : ('0.08178755018139013',) no score found for photo 1402497132 We are sending mail with results at report@fotonower.com args[1402497096] : ('0.08178755018139013',) no score found for photo 1402497096 We are sending mail with results at report@fotonower.com args[1402497091] : ('0.08178755018139013',) no score found for photo 1402497091 We are sending mail with results at report@fotonower.com args[1402497068] : ('0.08178755018139013',) no score found for photo 1402497068 We are sending mail with results at report@fotonower.com args[1402497047] : ('0.08178755018139013',) no score found for photo 1402497047 We are sending mail with results at report@fotonower.com args[1402497026] : ('0.08178755018139013',) no score found for photo 1402497026 We are sending mail with results at report@fotonower.com args[1402496564] : ('0.08178755018139013',) no score found for photo 1402496564 We are sending mail with results at report@fotonower.com args[1402496559] : ('0.08178755018139013',) no score found for photo 1402496559 We are sending mail with results at report@fotonower.com args[1402496532] : ('0.08178755018139013',) no score found for photo 1402496532 We are sending mail with results at report@fotonower.com args[1402496507] : ('0.08178755018139013',) no score found for photo 1402496507 We are sending mail with results at report@fotonower.com args[1402496214] : ('0.08178755018139013',) no score found for photo 1402496214 We are sending mail with results at report@fotonower.com args[1402496207] : ('0.08178755018139013',) no score found for photo 1402496207 We are sending mail with results at report@fotonower.com args[1402496160] : ('0.08178755018139013',) no score found for photo 1402496160 We are sending mail with results at report@fotonower.com args[1402495724] : ('0.08178755018139013',) no score found for photo 1402495724 We are sending mail with results at report@fotonower.com args[1402495656] : ('0.08178755018139013',) no score found for photo 1402495656 We are sending mail with results at report@fotonower.com args[1402495592] : ('0.08178755018139013',) no score found for photo 1402495592 We are sending mail with results at report@fotonower.com args[1402495527] : ('0.08178755018139013',) no score found for photo 1402495527 We are sending mail with results at report@fotonower.com args[1402495464] : ('0.08178755018139013',) no score found for photo 1402495464 We are sending mail with results at report@fotonower.com refus_total : 0.08178755018139013 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=29949468 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_P29949468_06-01-2026_05_39_03.pdf results_Auto_P29949468_06-01-2026_05_39_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949468_06-01-2026_05_39_03.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','29949468','results_Auto_P29949468_06-01-2026_05_39_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949468_06-01-2026_05_39_03.pdf','pdf','','0.58','0.08178755018139013') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29949468]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1402497943, 1402497513, 1402497511, 1402497482, 1402497476, 1402497467, 1402497465, 1402497363, 1402497360, 1402497356, 1402497351, 1402497347, 1402497342, 1402497260, 1402497253, 1402497250, 1402497247, 1402497227, 1402497138, 1402497135, 1402497132, 1402497096, 1402497091, 1402497068, 1402497047, 1402497026, 1402496564, 1402496559, 1402496532, 1402496507, 1402496214, 1402496207, 1402496160, 1402495724, 1402495656, 1402495592, 1402495527, 1402495464] map_info['map_portfolio_photo'] : {29949468: [1402497943, 1402497513, 1402497511, 1402497482, 1402497476, 1402497467, 1402497465, 1402497363, 1402497360, 1402497356, 1402497351, 1402497347, 1402497342, 1402497260, 1402497253, 1402497250, 1402497247, 1402497227, 1402497138, 1402497135, 1402497132, 1402497096, 1402497091, 1402497068, 1402497047, 1402497026, 1402496564, 1402496559, 1402496532, 1402496507, 1402496214, 1402496207, 1402496160, 1402495724, 1402495656, 1402495592, 1402495527, 1402495464]} final : False mtd_id 4302 list_pids : [1402497943, 1402497513, 1402497511, 1402497482, 1402497476, 1402497467, 1402497465, 1402497363, 1402497360, 1402497356, 1402497351, 1402497347, 1402497342, 1402497260, 1402497253, 1402497250, 1402497247, 1402497227, 1402497138, 1402497135, 1402497132, 1402497096, 1402497091, 1402497068, 1402497047, 1402497026, 1402496564, 1402496559, 1402496532, 1402496507, 1402496214, 1402496207, 1402496160, 1402495724, 1402495656, 1402495592, 1402495527, 1402495464] 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, '4315819') ('4302', '29949468', '1402497943', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497513', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497511', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497482', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497476', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497467', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497465', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497363', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497360', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497356', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497351', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497347', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497342', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497260', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497253', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497250', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497247', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497227', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497138', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497135', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497132', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497096', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497091', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497068', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497047', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497026', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496564', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496559', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496532', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496507', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496214', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496207', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496160', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495724', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495656', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495592', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495527', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495464', None, None, None, None, None, '4315819') 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', '29949468', '1402497943', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497513', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497511', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497482', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497476', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497467', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497465', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497363', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497360', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497356', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497351', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497347', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497342', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497260', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497253', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497250', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497247', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497227', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497138', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497135', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497132', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497096', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497091', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497068', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497047', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497026', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496564', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496559', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496532', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496507', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496214', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496207', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496160', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402495724', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402495656', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402495592', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402495527', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402495464', None, None, None, None, None, '4315819')] time used for this insertion : 0.022776126861572266 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.95119333267212 time spend to save output : 0.023159265518188477 total time spend for step 4 : 11.974352598190308 step5:split_time_score Tue Jan 6 05:39:13 2026 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 : ['29949468'] 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 : [('29949468',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29949468) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1402497467: {'path': 'temp/1767674341_332336_1402497467_cb74fb137e8047fb21d0121f9139eaf4.jpg', 'extension': 'jpg'}, 1402497476: {'path': 'temp/1767674341_332336_1402497476_6f5b31d110f9ca9be4edcb3f4be4b996.jpg', 'extension': 'jpg'}, 1402497482: {'path': 'temp/1767674341_332336_1402497482_f2bd1466760c4aeaf2ee49c33cf1b7bb.jpg', 'extension': 'jpg'}, 1402497511: {'path': 'temp/1767674341_332336_1402497511_4df9058db6bb816352ae08a942cc966c.jpg', 'extension': 'jpg'}, 1402497513: {'path': 'temp/1767674341_332336_1402497513_50bbd23f713ecbc638b5c345dd4bcb8d.jpg', 'extension': 'jpg'}, 1402497943: {'path': 'temp/1767674341_332336_1402497943_9e7a6537e4283f4ab2bcd8fe7351b4bb.jpg', 'extension': 'jpg'}, 1402497260: {'path': 'temp/1767674341_332336_1402497260_2ae6903a110587e2f8fdffdeaf139392.jpg', 'extension': 'jpg'}, 1402497342: {'path': 'temp/1767674341_332336_1402497342_6269644571ffac071342b821a3bfe404.jpg', 'extension': 'jpg'}, 1402497347: {'path': 'temp/1767674341_332336_1402497347_6a7787ee61eb6b68a925250a6cd40ffb.jpg', 'extension': 'jpg'}, 1402497351: {'path': 'temp/1767674341_332336_1402497351_e7167506e15e01ff2b2fbba580b5c07e.jpg', 'extension': 'jpg'}, 1402497356: {'path': 'temp/1767674341_332336_1402497356_692eb1f595c4d759048da185a601c32c.jpg', 'extension': 'jpg'}, 1402497360: {'path': 'temp/1767674341_332336_1402497360_45c33b7a832c14bb9fc28f3eff0b279a.jpg', 'extension': 'jpg'}, 1402497363: {'path': 'temp/1767674341_332336_1402497363_a42b28f197a1e893f22ee276345ddbbb.jpg', 'extension': 'jpg'}, 1402497465: {'path': 'temp/1767674341_332336_1402497465_c09d0f5b4bbd8240496f80bcb4c6eeef.jpg', 'extension': 'jpg'}, 1402495464: {'path': 'temp/1767674341_332336_1402495464_77da2bed2c0dbe1fa0f3062461fa9d9c.jpg', 'extension': 'jpg'}, 1402495527: {'path': 'temp/1767674341_332336_1402495527_7434c546662e3937e1acb362c14ba36d.jpg', 'extension': 'jpg'}, 1402495592: {'path': 'temp/1767674341_332336_1402495592_6dd91f1c11201ac4c1efa1caf31560e9.jpg', 'extension': 'jpg'}, 1402495656: {'path': 'temp/1767674341_332336_1402495656_ebc52b4d0623b3050316e84f66cf46b4.jpg', 'extension': 'jpg'}, 1402495724: {'path': 'temp/1767674341_332336_1402495724_2bb9f71d7e03266b89ae059092a84d94.jpg', 'extension': 'jpg'}, 1402496160: {'path': 'temp/1767674341_332336_1402496160_f643eae40bae3e4a9b2a0ed2af287753.jpg', 'extension': 'jpg'}, 1402496207: {'path': 'temp/1767674341_332336_1402496207_816a32c3fc3b53a00126787de64ac4de.jpg', 'extension': 'jpg'}, 1402496214: {'path': 'temp/1767674341_332336_1402496214_77b39e7dfda021db843907d8bd72c7bd.jpg', 'extension': 'jpg'}, 1402496507: {'path': 'temp/1767674341_332336_1402496507_94dd5471768919ffa2683e5ee815780e.jpg', 'extension': 'jpg'}, 1402496532: {'path': 'temp/1767674341_332336_1402496532_ae25d46ced9126a849f0eb409af0f1f3.jpg', 'extension': 'jpg'}, 1402496559: {'path': 'temp/1767674341_332336_1402496559_ec60368ce5b63075d6bab9ce3b72ecff.jpg', 'extension': 'jpg'}, 1402496564: {'path': 'temp/1767674341_332336_1402496564_caa2643aae5a137bb0689c8495e173b2.jpg', 'extension': 'jpg'}, 1402497026: {'path': 'temp/1767674341_332336_1402497026_0bc303899168591b860c79b25c4366cb.jpg', 'extension': 'jpg'}, 1402497047: {'path': 'temp/1767674341_332336_1402497047_f64ebb745bf3582bfa593aef416241df.jpg', 'extension': 'jpg'}, 1402497068: {'path': 'temp/1767674341_332336_1402497068_ba6884d6aa2cd6f07cb840eadbb83d7d.jpg', 'extension': 'jpg'}, 1402497091: {'path': 'temp/1767674341_332336_1402497091_b7854b0500181eb3de3cbc6dc77fbbb6.jpg', 'extension': 'jpg'}, 1402497096: {'path': 'temp/1767674341_332336_1402497096_f65bd125974e38c87d34285f758cae7d.jpg', 'extension': 'jpg'}, 1402497132: {'path': 'temp/1767674341_332336_1402497132_b34cd3f6fbceb108bef79ec9e3b131fe.jpg', 'extension': 'jpg'}, 1402497135: {'path': 'temp/1767674341_332336_1402497135_8c33d86a67577d1068310f5e88668ca2.jpg', 'extension': 'jpg'}, 1402497138: {'path': 'temp/1767674341_332336_1402497138_5aade337e21f99eeb1da519c968c3aaf.jpg', 'extension': 'jpg'}, 1402497227: {'path': 'temp/1767674341_332336_1402497227_078ff9ae763ecd6b523bfacfa620a5dc.jpg', 'extension': 'jpg'}, 1402497247: {'path': 'temp/1767674341_332336_1402497247_86d2aa062699630414bdb4c9a86d4a63.jpg', 'extension': 'jpg'}, 1402497250: {'path': 'temp/1767674341_332336_1402497250_4b0cd287c7005cfc6f8e7d3c083565af.jpg', 'extension': 'jpg'}, 1402497253: {'path': 'temp/1767674341_332336_1402497253_99c0e6dd24b2c61fdc85e0ff7652a938.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 = 29949468; (('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 = 29949468 group by h (('08', 38),) 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=29949468 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 (29949468) 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 (29949468) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05012026 29949468 Nombre de photos uploadées : 38 / 23040 (0%) 05012026 29949468 Nombre de photos taguées (types de déchets): 0 / 38 (0%) 05012026 29949468 Nombre de photos taguées (volume) : 0 / 38 (0%) [{'photo_id': 1402495724, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/2bb9f71d7e03266b89ae059092a84d94.jpg', 'username': None, 'uploaded_at': 1767596467, 'text': 'image_05012026_08_00_04_010137m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402495656, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/ebc52b4d0623b3050316e84f66cf46b4.jpg', 'username': None, 'uploaded_at': 1767596467, 'text': 'image_05012026_08_00_15_010144m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402495592, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/6dd91f1c11201ac4c1efa1caf31560e9.jpg', 'username': None, 'uploaded_at': 1767596467, 'text': 'image_05012026_08_00_25_010138m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402495527, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/7434c546662e3937e1acb362c14ba36d.jpg', 'username': None, 'uploaded_at': 1767596467, 'text': 'image_05012026_08_00_34_009123m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ?????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0017104148864746094 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29949468, '2026-01-05' ) 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 = '2026-01-05' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2841756,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2610170841217041 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= 2841756 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29943959, 'dashboard_result_id': 19066481, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29943959_06-01-2026_05_34_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29943961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29943962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29943963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29943964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29943965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29943966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29943967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29943968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29943969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29943970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29943971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29943972, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29944115, 'dashboard_result_id': 19066482, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944115_06-01-2026_05_35_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944130, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29944510, 'dashboard_result_id': 19066483, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944510_06-01-2026_05_35_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944526, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29944916, 'dashboard_result_id': 19066484, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944916_06-01-2026_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944929, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944934, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29945305, 'dashboard_result_id': 19066485, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945305_06-01-2026_05_36_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945324, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29945724, 'dashboard_result_id': 19066486, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945724_06-01-2026_05_36_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945761, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29946229, 'dashboard_result_id': 19066487, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946229_06-01-2026_05_36_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946262, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946266, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29946669, 'dashboard_result_id': 19066488, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946669_06-01-2026_05_37_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946684, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29947066, 'dashboard_result_id': 19066489, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947066_06-01-2026_05_37_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29947107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947108, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947109, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29947777, 'dashboard_result_id': 19066490, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947777_06-01-2026_05_37_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29947829, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947840, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29948502, 'dashboard_result_id': 19066491, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29948502_06-01-2026_05_38_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29948513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29948514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29948515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29948516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29948517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29948518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29948519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29948520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29948521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29948522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29948523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29948524, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29949018, 'dashboard_result_id': 19066492, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949018_06-01-2026_05_38_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29949033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949044, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29949468, 'dashboard_result_id': 19066493, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949468_05-01-2026_08_19_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29949514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949519, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29950325, 'dashboard_result_id': 19066494, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950325_05-01-2026_08_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950357, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950358, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29950757, 'dashboard_result_id': 19066495, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950757_05-01-2026_08_47_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950834, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29951361, 'dashboard_result_id': 19066496, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29951361_05-01-2026_09_04_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29951375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29951376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29951377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29951378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29951379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29951380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29951381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29951382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29951383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29951384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29951385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29951386, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29952807, 'dashboard_result_id': 19066497, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29952807_05-01-2026_09_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29952813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29952814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29952815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29952816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29952817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29952818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29952819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29952820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29952821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29952822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29952823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29952824, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29953273, 'dashboard_result_id': 19066498, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953273_05-01-2026_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953290, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29953685, 'dashboard_result_id': 19066499, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953685_05-01-2026_10_23_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953712, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29954426, 'dashboard_result_id': 19066500, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954426_05-01-2026_10_42_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954443, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29954814, 'dashboard_result_id': 19066501, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954814_05-01-2026_10_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29954816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954827, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29954934, 'dashboard_result_id': 19066502, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954934_05-01-2026_11_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954992, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29955397, 'dashboard_result_id': 19066503, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29955397_05-01-2026_11_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29955446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29955447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29955448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29955449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29955450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29955451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29955452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29955453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29955454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29955455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29955456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29955457, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29956118, 'dashboard_result_id': 19066504, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956118_05-01-2026_11_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29956147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956155, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956158, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29956847, 'dashboard_result_id': 19066505, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956847_05-01-2026_11_47_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29956895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956897, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29957432, 'dashboard_result_id': 19066506, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29957432_05-01-2026_12_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29957495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29957496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29957497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29957499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29957500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29957501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29957503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29957504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29957506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29957507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29957508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29957510, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29958094, 'dashboard_result_id': 19066507, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29958094_05-01-2026_13_59_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29958136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29958137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29958138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29958139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29958140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29958141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29958142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29958143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29958144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29958145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29958146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29958147, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29960855, 'dashboard_result_id': 19066508, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960855_05-01-2026_14_33_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29960862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29960865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29960867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29960868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960869, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29960983, 'dashboard_result_id': 19066509, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960983_05-01-2026_14_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29960991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961002, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29961530, 'dashboard_result_id': 19066510, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29961530_05-01-2026_15_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29961563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29961564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29961566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29961567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29961568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29961569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29961570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29961571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29961573, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29962056, 'dashboard_result_id': 19066511, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962056_05-01-2026_15_19_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962074, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29962633, 'dashboard_result_id': 19066512, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962633_05-01-2026_15_33_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962683, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962685, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29963242, 'dashboard_result_id': 19066513, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963242_05-01-2026_15_47_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963251, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963262, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29963903, 'dashboard_result_id': 19066514, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963903_05-01-2026_16_04_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963974, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963976, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963982, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29964465, 'dashboard_result_id': 19066515, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29964465_05-01-2026_16_20_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29964498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29964499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29964500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29964501, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29964503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29964504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29964505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29964507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29964508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29964509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29964510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29964511, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29965338, 'dashboard_result_id': 19066516, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965338_05-01-2026_16_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965350, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29965354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965356, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29965614, 'dashboard_result_id': 19066517, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965614_05-01-2026_16_47_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29965632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965644, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29966302, 'dashboard_result_id': 19066518, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966302_05-01-2026_17_04_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966320, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29966600, 'dashboard_result_id': 19066519, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966600_05-01-2026_17_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966631, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29967529, 'dashboard_result_id': 19066520, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29967529_05-01-2026_18_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29967543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29967544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29967545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29967546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29967547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29967548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29967549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29967550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29967551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29967552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29967553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29967554, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29968800, 'dashboard_result_id': 19066521, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29968800_05-01-2026_18_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29968813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29968814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29968815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29968816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29968817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29968818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29968819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29968820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29968821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29968822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29968823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29968824, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29969245, 'dashboard_result_id': 19066522, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969245_05-01-2026_18_35_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29969260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969271, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29969805, 'dashboard_result_id': 19066523, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969805_05-01-2026_18_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29969813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969821, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29970253, 'dashboard_result_id': 19066524, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970253_05-01-2026_19_04_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970273, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970278, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29970794, 'dashboard_result_id': 19066525, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970794_05-01-2026_19_21_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970869, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29971778, 'dashboard_result_id': 19066526, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29971778_05-01-2026_19_35_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29971792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29971793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29971794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29971795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29971796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29971797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29971798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29971799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29971800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29971801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29971802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29971803, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29972238, 'dashboard_result_id': 19066527, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972238_05-01-2026_19_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29972274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972285, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29972838, 'dashboard_result_id': 19066528, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972838_05-01-2026_20_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29972885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972889, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29973318, 'dashboard_result_id': 19066529, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29973318_05-01-2026_20_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29973343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29973344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29973345, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29973346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29973347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29973348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29973349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29973350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29973351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29973352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29973353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29973354, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29974015, 'dashboard_result_id': 19066530, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974015_05-01-2026_20_35_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974063, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29974521, 'dashboard_result_id': 19066531, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974521_05-01-2026_20_43_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974554, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974557, '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 = 29943959 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4315807, 'mtr_portfolio_id': 29943959, 'created_at': datetime.datetime(2026, 1, 6, 5, 34, 28), 'result': '0.05384510005075696', 'result_long': None, 'result_double': None}] Qualite : 0.05384510005075696 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29943959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29943959_06-01-2026_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29943959 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29943959_06-01-2026_05_34_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29943961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29943962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29943963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29943964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29943965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29943966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29943967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29943968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29943969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29943970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29943971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29943972, 'pht': 3726}}" where mtr_portfolio_id = 29943959 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29943959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066481, 0.05384510005075696, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29943959_06-01-2026_05_34_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29943961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29943962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29943963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29943964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29943965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29943966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29943967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29943968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29943969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29943970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29943971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29943972, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29944115 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4315808, 'mtr_portfolio_id': 29944115, 'created_at': datetime.datetime(2026, 1, 6, 5, 35), 'result': '0.08150683530916315', 'result_long': None, 'result_double': None}] Qualite : 0.08150683530916315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29944115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944115_06-01-2026_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29944115 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944115_06-01-2026_05_35_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944130, 'pht': 3726}}" where mtr_portfolio_id = 29944115 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29944115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066482, 0.08150683530916315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944115_06-01-2026_05_35_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944130, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29944510 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4315809, 'mtr_portfolio_id': 29944510, 'created_at': datetime.datetime(2026, 1, 6, 5, 35, 32), 'result': '0.05130528826738411', 'result_long': None, 'result_double': None}] Qualite : 0.05130528826738411 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29944510 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944510_06-01-2026_05_35_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29944510 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944510_06-01-2026_05_35_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944526, 'pht': 3726}}" where mtr_portfolio_id = 29944510 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29944510 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066483, 0.05130528826738411, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944510_06-01-2026_05_35_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944526, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29944916 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4315810, 'mtr_portfolio_id': 29944916, 'created_at': datetime.datetime(2026, 1, 6, 5, 35, 28), 'result': '0.04668967344214251', 'result_long': None, 'result_double': None}] Qualite : 0.04668967344214251 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29944916 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944916_06-01-2026_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29944916 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944916_06-01-2026_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944929, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944934, 'pht': 3726}}" where mtr_portfolio_id = 29944916 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29944916 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066484, 0.04668967344214251, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944916_06-01-2026_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944929, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944934, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29945305 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4315811, 'mtr_portfolio_id': 29945305, 'created_at': datetime.datetime(2026, 1, 6, 5, 35, 58), 'result': '0.04671362569225794', 'result_long': None, 'result_double': None}] Qualite : 0.04671362569225794 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29945305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945305_06-01-2026_05_36_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29945305 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945305_06-01-2026_05_36_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945324, 'pht': 3726}}" where mtr_portfolio_id = 29945305 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29945305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066485, 0.04671362569225794, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945305_06-01-2026_05_36_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945324, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29945724 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4315812, 'mtr_portfolio_id': 29945724, 'created_at': datetime.datetime(2026, 1, 6, 5, 36, 9), 'result': '0.05275792643256549', 'result_long': None, 'result_double': None}] Qualite : 0.05275792643256549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29945724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945724_06-01-2026_05_36_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29945724 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945724_06-01-2026_05_36_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945761, 'pht': 3726}}" where mtr_portfolio_id = 29945724 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29945724 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066486, 0.05275792643256549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945724_06-01-2026_05_36_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945761, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29946229 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4315813, 'mtr_portfolio_id': 29946229, 'created_at': datetime.datetime(2026, 1, 6, 5, 36, 29), 'result': '0.04034878339349899', 'result_long': None, 'result_double': None}] Qualite : 0.04034878339349899 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29946229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946229_06-01-2026_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29946229 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946229_06-01-2026_05_36_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946262, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946266, 'pht': 3726}}" where mtr_portfolio_id = 29946229 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29946229 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066487, 0.04034878339349899, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946229_06-01-2026_05_36_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946262, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946266, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29946669 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4315814, 'mtr_portfolio_id': 29946669, 'created_at': datetime.datetime(2026, 1, 6, 5, 37), 'result': '0.04519646117634525', 'result_long': None, 'result_double': None}] Qualite : 0.04519646117634525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29946669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946669_06-01-2026_05_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29946669 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946669_06-01-2026_05_37_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946684, 'pht': 3726}}" where mtr_portfolio_id = 29946669 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29946669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066488, 0.04519646117634525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946669_06-01-2026_05_37_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946684, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29947066 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4315815, 'mtr_portfolio_id': 29947066, 'created_at': datetime.datetime(2026, 1, 6, 5, 37, 29), 'result': '0.0534366524318118', 'result_long': None, 'result_double': None}] Qualite : 0.0534366524318118 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29947066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947066_06-01-2026_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29947066 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947066_06-01-2026_05_37_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29947107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947108, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947109, 'pht': 3726}}" where mtr_portfolio_id = 29947066 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29947066 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066489, 0.0534366524318118, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947066_06-01-2026_05_37_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29947107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947108, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947109, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29947777 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4315816, 'mtr_portfolio_id': 29947777, 'created_at': datetime.datetime(2026, 1, 6, 5, 37, 28), 'result': '0.04800383315397186', 'result_long': None, 'result_double': None}] Qualite : 0.04800383315397186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29947777 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947777_06-01-2026_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29947777 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947777_06-01-2026_05_37_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29947829, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947840, 'pht': 3726}}" where mtr_portfolio_id = 29947777 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29947777 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066490, 0.04800383315397186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947777_06-01-2026_05_37_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29947829, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947840, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29948502 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4315817, 'mtr_portfolio_id': 29948502, 'created_at': datetime.datetime(2026, 1, 6, 5, 37, 58), 'result': '0.05423616625209125', 'result_long': None, 'result_double': None}] Qualite : 0.05423616625209125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29948502 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29948502_06-01-2026_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29948502 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29948502_06-01-2026_05_38_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29948513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29948514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29948515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29948516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29948517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29948518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29948519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29948520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29948521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29948522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29948523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29948524, 'pht': 3726}}" where mtr_portfolio_id = 29948502 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29948502 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066491, 0.05423616625209125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29948502_06-01-2026_05_38_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29948513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29948514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29948515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29948516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29948517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29948518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29948519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29948520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29948521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29948522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29948523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29948524, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29949018 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4315818, 'mtr_portfolio_id': 29949018, 'created_at': datetime.datetime(2026, 1, 6, 5, 38, 28), 'result': '0.06802769818071434', 'result_long': None, 'result_double': None}] Qualite : 0.06802769818071434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29949018 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949018_06-01-2026_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29949018 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949018_06-01-2026_05_38_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29949033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949044, 'pht': 3726}}" where mtr_portfolio_id = 29949018 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29949018 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066492, 0.06802769818071434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949018_06-01-2026_05_38_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29949033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949044, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29949468 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4315819, 'mtr_portfolio_id': 29949468, 'created_at': datetime.datetime(2026, 1, 6, 5, 39, 1), 'result': '0.08178755018139013', 'result_long': None, 'result_double': None}] Qualite : 0.08178755018139013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29949468 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949468_06-01-2026_05_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29949468 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949468_06-01-2026_05_39_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29949514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949519, 'pht': 3726}}" where mtr_portfolio_id = 29949468 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29949468 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066493, 0.08178755018139013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949468_06-01-2026_05_39_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29949514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949519, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29950325 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4311331, 'mtr_portfolio_id': 29950325, 'created_at': datetime.datetime(2026, 1, 5, 8, 33), 'result': '0.04653106942541076', 'result_long': None, 'result_double': None}] Qualite : 0.04653106942541076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29950325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950325_05-01-2026_08_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29950325 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950325_05-01-2026_08_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950357, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950358, 'pht': 3726}}" where mtr_portfolio_id = 29950325 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29950325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066494, 0.04653106942541076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950325_05-01-2026_08_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950357, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950358, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29950757 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4311392, 'mtr_portfolio_id': 29950757, 'created_at': datetime.datetime(2026, 1, 5, 8, 47, 1), 'result': '0.043373108390970305', 'result_long': None, 'result_double': None}] Qualite : 0.043373108390970305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29950757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950757_05-01-2026_08_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29950757 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950757_05-01-2026_08_47_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950834, 'pht': 3726}}" where mtr_portfolio_id = 29950757 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29950757 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066495, 0.043373108390970305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950757_05-01-2026_08_47_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950834, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29951361 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4311457, 'mtr_portfolio_id': 29951361, 'created_at': datetime.datetime(2026, 1, 5, 9, 4, 58), 'result': '0.0386307863035533', 'result_long': None, 'result_double': None}] Qualite : 0.0386307863035533 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29951361 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29951361_05-01-2026_09_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29951361 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29951361_05-01-2026_09_04_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29951375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29951376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29951377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29951378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29951379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29951380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29951381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29951382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29951383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29951384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29951385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29951386, 'pht': 3726}}" where mtr_portfolio_id = 29951361 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29951361 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066496, 0.0386307863035533, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29951361_05-01-2026_09_04_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29951375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29951376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29951377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29951378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29951379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29951380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29951381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29951382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29951383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29951384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29951385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29951386, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29952807 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4311658, 'mtr_portfolio_id': 29952807, 'created_at': datetime.datetime(2026, 1, 5, 9, 48, 58), 'result': '0.06468573672836482', 'result_long': None, 'result_double': None}] Qualite : 0.06468573672836482 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29952807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29952807_05-01-2026_09_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29952807 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29952807_05-01-2026_09_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29952813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29952814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29952815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29952816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29952817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29952818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29952819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29952820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29952821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29952822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29952823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29952824, 'pht': 3726}}" where mtr_portfolio_id = 29952807 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29952807 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066497, 0.06468573672836482, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29952807_05-01-2026_09_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29952813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29952814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29952815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29952816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29952817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29952818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29952819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29952820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29952821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29952822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29952823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29952824, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29953273 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4311724, 'mtr_portfolio_id': 29953273, 'created_at': datetime.datetime(2026, 1, 5, 10, 2, 59), 'result': '0.07982134297555156', 'result_long': None, 'result_double': None}] Qualite : 0.07982134297555156 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29953273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953273_05-01-2026_10_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29953273 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953273_05-01-2026_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953290, 'pht': 3726}}" where mtr_portfolio_id = 29953273 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29953273 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066498, 0.07982134297555156, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953273_05-01-2026_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953290, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29953685 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4311809, 'mtr_portfolio_id': 29953685, 'created_at': datetime.datetime(2026, 1, 5, 10, 23, 30), 'result': '0.05405124228547581', 'result_long': None, 'result_double': None}] Qualite : 0.05405124228547581 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29953685 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953685_05-01-2026_10_23_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29953685 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953685_05-01-2026_10_23_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953712, 'pht': 3726}}" where mtr_portfolio_id = 29953685 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29953685 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066499, 0.05405124228547581, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953685_05-01-2026_10_23_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953712, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29954426 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4311901, 'mtr_portfolio_id': 29954426, 'created_at': datetime.datetime(2026, 1, 5, 10, 42, 58), 'result': '0.01918446194793869', 'result_long': None, 'result_double': None}] Qualite : 0.01918446194793869 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29954426 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954426_05-01-2026_10_42_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29954426 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954426_05-01-2026_10_42_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954443, 'pht': 3726}}" where mtr_portfolio_id = 29954426 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29954426 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066500, 0.01918446194793869, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954426_05-01-2026_10_42_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954443, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29954814 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4311955, 'mtr_portfolio_id': 29954814, 'created_at': datetime.datetime(2026, 1, 5, 10, 49), 'result': '0.09890785260505598', 'result_long': None, 'result_double': None}] Qualite : 0.09890785260505598 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29954814 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954814_05-01-2026_10_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29954814 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954814_05-01-2026_10_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29954816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954827, 'pht': 3726}}" where mtr_portfolio_id = 29954814 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29954814 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066501, 0.09890785260505598, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954814_05-01-2026_10_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29954816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954827, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29954934 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4311967, 'mtr_portfolio_id': 29954934, 'created_at': datetime.datetime(2026, 1, 5, 11, 4, 59), 'result': '0.05168220414843044', 'result_long': None, 'result_double': None}] Qualite : 0.05168220414843044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29954934 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954934_05-01-2026_11_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29954934 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954934_05-01-2026_11_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954992, 'pht': 3726}}" where mtr_portfolio_id = 29954934 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29954934 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066502, 0.05168220414843044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954934_05-01-2026_11_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954992, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29955397 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4312044, 'mtr_portfolio_id': 29955397, 'created_at': datetime.datetime(2026, 1, 5, 11, 19), 'result': '0.04133004570797239', 'result_long': None, 'result_double': None}] Qualite : 0.04133004570797239 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29955397 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29955397_05-01-2026_11_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29955397 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29955397_05-01-2026_11_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29955446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29955447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29955448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29955449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29955450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29955451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29955452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29955453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29955454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29955455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29955456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29955457, 'pht': 3726}}" where mtr_portfolio_id = 29955397 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29955397 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066503, 0.04133004570797239, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29955397_05-01-2026_11_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29955446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29955447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29955448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29955449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29955450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29955451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29955452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29955453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29955454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29955455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29955456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29955457, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29956118 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4312149, 'mtr_portfolio_id': 29956118, 'created_at': datetime.datetime(2026, 1, 5, 11, 33), 'result': '0.05365704149694868', 'result_long': None, 'result_double': None}] Qualite : 0.05365704149694868 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29956118 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956118_05-01-2026_11_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29956118 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956118_05-01-2026_11_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29956147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956155, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956158, 'pht': 3726}}" where mtr_portfolio_id = 29956118 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29956118 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066504, 0.05365704149694868, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956118_05-01-2026_11_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29956147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956155, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956158, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29956847 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4312228, 'mtr_portfolio_id': 29956847, 'created_at': datetime.datetime(2026, 1, 5, 11, 47), 'result': '0.07127038646889426', 'result_long': None, 'result_double': None}] Qualite : 0.07127038646889426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29956847 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956847_05-01-2026_11_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29956847 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956847_05-01-2026_11_47_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29956895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956897, 'pht': 3726}}" where mtr_portfolio_id = 29956847 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29956847 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066505, 0.07127038646889426, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956847_05-01-2026_11_47_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29956895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956897, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29957432 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4312315, 'mtr_portfolio_id': 29957432, 'created_at': datetime.datetime(2026, 1, 5, 12, 4, 59), 'result': '0.05982975275156936', 'result_long': None, 'result_double': None}] Qualite : 0.05982975275156936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29957432 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29957432_05-01-2026_12_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29957432 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29957432_05-01-2026_12_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29957495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29957496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29957497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29957499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29957500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29957501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29957503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29957504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29957506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29957507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29957508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29957510, 'pht': 3726}}" where mtr_portfolio_id = 29957432 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29957432 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066506, 0.05982975275156936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29957432_05-01-2026_12_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29957495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29957496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29957497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29957499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29957500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29957501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29957503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29957504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29957506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29957507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29957508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29957510, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29958094 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4312417, 'mtr_portfolio_id': 29958094, 'created_at': datetime.datetime(2026, 1, 5, 13, 59, 59), 'result': '0.04262591151383469', 'result_long': None, 'result_double': None}] Qualite : 0.04262591151383469 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29958094 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29958094_05-01-2026_13_59_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29958094 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29958094_05-01-2026_13_59_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29958136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29958137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29958138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29958139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29958140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29958141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29958142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29958143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29958144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29958145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29958146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29958147, 'pht': 3726}}" where mtr_portfolio_id = 29958094 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29958094 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066507, 0.04262591151383469, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29958094_05-01-2026_13_59_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29958136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29958137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29958138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29958139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29958140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29958141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29958142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29958143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29958144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29958145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29958146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29958147, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29960855 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4312828, 'mtr_portfolio_id': 29960855, 'created_at': datetime.datetime(2026, 1, 5, 14, 33, 31), 'result': '0.030757062596739368', 'result_long': None, 'result_double': None}] Qualite : 0.030757062596739368 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29960855 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960855_05-01-2026_14_33_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29960855 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960855_05-01-2026_14_33_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29960862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29960865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29960867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29960868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960869, 'pht': 3726}}" where mtr_portfolio_id = 29960855 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29960855 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066508, 0.030757062596739368, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960855_05-01-2026_14_33_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29960862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29960865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29960867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29960868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960869, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29960983 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4312848, 'mtr_portfolio_id': 29960983, 'created_at': datetime.datetime(2026, 1, 5, 14, 48, 59), 'result': '0.04244303511780725', 'result_long': None, 'result_double': None}] Qualite : 0.04244303511780725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29960983 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960983_05-01-2026_14_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29960983 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960983_05-01-2026_14_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29960991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961002, 'pht': 3726}}" where mtr_portfolio_id = 29960983 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29960983 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066509, 0.04244303511780725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960983_05-01-2026_14_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29960991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961002, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29961530 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4312905, 'mtr_portfolio_id': 29961530, 'created_at': datetime.datetime(2026, 1, 5, 15, 2, 57), 'result': '0.05295398452168998', 'result_long': None, 'result_double': None}] Qualite : 0.05295398452168998 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29961530 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29961530_05-01-2026_15_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29961530 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29961530_05-01-2026_15_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29961563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29961564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29961566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29961567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29961568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29961569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29961570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29961571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29961573, 'pht': 3726}}" where mtr_portfolio_id = 29961530 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29961530 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066510, 0.05295398452168998, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29961530_05-01-2026_15_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29961563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29961564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29961566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29961567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29961568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29961569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29961570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29961571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29961573, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29962056 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4312997, 'mtr_portfolio_id': 29962056, 'created_at': datetime.datetime(2026, 1, 5, 15, 19, 1), 'result': '0.047886006302563455', 'result_long': None, 'result_double': None}] Qualite : 0.047886006302563455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29962056 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962056_05-01-2026_15_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29962056 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962056_05-01-2026_15_19_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962074, 'pht': 3726}}" where mtr_portfolio_id = 29962056 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29962056 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066511, 0.047886006302563455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962056_05-01-2026_15_19_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962074, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29962633 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4313071, 'mtr_portfolio_id': 29962633, 'created_at': datetime.datetime(2026, 1, 5, 15, 33, 28), 'result': '0.07801896453803274', 'result_long': None, 'result_double': None}] Qualite : 0.07801896453803274 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29962633 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962633_05-01-2026_15_33_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29962633 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962633_05-01-2026_15_33_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962683, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962685, 'pht': 3726}}" where mtr_portfolio_id = 29962633 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29962633 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066512, 0.07801896453803274, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962633_05-01-2026_15_33_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962683, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962685, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29963242 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4313183, 'mtr_portfolio_id': 29963242, 'created_at': datetime.datetime(2026, 1, 5, 15, 47), 'result': '0.038629008989771285', 'result_long': None, 'result_double': None}] Qualite : 0.038629008989771285 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29963242 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963242_05-01-2026_15_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29963242 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963242_05-01-2026_15_47_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963251, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963262, 'pht': 3726}}" where mtr_portfolio_id = 29963242 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29963242 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066513, 0.038629008989771285, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963242_05-01-2026_15_47_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963251, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963262, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29963903 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4313288, 'mtr_portfolio_id': 29963903, 'created_at': datetime.datetime(2026, 1, 5, 16, 4, 58), 'result': '0.042139324199180435', 'result_long': None, 'result_double': None}] Qualite : 0.042139324199180435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29963903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963903_05-01-2026_16_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29963903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963903_05-01-2026_16_04_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963974, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963976, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963982, 'pht': 3726}}" where mtr_portfolio_id = 29963903 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29963903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066514, 0.042139324199180435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963903_05-01-2026_16_04_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963974, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963976, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963982, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29964465 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4313357, 'mtr_portfolio_id': 29964465, 'created_at': datetime.datetime(2026, 1, 5, 16, 20, 59), 'result': '0.0313593482758096', 'result_long': None, 'result_double': None}] Qualite : 0.0313593482758096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29964465 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29964465_05-01-2026_16_20_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29964465 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29964465_05-01-2026_16_20_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29964498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29964499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29964500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29964501, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29964503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29964504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29964505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29964507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29964508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29964509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29964510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29964511, 'pht': 3726}}" where mtr_portfolio_id = 29964465 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29964465 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066515, 0.0313593482758096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29964465_05-01-2026_16_20_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29964498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29964499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29964500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29964501, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29964503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29964504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29964505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29964507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29964508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29964509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29964510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29964511, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29965338 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4313447, 'mtr_portfolio_id': 29965338, 'created_at': datetime.datetime(2026, 1, 5, 16, 33), 'result': '0.028700200112077474', 'result_long': None, 'result_double': None}] Qualite : 0.028700200112077474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29965338 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965338_05-01-2026_16_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29965338 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965338_05-01-2026_16_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965350, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29965354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965356, 'pht': 3726}}" where mtr_portfolio_id = 29965338 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29965338 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066516, 0.028700200112077474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965338_05-01-2026_16_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965350, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29965354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965356, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29965614 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4313481, 'mtr_portfolio_id': 29965614, 'created_at': datetime.datetime(2026, 1, 5, 16, 46, 59), 'result': '0.056224880897965984', 'result_long': None, 'result_double': None}] Qualite : 0.056224880897965984 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29965614 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965614_05-01-2026_16_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29965614 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965614_05-01-2026_16_47_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29965632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965644, 'pht': 3726}}" where mtr_portfolio_id = 29965614 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29965614 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066517, 0.056224880897965984, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965614_05-01-2026_16_47_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29965632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965644, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29966302 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4313590, 'mtr_portfolio_id': 29966302, 'created_at': datetime.datetime(2026, 1, 5, 17, 4, 57), 'result': '0.04261782288135194', 'result_long': None, 'result_double': None}] Qualite : 0.04261782288135194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29966302 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966302_05-01-2026_17_04_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29966302 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966302_05-01-2026_17_04_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966320, 'pht': 3726}}" where mtr_portfolio_id = 29966302 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29966302 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066518, 0.04261782288135194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966302_05-01-2026_17_04_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966320, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29966600 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4313658, 'mtr_portfolio_id': 29966600, 'created_at': datetime.datetime(2026, 1, 5, 17, 18, 59), 'result': '0.05678738688889863', 'result_long': None, 'result_double': None}] Qualite : 0.05678738688889863 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29966600 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966600_05-01-2026_17_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29966600 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966600_05-01-2026_17_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966631, 'pht': 3726}}" where mtr_portfolio_id = 29966600 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29966600 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066519, 0.05678738688889863, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966600_05-01-2026_17_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966631, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29967529 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4313749, 'mtr_portfolio_id': 29967529, 'created_at': datetime.datetime(2026, 1, 5, 18, 2, 59), 'result': '0.05107611619208426', 'result_long': None, 'result_double': None}] Qualite : 0.05107611619208426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29967529 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29967529_05-01-2026_18_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29967529 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29967529_05-01-2026_18_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29967543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29967544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29967545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29967546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29967547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29967548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29967549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29967550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29967551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29967552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29967553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29967554, 'pht': 3726}}" where mtr_portfolio_id = 29967529 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29967529 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066520, 0.05107611619208426, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29967529_05-01-2026_18_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29967543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29967544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29967545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29967546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29967547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29967548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29967549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29967550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29967551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29967552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29967553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29967554, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29968800 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4313934, 'mtr_portfolio_id': 29968800, 'created_at': datetime.datetime(2026, 1, 5, 18, 18, 59), 'result': '0.040104352059711634', 'result_long': None, 'result_double': None}] Qualite : 0.040104352059711634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29968800 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29968800_05-01-2026_18_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29968800 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29968800_05-01-2026_18_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29968813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29968814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29968815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29968816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29968817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29968818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29968819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29968820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29968821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29968822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29968823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29968824, 'pht': 3726}}" where mtr_portfolio_id = 29968800 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29968800 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066521, 0.040104352059711634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29968800_05-01-2026_18_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29968813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29968814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29968815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29968816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29968817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29968818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29968819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29968820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29968821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29968822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29968823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29968824, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29969245 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4313983, 'mtr_portfolio_id': 29969245, 'created_at': datetime.datetime(2026, 1, 5, 18, 35, 31), 'result': '0.04345417299819999', 'result_long': None, 'result_double': None}] Qualite : 0.04345417299819999 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29969245 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969245_05-01-2026_18_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29969245 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969245_05-01-2026_18_35_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29969260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969271, 'pht': 3726}}" where mtr_portfolio_id = 29969245 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29969245 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066522, 0.04345417299819999, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969245_05-01-2026_18_35_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29969260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969271, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29969805 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4314062, 'mtr_portfolio_id': 29969805, 'created_at': datetime.datetime(2026, 1, 5, 18, 48, 58), 'result': '0.054164265602348854', 'result_long': None, 'result_double': None}] Qualite : 0.054164265602348854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29969805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969805_05-01-2026_18_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29969805 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969805_05-01-2026_18_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29969813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969821, 'pht': 3726}}" where mtr_portfolio_id = 29969805 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29969805 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066523, 0.054164265602348854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969805_05-01-2026_18_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29969813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969821, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29970253 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4314126, 'mtr_portfolio_id': 29970253, 'created_at': datetime.datetime(2026, 1, 5, 19, 4, 32), 'result': '0.06883433269304322', 'result_long': None, 'result_double': None}] Qualite : 0.06883433269304322 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29970253 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970253_05-01-2026_19_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29970253 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970253_05-01-2026_19_04_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970273, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970278, 'pht': 3726}}" where mtr_portfolio_id = 29970253 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29970253 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066524, 0.06883433269304322, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970253_05-01-2026_19_04_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970273, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970278, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29970794 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4314225, 'mtr_portfolio_id': 29970794, 'created_at': datetime.datetime(2026, 1, 5, 19, 21), 'result': '0.049395863605624785', 'result_long': None, 'result_double': None}] Qualite : 0.049395863605624785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29970794 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970794_05-01-2026_19_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29970794 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970794_05-01-2026_19_21_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970869, 'pht': 3726}}" where mtr_portfolio_id = 29970794 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29970794 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066525, 0.049395863605624785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970794_05-01-2026_19_21_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970869, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29971778 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4314331, 'mtr_portfolio_id': 29971778, 'created_at': datetime.datetime(2026, 1, 5, 19, 35, 1), 'result': '0.07742001470540334', 'result_long': None, 'result_double': None}] Qualite : 0.07742001470540334 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29971778 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29971778_05-01-2026_19_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29971778 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29971778_05-01-2026_19_35_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29971792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29971793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29971794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29971795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29971796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29971797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29971798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29971799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29971800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29971801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29971802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29971803, 'pht': 3726}}" where mtr_portfolio_id = 29971778 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29971778 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066526, 0.07742001470540334, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29971778_05-01-2026_19_35_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29971792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29971793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29971794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29971795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29971796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29971797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29971798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29971799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29971800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29971801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29971802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29971803, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29972238 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4314390, 'mtr_portfolio_id': 29972238, 'created_at': datetime.datetime(2026, 1, 5, 19, 48, 58), 'result': '0.05431054080522053', 'result_long': None, 'result_double': None}] Qualite : 0.05431054080522053 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29972238 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972238_05-01-2026_19_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29972238 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972238_05-01-2026_19_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29972274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972285, 'pht': 3726}}" where mtr_portfolio_id = 29972238 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29972238 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066527, 0.05431054080522053, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972238_05-01-2026_19_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29972274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972285, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29972838 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4314475, 'mtr_portfolio_id': 29972838, 'created_at': datetime.datetime(2026, 1, 5, 20, 3, 1), 'result': '0.0943261041865002', 'result_long': None, 'result_double': None}] Qualite : 0.0943261041865002 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29972838 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972838_05-01-2026_20_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29972838 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972838_05-01-2026_20_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29972885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972889, 'pht': 3726}}" where mtr_portfolio_id = 29972838 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29972838 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066528, 0.0943261041865002, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972838_05-01-2026_20_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29972885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972889, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29973318 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4314580, 'mtr_portfolio_id': 29973318, 'created_at': datetime.datetime(2026, 1, 5, 20, 18, 58), 'result': '0.08693156689325693', 'result_long': None, 'result_double': None}] Qualite : 0.08693156689325693 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29973318 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29973318_05-01-2026_20_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29973318 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29973318_05-01-2026_20_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29973343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29973344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29973345, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29973346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29973347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29973348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29973349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29973350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29973351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29973352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29973353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29973354, 'pht': 3726}}" where mtr_portfolio_id = 29973318 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29973318 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066529, 0.08693156689325693, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29973318_05-01-2026_20_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29973343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29973344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29973345, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29973346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29973347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29973348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29973349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29973350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29973351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29973352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29973353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29973354, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29974015 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4314664, 'mtr_portfolio_id': 29974015, 'created_at': datetime.datetime(2026, 1, 5, 20, 35, 1), 'result': '0.06277445335624905', 'result_long': None, 'result_double': None}] Qualite : 0.06277445335624905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29974015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974015_05-01-2026_20_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29974015 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974015_05-01-2026_20_35_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974063, 'pht': 3726}}" where mtr_portfolio_id = 29974015 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29974015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066530, 0.06277445335624905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974015_05-01-2026_20_35_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974063, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29974521 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4314726, 'mtr_portfolio_id': 29974521, 'created_at': datetime.datetime(2026, 1, 5, 20, 43), 'result': '0.05910077247593011', 'result_long': None, 'result_double': None}] Qualite : 0.05910077247593011 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29974521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974521_05-01-2026_20_43_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29974521 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974521_05-01-2026_20_43_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974554, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974557, 'pht': 3726}}" where mtr_portfolio_id = 29974521 and dashboard_run_id = 2854788 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29974521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066531, 0.05910077247593011, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974521_05-01-2026_20_43_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974554, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974557, '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 (29943959,29944115,29944510,29944916,29945305,29945724,29946229,29946669,29947066,29947777,29948502,29949018,29949468,29950325,29950757,29951361,29952807,29953273,29953685,29954426,29954814,29954934,29955397,29956118,29956847,29957432,29958094,29960855,29960983,29961530,29962056,29962633,29963242,29963903,29964465,29965338,29965614,29966302,29966600,29967529,29968800,29969245,29969805,29970253,29970794,29971778,29972238,29972838,29973318,29974015,29974521) result : ((1402485317,), (1402485350,), (1402485356,), (1402485358,), (1402485360,), (1402485365,), (1402485367,), (1402485369,), (1402485379,), (1402485381,), (1402485383,), (1402485385,), (1402485387,), (1402485393,), (1402485395,), (1402485397,), (1402485398,), (1402485400,), (1402485403,), (1402485407,), (1402485410,), (1402485411,), (1402485415,), (1402485417,), (1402485418,), (1402485426,), (1402485445,), (1402485448,), (1402485451,), (1402485453,), (1402485457,), (1402485459,), (1402485461,), (1402485463,), (1402485480,), (1402485476,), (1402485478,), (1402485487,), (1402485490,), (1402485493,), (1402485496,), (1402485515,), (1402485516,), (1402485524,), (1402485525,), (1402485527,), (1402485529,), (1402485531,), (1402485552,), (1402485554,), (1402485556,), (1402485558,), (1402485560,), (1402485564,), (1402485566,), (1402485568,), (1402485570,), (1402485572,), (1402485585,), (1402485588,), (1402485590,), (1402485592,), (1402485607,), (1402485610,), (1402485612,), (1402485615,), (1402485618,), (1402485670,), (1402485673,), (1402485676,), (1402485679,), (1402485682,), (1402485691,), (1402485693,), (1402485695,), (1402485718,), (1402485721,), (1402485723,), (1402485725,), (1402485727,), (1402485729,), (1402485732,), (1402485734,), (1402485738,), (1402485740,), (1402485744,), (1402485746,), (1402485783,), (1402485785,), (1402485787,), (1402485866,), (1402485854,), (1402485855,), (1402485858,), (1402485861,), (1402485863,), (1402485893,), (1402485894,), (1402485909,), (1402485916,), (1402485941,), (1402485944,), (1402485946,), (1402485948,), (1402485965,), (1402485967,), (1402485969,), (1402485972,), (1402485975,), (1402485979,), (1402485981,), (1402485984,), (1402485986,), (1402485989,), (1402485991,), (1402486010,), (1402486012,), (1402486014,), (1402486017,), (1402486028,), (1402486030,), (1402486032,), (1402486035,), (1402486037,), (1402486050,), (1402486051,), (1402486053,), (1402486055,), (1402486058,), (1402486061,), (1402486065,), (1402486066,), (1402486068,), (1402486070,), (1402486094,), (1402486096,), (1402486105,), (1402486107,), (1402486110,), (1402486113,), (1402486115,), (1402486143,), (1402486151,), (1402486154,), (1402486157,), (1402486164,), (1402486165,), (1402486167,), (1402486170,), (1402486187,), (1402486189,), (1402486190,), (1402486193,), (1402486201,), (1402486204,), (1402486206,), (1402486209,), (1402486212,), (1402486253,), (1402486241,), (1402486243,), (1402486246,), (1402486249,), (1402486251,), (1402486256,), (1402486257,), (1402486259,), (1402486287,), (1402486290,), (1402486292,), (1402486294,), (1402486296,), (1402486303,), (1402486304,), (1402486306,), (1402486308,), (1402486310,), (1402486312,), (1402486321,), (1402486323,), (1402486325,), (1402486326,), (1402486332,), (1402486334,), (1402486336,), (1402486359,), (1402486362,), (1402486364,), (1402486366,), (1402486371,), (1402486373,), (1402486375,), (1402486377,), (1402486397,), (1402486404,), (1402486412,), (1402486418,), (1402486430,), (1402486431,), (1402486434,), (1402486447,), (1402486449,), (1402486452,), (1402486459,), (1402486461,), (1402486463,), (1402486465,), (1402486467,), (1402486586,), (1402486619,), (1402486652,), (1402486685,), (1402487074,), (1402487110,), (1402487149,), (1402487181,), (1402487582,), (1402487511,), (1402487547,), (1402488017,), (1402488055,), (1402488067,), (1402488069,), (1402488072,), (1402488241,), (1402488247,), (1402488249,), (1402488269,), (1402488351,), (1402488352,), (1402488354,), (1402488375,), (1402488377,), (1402488379,), (1402488382,), (1402488387,), (1402488411,), (1402488413,), (1402488415,), (1402488418,), (1402488430,), (1402488432,), (1402488434,), (1402488437,), (1402488441,), (1402488458,), (1402488460,), (1402488462,), (1402488465,), (1402488469,), (1402488490,), (1402488491,), (1402488493,), (1402488516,), (1402488522,), (1402488524,), (1402488527,), (1402488531,), (1402488540,), (1402488542,), (1402488544,), (1402488547,), (1402488551,), (1402488562,), (1402488564,), (1402488566,), (1402488568,), (1402488590,), (1402488591,), (1402488592,), (1402488593,), (1402488597,), (1402488627,), (1402488629,), (1402488632,), (1402488634,), (1402488637,), (1402488640,), (1402488653,), (1402488655,), (1402488658,), (1402488695,), (1402488688,), (1402488690,), (1402488692,), (1402488713,), (1402488715,), (1402488717,), (1402488720,), (1402488725,), (1402488742,), (1402488744,), (1402488746,), (1402488761,), (1402488763,), (1402488765,), (1402488799,), (1402488801,), (1402488803,), (1402488806,), (1402488825,), (1402488826,), (1402488829,), (1402488832,), (1402488860,), (1402488865,), (1402488866,), (1402488868,), (1402488883,), (1402488884,), (1402488896,), (1402488898,), (1402488900,), (1402488903,), (1402488906,), (1402488930,), (1402488931,), (1402488933,), (1402488936,), (1402488940,), (1402488961,), (1402488963,), (1402488965,), (1402488980,), (1402488981,), (1402488983,), (1402489011,), (1402489013,), (1402489016,), (1402489018,), (1402489022,), (1402489031,), (1402489033,), (1402489035,), (1402489037,), (1402489040,), (1402489064,), (1402489066,), (1402489068,), (1402489071,), (1402489075,), (1402489078,), (1402489098,), (1402489095,), (1402489096,), (1402489130,), (1402489132,), (1402489134,), (1402489137,), (1402489160,), (1402489164,), (1402489168,), (1402489192,), (1402489196,), (1402489200,), (1402489205,), (1402489209,), (1402489215,), (1402489217,), (1402489219,), (1402489222,), (1402489236,), (1402489238,), (1402489241,), (1402489274,), (1402489276,), (1402489278,), (1402489281,), (1402489284,), (1402489297,), (1402489299,), (1402489301,), (1402489304,), (1402489316,), (1402489318,), (1402489320,), (1402489323,), (1402489344,), (1402489346,), (1402489349,), (1402489372,), (1402489373,), (1402489376,), (1402489380,), (1402489383,), (1402489385,), (1402489407,), (1402489409,), (1402489411,), (1402489414,), (1402489433,), (1402489434,), (1402489436,), (1402489440,), (1402489472,), (1402489474,), (1402489475,), (1402489492,), (1402489493,), (1402489497,), (1402489499,), (1402489537,), (1402489531,), (1402489554,), (1402489557,), (1402489561,), (1402489565,), (1402489569,), (1402489572,), (1402489581,), (1402489585,), (1402489589,), (1402489593,), (1402489607,), (1402489609,), (1402489611,), (1402489635,), (1402489637,), (1402489640,), (1402489643,), (1402489646,), (1402489656,), (1402489658,), (1402489660,), (1402489664,), (1402489666,), (1402489698,), (1402489701,), (1402489704,), (1402489707,), (1402489710,), (1402489720,), (1402489722,), (1402489724,), (1402489747,), (1402489748,), (1402489750,), (1402489753,), (1402489756,), (1402489778,), (1402489780,), (1402489782,), (1402489785,), (1402489812,), (1402489814,), (1402489816,), (1402489830,), (1402489833,), (1402489834,), (1402489837,), (1402489841,), (1402489856,), (1402489858,), (1402489861,), (1402489864,), (1402489867,), (1402489869,), (1402489889,), (1402489893,), (1402489897,), (1402489899,), (1402489905,), (1402490102,), (1402490169,), (1402490237,), (1402491055,), (1402491844,), (1402491861,), (1402491867,), (1402491038,), (1402491044,), (1402491052,), (1402491053,), (1402491054,), (1402491319,), (1402491493,), (1402491605,), (1402491637,), (1402491668,), (1402491669,), (1402491876,), (1402491879,), (1402491882,), (1402491885,), (1402491888,), (1402491908,), (1402491910,), (1402491913,), (1402491916,), (1402491999,), (1402492001,), (1402492004,), (1402492085,), (1402492093,), (1402492100,), (1402492103,), (1402492126,), (1402492130,), (1402492140,), (1402492158,), (1402492181,), (1402492184,), (1402492186,), (1402492276,), (1402492278,), (1402492280,), (1402492283,), (1402492290,), (1402492317,), (1402492320,), (1402492322,), (1402492324,), (1402492328,), (1402492344,), (1402492345,), (1402492346,), (1402492535,), (1402492544,), (1402492558,), (1402492561,), (1402492572,), (1402492613,), (1402492615,), (1402492618,), (1402492620,), (1402492623,), (1402492671,), (1402492672,), (1402492676,), (1402492679,), (1402492806,), (1402492812,), (1402492823,), (1402492829,), (1402492874,), (1402492865,), (1402492867,), (1402492871,), (1402493029,), (1402493036,), (1402493044,), (1402493050,), (1402493056,), (1402493060,), (1402493092,), (1402493094,), (1402493097,), (1402493100,), (1402493144,), (1402493152,), (1402493329,), (1402493341,), (1402493344,), (1402493348,), (1402493352,), (1402493365,), (1402493389,), (1402493392,), (1402493398,), (1402493403,), (1402493406,), (1402493441,), (1402493446,), (1402493452,), (1402493479,), (1402493482,), (1402493486,), (1402493546,), (1402493548,), (1402493551,), (1402493553,), (1402493557,), (1402493561,), (1402493573,), (1402493575,), (1402493577,), (1402493583,), (1402493587,), (1402493631,), (1402493836,), (1402493844,), (1402493846,), (1402493907,), (1402493893,), (1402493894,), (1402493897,), (1402493901,), (1402493904,), (1402493929,), (1402493932,), (1402493936,), (1402493942,), (1402493945,), (1402493957,), (1402493959,), (1402493963,), (1402493966,), (1402493975,), (1402493996,), (1402493997,), (1402494000,), (1402494003,), (1402494007,), (1402494023,), (1402494024,), (1402494027,), (1402494028,), (1402494049,), (1402494050,), (1402494052,), (1402494054,), (1402494059,), (1402494078,), (1402494079,), (1402494112,), (1402494113,), (1402494115,), (1402494118,), (1402494122,), (1402494146,), (1402494147,), (1402494149,), (1402494152,), (1402494156,), (1402494159,), (1402494175,), (1402494177,), (1402494179,), (1402494182,), (1402494199,), (1402494202,), (1402494204,), (1402494208,), (1402494211,), (1402494213,), (1402494224,), (1402494234,), (1402494237,), (1402494239,), (1402494242,), (1402494245,), (1402494248,), (1402494273,), (1402494274,), (1402494276,), (1402494278,), (1402494281,), (1402494305,), (1402494307,), (1402494310,), (1402494330,), (1402494332,), (1402494335,), (1402494337,), (1402494342,), (1402494388,), (1402494374,), (1402494376,), (1402494378,), (1402494381,), (1402494385,), (1402494406,), (1402494409,), (1402494412,), (1402494502,), (1402494504,), (1402494506,), (1402494528,), (1402494530,), (1402494535,), (1402494539,), (1402494543,), (1402494560,), (1402494562,), (1402494566,), (1402494569,), (1402494572,), (1402494575,), (1402494589,), (1402494593,), (1402494597,), (1402494600,), (1402494605,), (1402494610,), (1402494617,), (1402494619,), (1402494621,), (1402494648,), (1402494650,), (1402494652,), (1402494665,), (1402494667,), (1402494669,), (1402494672,), (1402494677,), (1402494684,), (1402494720,), (1402494722,), (1402494724,), (1402494754,), (1402494757,), (1402494761,), (1402494766,), (1402494781,), (1402494785,), (1402494793,), (1402494803,), (1402494812,), (1402494815,), (1402494835,), (1402494836,), (1402494838,), (1402494841,), (1402494845,), (1402494872,), (1402494874,), (1402494876,), (1402494879,), (1402495031,), (1402495034,), (1402495039,), (1402495074,), (1402495107,), (1402495136,), (1402495250,), (1402495771,), (1402495464,), (1402495527,), (1402495592,), (1402495656,), (1402495724,), (1402496160,), (1402496207,), (1402496214,), (1402496507,), (1402496532,), (1402496559,), (1402496564,), (1402497026,), (1402497047,), (1402497068,), (1402497091,), (1402497096,), (1402497132,), (1402497135,), (1402497138,), (1402497227,), (1402497247,), (1402497250,), (1402497253,), (1402497260,), (1402497342,), (1402497347,), (1402497351,), (1402497356,), (1402497360,), (1402497363,), (1402497465,), (1402497467,), (1402497476,), (1402497482,), (1402497511,), (1402497513,), (1402497943,), (1402497826,), (1402497926,), (1402497927,), (1402498177,), (1402498179,), (1402498206,), (1402498305,), (1402498308,), (1402498310,), (1402498314,), (1402498402,), (1402498413,), (1402498449,), (1402498451,), (1402498454,), (1402498460,), (1402498467,), (1402498521,), (1402498524,), (1402498526,), (1402498529,), (1402498562,), (1402498582,), (1402498585,), (1402498589,), (1402498593,), (1402498598,), (1402498609,), (1402498611,), (1402498614,), (1402498617,), (1402498620,), (1402498624,), (1402498635,), (1402498636,), (1402498639,), (1402498686,), (1402498689,), (1402498693,), (1402498695,), (1402498709,), (1402498712,), (1402498715,), (1402498718,), (1402498721,), (1402498724,), (1402498813,), (1402498815,), (1402498820,), (1402498824,), (1402498854,), (1402498850,), (1402498851,), (1402498962,), (1402498968,), (1402498982,), (1402498999,), (1402499002,), (1402499005,), (1402499140,), (1402499162,), (1402499177,), (1402499196,), (1402499238,), (1402499244,), (1402499248,), (1402499252,), (1402499255,), (1402499259,), (1402499404,), (1402499456,), (1402499464,), (1402499481,), (1402499484,), (1402499488,), (1402499515,), (1402499517,), (1402499526,), (1402499530,), (1402499563,), (1402499581,), (1402499582,), (1402499584,), (1402499586,), (1402499589,), (1402499592,), (1402499597,), (1402499616,), (1402499618,), (1402499621,), (1402499625,), (1402499636,), (1402499652,), (1402499733,), (1402499734,), (1402499752,), (1402499814,), (1402499815,), (1402499817,), (1402499821,), (1402499826,), (1402499829,), (1402499895,), (1402499961,), (1402500024,), (1402500091,), (1402500159,), (1402500167,), (1402500174,), (1402500176,), (1402500177,), (1402500178,), (1402500184,), (1402500199,), (1402500217,), (1402500245,), (1402500251,), (1402500253,), (1402500257,), (1402500260,), (1402500282,), (1402500284,), (1402500286,), (1402500304,), (1402500333,), (1402500335,), (1402500337,), (1402500347,), (1402500361,), (1402500410,), (1402500404,), (1402500406,), (1402500440,), (1402500442,), (1402500444,), (1402500446,), (1402500451,), (1402500453,), (1402500476,), (1402500478,), (1402500479,), (1402500484,), (1402500585,), (1402500586,), (1402500588,), (1402500592,), (1402500595,), (1402500599,), (1402500607,), (1402500619,), (1402500621,), (1402500648,), (1402500650,), (1402500653,), (1402500838,), (1402500932,), (1402500940,), (1402500943,), (1402500972,), (1402500975,), (1402501014,), (1402501016,), (1402501019,), (1402501042,), (1402501046,), (1402501048,), (1402501051,), (1402501056,), (1402501080,), (1402501082,), (1402501084,), (1402501087,), (1402501091,), (1402501093,), (1402501109,), (1402501111,), (1402501114,), (1402501116,), (1402501120,), (1402501138,), (1402501140,), (1402501143,), (1402501457,), (1402501494,), (1402501527,), (1402501560,), (1402501786,), (1402501788,), (1402501790,), (1402501792,), (1402501797,), (1402505288,), (1402505289,), (1402505290,), (1402505306,), (1402505308,), (1402505309,), (1402505312,), (1402505316,), (1402505319,), (1402505325,), (1402505329,), (1402505330,), (1402505344,), (1402505346,), (1402505348,), (1402505349,), (1402505377,), (1402505379,), (1402505380,), (1402505383,), (1402505400,), (1402505401,), (1402505402,), (1402505983,), (1402506015,), (1402506305,), (1402506306,), (1402506307,), (1402506652,), (1402506653,), (1402506654,), (1402506655,), (1402506668,), (1402506669,), (1402506671,), (1402506673,), (1402506676,), (1402506728,), (1402506833,), (1402506720,), (1402506721,), (1402506722,), (1402506723,), (1402506726,), (1402506781,), (1402506788,), (1402506803,), (1402506805,), (1402506808,), (1402506814,), (1402506822,), (1402506824,), (1402506827,), (1402506843,), (1402506844,), (1402506846,), (1402506848,), (1402506850,), (1402506908,), (1402506943,), (1402506974,), (1402507004,), (1402507035,), (1402507092,), (1402507240,), (1402507273,), (1402507324,), (1402507326,), (1402507328,), (1402507330,), (1402507333,), (1402507348,), (1402507350,), (1402507352,), (1402507354,), (1402507358,), (1402507359,), (1402507372,), (1402507374,), (1402507376,), (1402507378,), (1402507419,), (1402507421,), (1402507442,), (1402507444,), (1402507446,), (1402507448,), (1402507499,), (1402507503,), (1402507505,), (1402507507,), (1402507510,), (1402507525,), (1402507526,), (1402507528,), (1402507530,), (1402507534,), (1402507537,), (1402507564,), (1402507566,), (1402507568,), (1402507570,), (1402507692,), (1402507729,), (1402507764,), (1402507798,), (1402507937,), (1402507938,), (1402507973,), (1402507977,), (1402508008,), (1402508013,), (1402508698,), (1402508759,), (1402508801,), (1402508836,), (1402508614,), (1402508647,), (1402509235,), (1402509267,), (1402509341,), (1402509473,), (1402509475,), (1402509477,), (1402509478,), (1402509483,), (1402509725,), (1402509742,), (1402510307,), (1402510308,), (1402510410,), (1402510412,), (1402510429,), (1402510432,), (1402511321,), (1402511318,), (1402511319,), (1402511353,), (1402511355,), (1402511356,), (1402511357,), (1402511360,), (1402511415,), (1402511418,), (1402511420,), (1402511522,), (1402511962,), (1402511727,), (1402511990,), (1402511997,), (1402512001,), (1402512004,), (1402512011,), (1402512031,), (1402512089,), (1402512110,), (1402512112,), (1402512114,), (1402512116,), (1402512120,), (1402512173,), (1402512151,), (1402512152,), (1402512161,), (1402512165,), (1402512194,), (1402512195,), (1402512196,), (1402512198,), (1402512388,), (1402512389,), (1402512390,), (1402512413,), (1402512414,), (1402512415,), (1402512417,), (1402512422,), (1402512438,), (1402512439,), (1402512441,), (1402512443,), (1402512447,), (1402512464,), (1402512467,), (1402512472,), (1402512476,), (1402512480,), (1402512483,), (1402512496,), (1402512497,), (1402512498,), (1402512499,), (1402512501,), (1402512521,), (1402512523,), (1402512529,), (1402512534,), (1402512536,), (1402512580,), (1402512582,), (1402512583,), (1402512611,), (1402512614,), (1402512616,), (1402512619,), (1402512623,), (1402512641,), (1402512642,), (1402512645,), (1402512646,), (1402512664,), (1402512665,), (1402512668,), (1402512671,), (1402512675,), (1402512699,), (1402512701,), (1402512704,), (1402512707,), (1402512745,), (1402512780,), (1402512816,), (1402512850,), (1402512994,), (1402513029,), (1402513064,), (1402513264,), (1402513265,), (1402513291,), (1402513296,), (1402513235,), (1402513237,), (1402513257,), (1402513263,), (1402513282,), (1402513284,), (1402513288,), (1402513310,), (1402513311,), (1402513313,), (1402513316,), (1402513320,), (1402513325,), (1402513804,), (1402513805,), (1402513808,), (1402514081,), (1402514083,), (1402514085,), (1402514088,), (1402514103,), (1402514105,), (1402514107,), (1402514109,), (1402514137,), (1402514140,), (1402514155,), (1402514176,), (1402514187,), (1402514257,), (1402514261,), (1402514267,), (1402514270,), (1402514280,), (1402514313,), (1402514314,), (1402514316,), (1402514319,), (1402514349,), (1402514351,), (1402514353,), (1402514354,), (1402514822,), (1402514826,), (1402514844,), (1402515059,), (1402515080,), (1402515081,), (1402515139,), (1402515140,), (1402515142,), (1402515143,), (1402515182,), (1402515307,), (1402515175,), (1402515177,), (1402515178,), (1402515179,), (1402515235,), (1402515267,), (1402515285,), (1402515288,), (1402515291,), (1402515296,), (1402515301,), (1402515304,), (1402515313,), (1402515333,), (1402515367,), (1402515758,), (1402515760,), (1402515762,), (1402515763,), (1402515776,), (1402515807,), (1402516043,), (1402516062,), (1402516065,), (1402516066,), (1402516197,), (1402516232,), (1402516516,), (1402516519,), (1402516531,), (1402516541,), (1402516547,), (1402516570,), (1402516576,), (1402516579,), (1402516584,), (1402516651,), (1402516655,), (1402516659,), (1402516684,), (1402516720,), (1402517027,), (1402517028,), (1402517032,), (1402517256,), (1402517257,), (1402517260,), (1402517266,), (1402517297,), (1402517553,), (1402517602,), (1402517646,), (1402517689,), (1402517749,), (1402517756,), (1402517758,), (1402517802,), (1402517805,), (1402517807,), (1402517808,), (1402517809,), (1402517810,), (1402517999,), (1402518022,), (1402518025,), (1402518048,), (1402518051,), (1402518061,), (1402518157,), (1402518127,), (1402518154,), (1402518176,), (1402518177,), (1402518180,), (1402518181,), (1402518185,), (1402518213,), (1402518215,), (1402518219,), (1402518221,), (1402518225,), (1402518247,), (1402518250,), (1402518252,), (1402518255,), (1402518299,), (1402518301,), (1402518302,), (1402518325,), (1402518331,), (1402518339,), (1402518344,), (1402518350,), (1402518392,), (1402518399,), (1402518418,), (1402518425,), (1402518429,), (1402518431,), (1402518436,), (1402518438,), (1402518443,), (1402518446,), (1402518455,), (1402518459,), (1402518461,), (1402518463,), (1402518526,), (1402518541,), (1402518546,), (1402518556,), (1402518559,), (1402518889,), (1402518890,), (1402518891,), (1402518892,), (1402518895,), (1402518914,), (1402518951,), (1402518959,), (1402518960,), (1402518961,), (1402518963,), (1402518983,), (1402519054,), (1402519061,), (1402519064,), (1402519066,), (1402519068,), (1402519109,), (1402519110,), (1402519111,), (1402519113,), (1402519117,), (1402519313,), (1402519346,), (1402519380,), (1402519414,), (1402519561,), (1402519550,), (1402519552,), (1402519554,), (1402519584,), (1402519585,), (1402519587,), (1402519591,), (1402519599,), (1402519619,), (1402519621,), (1402519622,), (1402519624,), (1402519628,), (1402519874,), (1402519878,), (1402519901,), (1402519903,), (1402519907,), (1402519995,), (1402519997,), (1402520001,), (1402520003,), (1402520007,), (1402520042,), (1402520045,), (1402520049,), (1402520051,), (1402520054,), (1402520057,), (1402520070,), (1402520071,), (1402520079,), (1402520106,), (1402520109,), (1402520112,), (1402520121,), (1402520126,), (1402520284,), (1402520285,), (1402520294,), (1402520302,), (1402520425,), (1402520458,), (1402520489,), (1402520606,), (1402520610,), (1402520612,), (1402520617,), (1402520620,), (1402520623,), (1402520634,), (1402520636,), (1402520637,), (1402520640,), (1402520645,), (1402520647,), (1402520658,), (1402520660,), (1402520661,), (1402520720,), (1402520722,), (1402520723,), (1402520726,), (1402520731,), (1402520918,), (1402520962,), (1402521002,), (1402521046,), (1402521084,), (1402521089,), (1402521159,), (1402521166,), (1402521175,), (1402521261,), (1402521262,), (1402521288,), (1402521291,), (1402521252,), (1402521254,), (1402521255,), (1402521260,), (1402521269,), (1402521273,), (1402521277,), (1402521282,), (1402521302,), (1402521303,), (1402521306,), (1402521309,), (1402521341,), (1402521343,), (1402521347,), (1402521351,), (1402521680,), (1402521714,), (1402521747,), (1402521785,), (1402521821,), (1402521852,), (1402522360,), (1402522370,), (1402522652,), (1402522654,), (1402522656,), (1402522675,), (1402522713,), (1402522749,), (1402522913,), (1402522977,), (1402523042,), (1402523072,), (1402523091,), (1402523234,), (1402523236,), (1402523238,), (1402523241,), (1402523314,), (1402523319,), (1402523326,), (1402523333,), (1402523337,), (1402523364,), (1402523368,), (1402523387,), (1402523391,), (1402528187,), (1402532830,), (1402532842,), (1402532843,), (1402532846,), (1402532847,), (1402532850,), (1402532863,), (1402532864,), (1402532866,), (1402532867,), (1402532898,), (1402532899,), (1402532901,), (1402532918,), (1402532979,), (1402532980,), (1402532982,), (1402532983,), (1402532987,), (1402533140,), (1402533163,), (1402533166,), (1402533168,), (1402533170,), (1402533173,), (1402533211,), (1402533213,), (1402533218,), (1402533333,), (1402533336,), (1402533342,), (1402533349,), (1402533327,), (1402533329,), (1402533331,), (1402533350,), (1402533351,), (1402533353,), (1402533355,), (1402533357,), (1402533368,), (1402533369,), (1402533445,), (1402533925,), (1402534235,), (1402534258,), (1402534438,), (1402534439,), (1402534440,), (1402534441,), (1402534444,), (1402534458,), (1402534461,), (1402534463,), (1402534467,), (1402534471,), (1402534502,), (1402534514,), (1402534530,), (1402534532,), (1402534534,), (1402534536,), (1402534539,), (1402534678,), (1402534711,), (1402534739,), (1402534741,), (1402534745,), (1402534765,), (1402534767,), (1402534768,), (1402534770,), (1402534774,), (1402534866,), (1402534862,), (1402534864,), (1402534901,), (1402534902,), (1402534903,), (1402534904,), (1402534906,), (1402534927,), (1402534928,), (1402534929,), (1402534951,), (1402534953,), (1402534954,), (1402534956,), (1402534958,), (1402534986,), (1402534987,), (1402534988,), (1402534989,), (1402534992,), (1402535071,), (1402535072,), (1402535074,), (1402535075,), (1402535100,), (1402535101,), (1402535103,), (1402535104,), (1402535132,), (1402535139,), (1402535143,), (1402535147,), (1402535154,), (1402535198,), (1402535200,), (1402535201,), (1402535220,), (1402535226,), (1402535252,), (1402535253,), (1402535254,), (1402535256,), (1402535288,), (1402535289,), (1402535291,), (1402535292,), (1402535309,), (1402535314,), (1402535318,), (1402535338,), (1402535341,), (1402535345,), (1402535372,), (1402535377,), (1402535379,), (1402535382,), (1402535385,), (1402535397,), (1402535409,), (1402535417,), (1402535432,), (1402535902,), (1402535865,), (1402536532,), (1402536606,), (1402536680,), (1402536736,), (1402536794,), (1402536840,), (1402537186,), (1402537187,), (1402537190,), (1402537197,), (1402537235,), (1402537549,), (1402537583,), (1402537601,), (1402537633,), (1402537635,), (1402537639,), (1402537696,), (1402537899,), (1402537907,), (1402537911,), (1402537920,), (1402537945,), (1402537948,), (1402537965,), (1402537967,), (1402537970,), (1402537990,), (1402537992,), (1402537996,), (1402538029,), (1402538031,), (1402538035,), (1402538055,), (1402538060,), (1402538163,), (1402538212,), (1402538216,), (1402538219,), (1402538222,), (1402538244,), (1402538246,), (1402538250,), (1402538253,), (1402538256,), (1402538272,), (1402538319,), (1402538330,), (1402538340,), (1402538353,), (1402538354,), (1402538355,), (1402538405,), (1402538406,), (1402538413,), (1402538476,), (1402538501,), (1402538502,), (1402538524,), (1402538526,), (1402538529,), (1402538578,), (1402538570,), (1402538571,), (1402538572,), (1402538574,), (1402538598,), (1402538600,), (1402538602,), (1402538637,), (1402538639,), (1402538642,), (1402538645,), (1402538689,), (1402538691,), (1402538696,), (1402538697,), (1402538703,), (1402538726,), (1402538728,), (1402538730,), (1402538733,), (1402538761,), (1402538763,), (1402538765,), (1402538769,), (1402538772,), (1402538834,), (1402538836,), (1402538842,), (1402538845,), (1402538850,), (1402538869,), (1402538870,), (1402538872,), (1402538874,), (1402538878,), (1402538910,), (1402538912,), (1402538915,), (1402538939,), (1402538940,), (1402538944,), (1402538947,), (1402538951,), (1402538955,), (1402538981,), (1402538986,), (1402538990,), (1402539007,), (1402539008,), (1402539027,), (1402539030,), (1402539036,), (1402539087,), (1402539104,), (1402539112,), (1402539123,), (1402539131,), (1402539134,), (1402539166,), (1402539172,), (1402539208,), (1402539211,), (1402539215,), (1402539217,), (1402539255,), (1402539246,), (1402539248,), (1402539249,), (1402539250,), (1402539253,), (1402539393,), (1402539396,), (1402539405,), (1402539441,), (1402539444,), (1402539446,), (1402539459,), (1402539463,), (1402539545,), (1402539547,), (1402539550,), (1402539552,), (1402539556,), (1402539565,), (1402539649,), (1402539654,), (1402539656,), (1402539679,), (1402539864,), (1402539871,), (1402539872,), (1402539873,), (1402540018,), (1402540058,), (1402540146,), (1402540220,), (1402540290,), (1402540369,), (1402540372,), (1402540373,), (1402540377,), (1402540382,), (1402540389,), (1402540443,), (1402540445,), (1402540453,), (1402540538,), (1402540539,), (1402540567,), (1402540570,), (1402540629,), (1402540630,), (1402540733,), (1402540772,), (1402540801,), (1402540818,), (1402540825,), (1402540898,), (1402540902,), (1402540913,), (1402540917,), (1402540930,), (1402540942,), (1402541159,), (1402541157,), (1402541158,), (1402541431,), (1402541547,), (1402541548,), (1402541549,), (1402541753,), (1402541836,), (1402541839,), (1402541862,), (1402541864,), (1402541866,), (1402541868,), (1402541947,), (1402541955,), (1402541968,), (1402541975,), (1402542075,), (1402542079,), (1402542082,), (1402542100,), (1402542105,), (1402542108,), (1402542109,), (1402542183,), (1402542184,), (1402542209,), (1402542216,), (1402542223,), (1402542225,), (1402542163,), (1402542164,), (1402542167,), (1402542168,), (1402542171,), (1402542172,), (1402542175,), (1402542176,), (1402542179,), (1402542180,), (1402542185,), (1402542186,), (1402542187,), (1402542191,), (1402542194,), (1402542198,), (1402542244,), (1402542276,), (1402542315,), (1402542317,), (1402542319,), (1402542321,), (1402542324,), (1402542328,), (1402542343,), (1402542355,), (1402542360,), (1402542364,), (1402542369,), (1402542373,), (1402542382,), (1402542384,), (1402542411,), (1402542420,), (1402542428,), (1402542431,), (1402542436,), (1402542500,), (1402542536,), (1402542568,), (1402542578,), (1402542777,), (1402542820,), (1402542999,), (1402543001,), (1402543004,), (1402543007,), (1402543011,), (1402543015,), (1402543031,), (1402543032,), (1402543034,), (1402543038,), (1402543044,), (1402543048,), (1402543074,), (1402543075,), (1402543076,), (1402543077,), (1402544566,), (1402544619,), (1402544620,), (1402544632,), (1402544666,), (1402544699,), (1402544895,), (1402544897,), (1402544907,), (1402544913,), (1402544929,), (1402544934,), (1402544941,), (1402544943,), (1402545453,), (1402545451,), (1402545452,), (1402545463,), (1402545464,), (1402545466,), (1402545476,), (1402545477,), (1402545489,), (1402545490,), (1402545492,), (1402545494,), (1402545496,), (1402545503,), (1402545504,), (1402545505,), (1402545507,), (1402545520,), (1402545521,), (1402545522,), (1402545527,), (1402545624,), (1402545625,), (1402545626,), (1402545628,), (1402545631,), (1402545656,), (1402545657,), (1402545658,), (1402545659,), (1402545670,), (1402545671,), (1402545672,), (1402545687,), (1402545691,), (1402545706,), (1402545708,), (1402545711,), (1402545713,), (1402545723,), (1402545726,), (1402545728,), (1402545731,), (1402545740,), (1402545742,), (1402545765,), (1402545767,), (1402545769,), (1402545771,), (1402545773,), (1402545774,), (1402545778,), (1402545779,), (1402545780,), (1402545781,), (1402545784,), (1402545786,), (1402545788,), (1402545790,), (1402545799,), (1402545800,), (1402545801,), (1402545803,), (1402545806,), (1402545808,), (1402545849,), (1402545850,), (1402545851,), (1402545864,), (1402545869,), (1402545935,), (1402545959,), (1402546032,), (1402546033,), (1402546034,), (1402546036,), (1402546058,), (1402546059,), (1402546060,), (1402546062,), (1402546070,), (1402546071,), (1402546072,), (1402546075,), (1402546078,), (1402546124,), (1402546125,), (1402546126,), (1402546133,), (1402546134,), (1402546135,), (1402546137,), (1402546141,), (1402546153,), (1402546154,), (1402546156,), (1402546158,), (1402546160,), (1402546162,), (1402546168,), (1402546169,), (1402546170,), (1402546186,), (1402546187,), (1402546189,), (1402546191,), (1402546194,), (1402546284,), (1402546295,), (1402546297,), (1402546300,), (1402546303,), (1402546306,), (1402546772,), (1402548246,), (1402546653,), (1402546689,), (1402546723,), (1402547732,), (1402547806,), (1402547836,), (1402547897,), (1402547964,), (1402548028,), (1402548191,), (1402548192,), (1402548215,), (1402548428,), (1402548500,), (1402548568,), (1402548630,), (1402548692,), (1402549108,), (1402549121,), (1402549538,), (1402549553,), (1402549572,), (1402549573,), (1402549576,), (1402549646,), (1402549647,), (1402549648,), (1402549649,), (1402549651,), (1402549668,), (1402549669,), (1402549670,), (1402549672,), (1402549687,), (1402550046,), (1402550075,), (1402550106,), (1402550139,), (1402550486,), (1402550597,), (1402550703,), (1402551470,), (1402551480,), (1402551512,), (1402551524,), (1402551580,), (1402552128,), (1402552194,), (1402552263,), (1402552339,), (1402552416,), (1402552454,), (1402552592,), (1402552593,), (1402552598,), (1402552603,), (1402552612,), (1402552614,), (1402552646,), (1402552865,), (1402552887,), (1402552889,), (1402552893,), (1402552927,), (1402552950,), (1402552990,), (1402553006,), (1402553010,), (1402553011,), (1402553013,), (1402553085,), (1402553086,), (1402553087,), (1402553089,), (1402553094,), (1402553123,), (1402553358,), (1402553249,), (1402553250,), (1402553262,), (1402553300,), (1402553341,), (1402553397,), (1402553398,), (1402553437,), (1402553446,), (1402553451,), (1402553459,), (1402553461,), (1402553463,), (1402553482,), (1402553484,), (1402553485,), (1402553488,), (1402553490,), (1402553492,), (1402553657,), (1402553694,), (1402553727,), (1402553794,), (1402553795,), (1402553797,), (1402553801,), (1402553803,), (1402553805,), (1402553819,), (1402553820,), (1402553821,), (1402553839,), (1402553841,), (1402553843,), (1402553845,), (1402553847,), (1402553968,), (1402553970,), (1402553974,), (1402553982,), (1402553988,), (1402554044,), (1402554046,), (1402554049,), (1402554084,), (1402554085,), (1402554086,), (1402554088,), (1402554157,), (1402554189,), (1402554222,), (1402554253,), (1402554293,), (1402554495,), (1402554499,), (1402554502,), (1402554510,), (1402554519,), (1402554573,), (1402554580,), (1402554592,), (1402554655,), (1402554657,), (1402554659,), (1402554662,), (1402554665,), (1402554668,), (1402554688,), (1402554692,), (1402557263,), (1402557244,), (1402557259,), (1402557260,), (1402557262,), (1402557270,), (1402557271,), (1402557272,), (1402557273,), (1402557294,), (1402557310,), (1402557312,), (1402557314,), (1402557316,), (1402557319,), (1402557337,), (1402557339,), (1402557341,), (1402557344,), (1402557368,), (1402557370,), (1402557373,), (1402557375,), (1402557379,), (1402557406,), (1402557408,), (1402557409,), (1402557424,), (1402557426,), (1402557428,), (1402557431,), (1402557435,), (1402557459,), (1402557460,), (1402557462,), (1402557464,), (1402557466,), (1402557478,), (1402557479,), (1402557481,), (1402557482,), (1402557485,), (1402557503,), (1402557504,), (1402557505,), (1402557508,), (1402557511,), (1402557514,), (1402557531,), (1402557533,), (1402557534,), (1402557535,), (1402557536,), (1402557539,), (1402557565,), (1402557566,), (1402557567,), (1402557570,), (1402557573,), (1402557575,), (1402557585,), (1402557587,), (1402557588,), (1402557638,), (1402557629,), (1402557630,), (1402557631,), (1402557633,), (1402557637,), (1402557651,), (1402557652,), (1402557653,), (1402557673,), (1402557679,), (1402557686,), (1402557688,), (1402557719,), (1402557720,), (1402557722,), (1402557741,), (1402557744,), (1402557746,), (1402557749,), (1402557759,), (1402557761,), (1402557764,), (1402557767,), (1402557770,), (1402557803,), (1402557804,), (1402557806,), (1402557808,), (1402557810,), (1402557811,), (1402557817,), (1402557819,), (1402557820,), (1402557824,), (1402557826,), (1402557828,), (1402557847,), (1402557849,), (1402557851,), (1402557854,), (1402557858,), (1402557861,), (1402557873,), (1402557875,), (1402557878,), (1402557879,), (1402557883,), (1402557902,), (1402557903,), (1402557904,), (1402557906,), (1402557910,), (1402557920,), (1402557921,), (1402557923,), (1402557925,), (1402557928,), (1402557931,), (1402557954,), (1402557956,), (1402557958,), (1402557982,), (1402558040,), (1402558041,), (1402558042,), (1402558043,), (1402558046,), (1402558049,), (1402558078,), (1402558088,), (1402558089,), (1402558090,), (1402558092,), (1402558127,), (1402558178,), (1402558123,), (1402558154,), (1402558162,), (1402558164,), (1402558173,), (1402558176,), (1402558203,), (1402558206,), (1402558208,), (1402558210,), (1402558228,), (1402558383,), (1402558391,), (1402558394,), (1402558396,), (1402558399,), (1402558414,), (1402558416,), (1402558418,), (1402558432,), (1402558434,), (1402558435,), (1402558437,), (1402558441,), (1402558459,), (1402558460,), (1402558461,), (1402558463,), (1402558501,), (1402558520,), (1402558521,), (1402558523,), (1402558525,), (1402558527,), (1402558529,), (1402558551,), (1402558553,), (1402558556,), (1402558559,), (1402558562,), (1402558574,), (1402558577,), (1402558578,), (1402558581,), (1402558584,), (1402558586,), (1402558604,), (1402558614,), (1402558624,), (1402558626,), (1402558627,), (1402558629,), (1402558658,), (1402558666,), (1402558674,), (1402558677,), (1402558681,), (1402558684,), (1402558719,), (1402558721,), (1402558723,), (1402558874,), (1402558876,), (1402558879,), (1402558882,), (1402558885,), (1402558887,), (1402558920,), (1402558907,), (1402558909,), (1402558912,), (1402558914,), (1402558918,), (1402558930,), (1402558936,), (1402558938,), (1402558941,), (1402558943,), (1402558967,), (1402558969,), (1402558972,), (1402558974,), (1402558977,), (1402558979,), (1402558993,), (1402558994,), (1402558996,), (1402558999,), (1402559003,), (1402559011,), (1402559041,), (1402559043,), (1402559046,), (1402559048,), (1402559051,), (1402559063,), (1402559065,), (1402559067,), (1402559070,), (1402559073,), (1402559095,), (1402559096,), (1402559098,), (1402559101,), (1402559103,), (1402559105,), (1402559110,), (1402559112,), (1402559114,), (1402559117,), (1402559119,), (1402559122,), (1402559182,), (1402559191,), (1402559201,), (1402559205,), (1402559222,), (1402559228,), (1402559318,), (1402559319,), (1402559320,), (1402559322,), (1402559326,), (1402559348,), (1402559349,), (1402559350,), (1402559368,), (1402559370,), (1402559372,), (1402559375,), (1402559379,), (1402559406,), (1402559408,), (1402559415,), (1402559418,), (1402559420,), (1402559423,), (1402560138,), (1402560198,), (1402560236,), (1402560289,), (1402560495,), (1402560529,), (1402560532,), (1402560778,), (1402561784,), (1402560541,), (1402560546,), (1402560599,), (1402560684,), (1402561475,), (1402561508,), (1402561573,), (1402561613,), (1402561660,), (1402561676,), (1402561691,), (1402561709,), (1402561718,), (1402561741,), (1402561919,), (1402561925,), (1402561928,), (1402561940,), (1402562227,), (1402562262,), (1402562295,), (1402562337,), (1402562372,), (1402562405,), (1402562661,), (1402562663,), (1402562673,), (1402562679,), (1402562717,), (1402562899,), (1402562900,), (1402562901,), (1402562903,), (1402562938,), (1402562974,), (1402563068,), (1402563115,), (1402563580,), (1402563620,), (1402563654,), (1402563656,), (1402563870,), (1402563900,), (1402563918,), (1402564036,), (1402564151,), (1402564688,), (1402564691,), (1402564693,), (1402564718,), (1402564724,), (1402565136,), (1402565138,), (1402565140,), (1402565145,), (1402565153,), (1402565220,), (1402565258,), (1402565259,), (1402565260,), (1402565261,), (1402565264,), (1402565271,), (1402565274,), (1402565276,), (1402565278,), (1402565403,), (1402565407,), (1402565428,), (1402565495,), (1402565500,), (1402565503,), (1402565520,), (1402565522,), (1402565525,), (1402565527,), (1402565531,), (1402565565,), (1402565549,), (1402565554,), (1402565557,), (1402565560,), (1402565562,), (1402565578,), (1402565580,), (1402565606,), (1402565608,), (1402565610,), (1402565613,), (1402565617,), (1402565619,), (1402565642,), (1402565650,), (1402565653,), (1402565655,), (1402565658,), (1402565856,), (1402565892,), (1402565926,), (1402565960,), (1402565996,), (1402565997,), (1402565998,), (1402565999,), (1402566001,), (1402566037,), (1402566040,), (1402566044,), (1402566051,), (1402566068,), (1402566071,), (1402566078,), (1402566079,), (1402566080,), (1402566081,), (1402566094,), (1402566096,), (1402566099,), (1402566121,), (1402566123,), (1402566318,), (1402566355,), (1402566390,), (1402566424,), (1402566460,), (1402566686,), (1402566689,), (1402566727,), (1402566736,), (1402566740,), (1402566841,), (1402566842,), (1402566843,), (1402566845,), (1402566873,), (1402566883,), (1402566885,), (1402566887,), (1402566890,), (1402566893,), (1402566903,), (1402566904,), (1402566905,), (1402566924,), (1402566927,), (1402566928,), (1402566929,), (1402566934,), (1402567073,), (1402567228,), (1402566951,), (1402566952,), (1402566978,), (1402567065,), (1402567070,), (1402567104,), (1402567106,), (1402567107,), (1402567111,), (1402567114,), (1402567116,), (1402567220,), (1402567224,), (1402567263,), (1402567265,), (1402567270,), (1402567274,), (1402567278,), (1402567305,), (1402567464,), (1402567470,), (1402567482,), (1402567488,), (1402567491,), (1402567515,), (1402567517,), (1402567519,), (1402567522,), (1402567525,), (1402567526,), (1402567532,), (1402567534,), (1402567536,), (1402567538,), (1402567543,), (1402567550,), (1402567553,), (1402567617,), (1402567619,), (1402567620,), (1402567622,), (1402567648,), (1402567651,), (1402567654,), (1402567663,), (1402567667,), (1402567693,), (1402567707,), (1402567710,), (1402567713,), (1402567715,), (1402567717,), (1402567733,), (1402567735,), (1402567737,), (1402567740,), (1402567743,), (1402567746,), (1402567763,), (1402567764,), (1402567765,), (1402567766,), (1402567768,), (1402567771,), (1402567774,), (1402567777,), (1402567786,), (1402567787,), (1402567788,), (1402567790,), (1402567793,), (1402567795,), (1402567806,), (1402567809,), (1402567813,), (1402567849,), (1402567850,), (1402567853,), (1402567856,), (1402567859,), (1402567902,), (1402567905,), (1402567911,), (1402567914,), (1402567915,), (1402567916,), (1402567875,), (1402567878,), (1402567895,), (1402567899,), (1402567917,), (1402567919,), (1402567921,), (1402567953,), (1402567954,), (1402567955,), (1402567957,), (1402567959,), (1402568137,), (1402568140,), (1402568142,), (1402568145,), (1402568148,), (1402568159,), (1402568161,), (1402568164,), (1402568171,), (1402568216,), (1402568219,), (1402568222,), (1402568225,), (1402568227,), (1402568229,), (1402568235,), (1402568236,), (1402568237,), (1402568238,), (1402568243,), (1402568245,), (1402568247,), (1402568266,), (1402568268,), (1402568270,), (1402568273,), (1402568276,), (1402568278,), (1402568321,), (1402568326,), (1402568330,), (1402568333,), (1402568364,), (1402568352,), (1402568355,), (1402568357,), (1402568360,), (1402568501,), (1402568534,), (1402568567,), (1402568602,), (1402568636,), (1402569311,), (1402569354,), (1402569446,), (1402569683,), (1402569716,), (1402569749,), (1402569781,), (1402569793,), (1402569795,), (1402569943,), (1402569957,), (1402569961,), (1402569964,), (1402569967,), (1402569986,), (1402569988,), (1402569991,), (1402569994,), (1402569997,), (1402569999,), (1402570010,), (1402570011,), (1402570012,), (1402570016,), (1402570019,), (1402570021,), (1402570024,), (1402570027,), (1402570029,), (1402570048,), (1402570050,), (1402570052,), (1402570055,), (1402570059,), (1402570060,), (1402570068,), (1402570070,), (1402570072,), (1402570075,), (1402570125,), (1402570127,), (1402570144,), (1402570156,), (1402570170,), (1402570196,), (1402570198,), (1402570200,), (1402570203,), (1402570206,), (1402570262,), (1402570265,), (1402570269,), (1402570272,), (1402570275,), (1402570277,), (1402570282,), (1402570283,), (1402570296,), (1402570308,), (1402570335,), (1402570375,), (1402570411,), (1402570458,), (1402570488,), (1402570504,), (1402570512,), (1402570514,), (1402570518,), (1402570646,), (1402570679,), (1402570685,), (1402570946,), (1402570977,), (1402570978,), (1402570979,), (1402570892,), (1402570926,), (1402570931,), (1402570935,), (1402570939,), (1402571066,), (1402571072,), (1402571088,), (1402571091,), (1402571094,), (1402571130,), (1402571132,), (1402571134,), (1402571209,), (1402571221,), (1402571223,), (1402571226,), (1402571230,), (1402571531,), (1402571545,), (1402571547,), (1402571550,), (1402571554,), (1402571555,), (1402571566,), (1402571568,), (1402571582,), (1402571588,), (1402571620,), (1402571623,), (1402571624,), (1402571628,), (1402571631,), (1402571633,), (1402571638,), (1402571639,), (1402571640,), (1402571641,), (1402571646,), (1402571649,), (1402571653,), (1402571663,), (1402571671,), (1402571673,), (1402571726,), (1402571755,), (1402571757,), (1402571879,), (1402571881,), (1402571883,), (1402571886,), (1402571890,), (1402571938,), (1402571941,), (1402571944,), (1402571947,), (1402571969,), (1402572003,), (1402572028,), (1402572029,), (1402572030,), (1402572032,), (1402572034,), (1402572040,), (1402572175,), (1402572176,), (1402572181,), (1402572185,), (1402572195,), (1402572211,), (1402572220,), (1402572223,), (1402572225,), (1402572228,), (1402572231,), (1402572234,), (1402572263,), (1402572265,), (1402572268,), (1402572271,), (1402572297,), (1402572367,), (1402572293,), (1402572295,), (1402572351,), (1402572353,), (1402572355,), (1402572358,), (1402572361,), (1402572363,), (1402572369,), (1402572371,), (1402572373,), (1402572375,), (1402572413,), (1402572415,), (1402572416,), (1402572418,), (1402572421,), (1402572441,), (1402572443,), (1402572446,), (1402572447,), (1402572464,), (1402572467,), (1402572469,), (1402572472,), (1402572475,), (1402572478,), (1402572482,), (1402572483,), (1402572525,), (1402572531,), (1402572534,), (1402572537,), (1402572540,), (1402572543,), (1402572564,), (1402572571,), (1402572594,), (1402572596,), (1402572602,), (1402572605,), (1402572635,), (1402572642,), (1402572644,), (1402572647,), (1402572690,), (1402572702,), (1402572712,), (1402572721,), (1402572736,), (1402572757,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05012026': {'nb_upload': 38, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29949468]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1402497943, 1402497513, 1402497511, 1402497482, 1402497476, 1402497467, 1402497465, 1402497363, 1402497360, 1402497356, 1402497351, 1402497347, 1402497342, 1402497260, 1402497253, 1402497250, 1402497247, 1402497227, 1402497138, 1402497135, 1402497132, 1402497096, 1402497091, 1402497068, 1402497047, 1402497026, 1402496564, 1402496559, 1402496532, 1402496507, 1402496214, 1402496207, 1402496160, 1402495724, 1402495656, 1402495592, 1402495527, 1402495464] map_info['map_portfolio_photo'] : {29949468: [1402497943, 1402497513, 1402497511, 1402497482, 1402497476, 1402497467, 1402497465, 1402497363, 1402497360, 1402497356, 1402497351, 1402497347, 1402497342, 1402497260, 1402497253, 1402497250, 1402497247, 1402497227, 1402497138, 1402497135, 1402497132, 1402497096, 1402497091, 1402497068, 1402497047, 1402497026, 1402496564, 1402496559, 1402496532, 1402496507, 1402496214, 1402496207, 1402496160, 1402495724, 1402495656, 1402495592, 1402495527, 1402495464]} final : True mtd_id 4302 list_pids : [1402497943, 1402497513, 1402497511, 1402497482, 1402497476, 1402497467, 1402497465, 1402497363, 1402497360, 1402497356, 1402497351, 1402497347, 1402497342, 1402497260, 1402497253, 1402497250, 1402497247, 1402497227, 1402497138, 1402497135, 1402497132, 1402497096, 1402497091, 1402497068, 1402497047, 1402497026, 1402496564, 1402496559, 1402496532, 1402496507, 1402496214, 1402496207, 1402496160, 1402495724, 1402495656, 1402495592, 1402495527, 1402495464] Looping around the photos to save general results len do output : 1 /29949468Didn'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, '4315819') ('4302', '29949468', '1402497943', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497513', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497511', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497482', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497476', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497467', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497465', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497363', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497360', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497356', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497351', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497347', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497342', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497260', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497253', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497250', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497247', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497227', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497138', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497135', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497132', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497096', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497091', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497068', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497047', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402497026', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496564', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496559', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496532', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496507', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496214', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496207', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402496160', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495724', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495656', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495592', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495527', None, None, None, None, None, '4315819') ('4302', None, None, None, None, None, None, None, '4315819') ('4302', '29949468', '1402495464', None, None, None, None, None, '4315819') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '29949468', 'None', None, None, None, None, '4315819'), ('4302', '29949468', '1402497943', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497513', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497511', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497482', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497476', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497467', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497465', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497363', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497360', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497356', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497351', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497347', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497342', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497260', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497253', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497250', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497247', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497227', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497138', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497135', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497132', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497096', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497091', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497068', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497047', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402497026', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496564', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496559', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496532', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496507', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496214', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496207', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402496160', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402495724', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402495656', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402495592', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402495527', None, None, None, None, None, '4315819'), ('4302', '29949468', '1402495464', None, None, None, None, None, '4315819')] time used for this insertion : 0.02099895477294922 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.470375061035156 time spend to save output : 0.021351337432861328 total time spend for step 5 : 5.491726398468018 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 (4315819) 3.02user 2.72system 0:24.15elapsed 23%CPU (0avgtext+0avgdata 174568maxresident)k 600inputs+38008outputs (2major+83474minor)pagefaults 0swaps